Learn R Programming

⚠️There's a newer version (1.3.12) of this package.Take me there.

The lifecontingencies package

Classes and methods for managing life tables (for single and multiple decrements) and actuarial tables. Moreover, functions to easily perform demographic, financial and actuarial mathematics on life contingencies insurances calculations are contained therein.

Install the current release from CRAN:

install.packages('lifecontingencies')

Install the development version from GitHub:

devtools::install_github('spedygiorgio/lifecontingencies')

Copy Link

Version

Install

install.packages('lifecontingencies')

Monthly Downloads

1,183

Version

1.3.9

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Giorgio Spedicato

Last Published

June 10th, 2022

Functions in lifecontingencies (1.3.9)

DAxn

Decreasing life insurance
AExn

Function to evaluate the n-year endowment insurance
Axn

Function to evaluate life insurance.
axn

Annuity immediate and due function.
increasingAnnuity

Increasing annuity.
Axn.mdt

Multiple decrement life insurance
getOmega

Function to return the terminal age of a life table.
multiple life probabilities

Functions to deals with multiple life models
annuity

Annuity function
actuarialtable-class

Class "actuarialtable"
getDecrements

Function to return the decrements defined in the mdt class
getLifecontingencyPv

Functions to obtain the present value of a life contingency given the time to death
demoIta

Italian population life tables for males and females
demoGermany

German population life tables
demoFrance

French population life tables
lifetable-class

Class "lifetable"
mdt-class

Class "mdt"
Exn

Function to evaluate the pure endowment
mxt

Central mortality rate
interest2Discount

Functions to switch from interest to discount rates
probs2lifetable

Life table from probabilities
demoUsa

United States Social Security life tables
mx2qx

Mortality rates to Death probabilities
presentValue

Compute the present value of a series of cash flows
rLifes

Function to generate random future lifetimes
rmdt

Simulate from a multiple decrement table
SoAISTdata

SoA illustrative service table
pxt

Functions to evaluate survival, death probabilities and deaths.
Uk life tables

Uk AM AF 92 life tables
de_angelis_di_falco

Italian Health Insurance Data
axyn

Functions to evaluate life insurance and annuities on two heads.
duration

Functions to evaluate duration and convexity
soaLt

Society of Actuaries life table
intensity2Interest

Functions to switch from interest to intensity and vice versa.
decreasingAnnuity

Function to evaluate decreasing annuities.
demoUk

UK life tables
demoCanada

Canada Mortality Rates for UP94 Series
demoJapan

Japan Mortality Rates for life table construction
accumulatedValue

Function to evaluate the accumulated value.
pxyt

Functions to evaluate joint survival probabilities.
lifecontingencies-package

Package to perform actuarial mathematics on life contingencies and classical financial mathematics calculations.
exn

Expected residual life.
qxt.prime.fromMdt

Return Associated single decrement from absolute rate of decrement
rLifeContingencies

Function to generate samples from the life contingencies stochastic variables
soa08

Society of Actuaries Illustrative Life Table object.
qx2mx

Death Probabilities to Mortality Rates
soa08Act

Society of Actuaries Illustrative Life Table with interest rate at 6
Lxt

Various demographic functions
nominal2Real

Functions to switch from nominal / effective / convertible rates
Iaxn

Increasing annuity life contingencies
IAxn

Increasing life insurance
Isn

Function to calculated accumulated increasing annuity future value.
demoChina

China Mortality Rates for life table construction
Axyzn

Multiple lifes insurances and annuities