% 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{Account-value path for Type A universal life}
\usage{
AV_path_ul_typeA(G, r, e, qx, ic, B, iq = ic, AV0 = 0)
}
\arguments{
\item{G}{Premium vector \eqn{G_t}.}

\item{r}{Percent-of-premium expense vector \eqn{r_t}.}

\item{e}{Fixed expense vector \eqn{e_t}.}

\item{qx}{Mortality vector \eqn{q_{x+t-1}}.}

\item{ic}{Credited interest rate vector \eqn{i^c}.}

\item{B}{Fixed death benefit face amount.}

\item{iq}{Interest rate vector \eqn{i^q} used in cost of insurance.
Defaults to \code{ic}.}

\item{AV0}{Initial account value. Defaults to 0.}
}
\value{
A data frame with columns \code{t}, \code{premium}, \code{AV}.
}
\description{
Computes the year-by-year account value roll-forward for Type A universal
life using the explicit form in Equation (16.8), or Equation (16.9) when
\eqn{i^q = i^c}.
}
\examples{
qx <- c(.00076, .00081, .00085, .00090, .00095)
r <- c(.75, .10, .10, .10, .10)
e <- c(100, 20, 20, 20, 20)
G <- rep(5000, 5)

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

}
