% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mortality_improvement.R
\name{tpx_improved}
\alias{tpx_improved}
\title{Multi-year survival probability under mortality improvement}
\usage{
tpx_improved(x0, n, qx_base_vec, AAx_vec, base_year, issue_year)
}
\arguments{
\item{x0}{Issue age.}

\item{n}{Number of years.}

\item{qx_base_vec}{Base-year one-year death probabilities for successive ages.}

\item{AAx_vec}{Mortality improvement factors for successive ages.}

\item{base_year}{Base year.}

\item{issue_year}{Issue year.}
}
\value{
Numeric scalar.
}
\description{
Computes survival over \code{n} years starting at age \code{x0} in year
\code{issue_year}, using base-year mortality \code{qx_base_vec} and
improvement factors \code{AAx_vec}.
}
\details{
The vectors should correspond to ages
\code{x0, x0+1, ..., x0+n-1}.

The survival probability is
\deqn{\prod_{j=0}^{n-1} \left(1 - q_{x+j}^{[issue\_year+j]}\right)}.
}
