% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chapter18_pensions.R
\name{PAB_cae}
\alias{PAB_cae}
\title{Projected annual benefit under a career average earnings DB plan}
\usage{
PAB_cae(x, z, CASx, p, past_salary_total = 0, g = NULL, s = NULL)
}
\arguments{
\item{x}{Current or entry age.}

\item{z}{Retirement age.}

\item{CASx}{Current annual salary at age \code{x}.}

\item{p}{Accrual percentage, e.g. \code{1} for 1 percent.}

\item{past_salary_total}{Optional total of actual past salaries.}

\item{g}{Optional constant annual salary growth rate.}

\item{s}{Optional salary scale vector of length \code{z - x}.}
}
\value{
Projected annual benefit.
}
\description{
Computes the projected annual benefit for a CAE plan using Equation (18.9).
}
\examples{
PAB_cae(x = 30, z = 65, CASx = 100000, p = 1, g = 0.04)
}
