% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chapter16_universal_life.R
\name{AV_path_ul_typeA}
\alias{AV_path_ul_typeA}
\title{Type A universal life account-value path}
\usage{
AV_path_ul_typeA(G, r, e, qx, ic, B, iq = ic, AV0 = 0)
}
\arguments{
\item{G}{Premium amount by period.}

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

\item{e}{Fixed expense by period.}

\item{qx}{Mortality probability by period.}

\item{ic}{Credited annual effective interest rate by period. Values must be
greater than \code{-1}.}

\item{B}{Face amount by period.}

\item{iq}{Interest rate used in the cost-of-insurance calculation. Defaults
to \code{ic}; values must be greater than \code{-1}.}

\item{AV0}{Nonnegative scalar initial account value.}
}
\value{
A data frame containing the policy duration, premium, and account
  value.
}
\description{
Computes a year-by-year Type A universal life account-value path. The death
benefit is fixed, so the net amount at risk depends on the ending account
value and the roll-forward is solved explicitly each period.
}
\examples{
qx <- c(0.00076, 0.00081, 0.00085, 0.00090, 0.00095)
r <- c(0.75, rep(0.10, 4))
e <- c(100, rep(20, 4))

AV_path_ul_typeA(
  G = 5000,
  r = r,
  e = e,
  qx = qx,
  ic = 0.03,
  B = 100000
)

}
