% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multilife_ch12_ext.R
\name{continuous_multilife_insurance}
\alias{continuous_multilife_insurance}
\alias{Abarxy}
\alias{Abarxybar}
\alias{Abarxy1}
\alias{Abaryx1}
\alias{Abarxy2}
\alias{Abaryx2}
\title{Continuous multi-life insurance}
\usage{
Abarxy(x, y, i, tbl = NULL, model = NULL, ...)

Abarxybar(x, y, i, tbl = NULL, model = NULL, ...)

Abarxy1(x, y, i, tbl = NULL, model = NULL, ...)

Abaryx1(x, y, i, tbl = NULL, model = NULL, ...)

Abarxy2(x, y, i, tbl = NULL, model = NULL, ...)

Abaryx2(x, y, i, tbl = NULL, model = NULL, ...)
}
\arguments{
\item{x}{Age of the first life. May be scalar or vector.}

\item{y}{Age of the second life. May be scalar or vector.}

\item{i}{Effective annual interest rate. May be scalar or vector.}

\item{tbl}{Optional life table object retained for backward compatibility.
Continuous calculations currently require \code{model}.}

\item{model}{Parametric survival model.}

\item{...}{Additional parameters passed to the survival and hazard
functions.}
}
\value{
A numeric vector of actuarial present values.
}
\description{
Computes continuous joint-life, last-survivor, and contingent whole-life
insurance values for two independent lives.
}
\details{
\code{Abarxy()} computes joint-life insurance payable at the first death.

\code{Abarxybar()} computes last-survivor insurance payable at the second
death.

\code{Abarxy1()} and \code{Abaryx1()} compute contingent insurance payable
when the specified life dies first.

\code{Abarxy2()} and \code{Abaryx2()} compute contingent insurance payable
when the specified life dies second.

These functions require a parametric survival model.


Under independence, \code{Abarxy()} represents insurance payable at the
first death and \code{Abarxybar()} represents insurance payable at the
second death.

The contingent functions distinguish both the life whose death triggers
payment and whether that death occurs first or second.
}
\examples{
Abarxy(
  x = 40,
  y = 50,
  i = 0.05,
  model = "uniform",
  omega = 100
)

Abarxy1(
  x = 40,
  y = 50,
  i = 0.05,
  model = "uniform",
  omega = 100
)

}
