% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chapter17_profit_analysis.R
\name{Pi_signature}
\alias{Pi_signature}
\title{Profit signature from a profit vector}
\usage{
Pi_signature(Pr, p_tau)
}
\arguments{
\item{Pr}{Profit vector of length \eqn{n+1}.}

\item{p_tau}{One-year in-force probabilities. This may have length
\eqn{n-1} or \eqn{n}. If length \eqn{n}, the final entry is ignored for
the profit-signature calculation.}
}
\value{
Numeric vector of length \eqn{n+1}.
}
\description{
Converts a Chapter 17 profit vector
\eqn{\mathbf{Pr}=(Pr_0,\dots,Pr_n)}
into the corresponding profit signature
\eqn{\mathbf{\Pi}=(\Pi_0,\dots,\Pi_n)}
using Equation (17.3).
}
\examples{
Pr <- c(-15.00, 8.42, 8.40, 8.61)
Pi_signature(Pr, p_tau = c(0.99858, 0.99847, 0.99834))

}
