% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chapter17_profit_analysis.R
\name{V_zeroized}
\alias{V_zeroized}
\title{Zeroized reserves for a discrete death-benefit contract}
\usage{
V_zeroized(qx, i, G, benefit, r = 0, e = 0, V_terminal = 0, floor_zero = TRUE)
}
\arguments{
\item{qx}{Mortality probability by policy year.}

\item{i}{Annual effective interest rate by policy year. Values must be
greater than \code{-1}.}

\item{G}{Gross premium by policy year.}

\item{benefit}{Death benefit by policy year.}

\item{r}{Percent-of-premium expense rate by policy year. Values must lie in
\code{[0, 1]}.}

\item{e}{Fixed expense by policy year.}

\item{V_terminal}{Nonnegative scalar terminal reserve.}

\item{floor_zero}{Logical scalar. If \code{TRUE}, negative reserves are
replaced by zero.}
}
\value{
A named numeric vector of length \code{length(qx) + 1}.
}
\description{
Computes reserves backward by setting expected profit in each policy year
equal to zero. Negative reserves may optionally be floored at zero.
}
\examples{
V_zeroized(
  qx = c(0.015, 0.017, 0.019, 0.021, 0.024),
  i = 0.06,
  G = 19279,
  benefit = 1000000,
  e = 240
)

}
