Learn R Programming

⚠️There's a newer version (1.4.4) 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,701

Version

1.3.10

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Giorgio Spedicato

Last Published

May 6th, 2023

Functions in lifecontingencies (1.3.10)

Isn

Function to calculated accumulated increasing annuity future value.
demoGermany

German population life tables
Axyzn

Multiple lifes insurances and annuities
demoIta

Italian population life tables for males and females
decreasingAnnuity

Function to evaluate decreasing annuities.
getOmega

Function to return the terminal age of a life table.
increasingAnnuity

Increasing annuity.
duration

Compute the duration or the convexity of a series of CF
exn

Expected residual life.
Axn.mdt

Multiple decrement life insurance
Exn

Function to evaluate the pure endowment
annuity

Annuity function
pxt

Functions to evaluate survival, death probabilities and deaths.
actuarialtable-class

Class "actuarialtable"
multiple life probabilities

Functions to deals with multiple life models
accumulatedValue

Function to evaluate the accumulated value.
IAxn

Increasing life insurance
demoCanada

Canada Mortality Rates for UP94 Series
Uk life tables

Uk AM AF 92 life tables
demoJapan

Japan Mortality Rates for life table construction
Iaxn

Increasing annuity life contingencies
demoUk

UK life tables
axyn

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

Italian Health Insurance Data
axn

Annuity immediate and due function.
qxt.prime.fromMdt

Return Associated single decrement from absolute rate of decrement
rLifeContingencies

Function to generate samples from the life contingencies stochastic variables
Axn

Function to evaluate life insurance.
mdt-class

Class "mdt"
SoAISTdata

SoA illustrative service table
lifetable-class

Class "lifetable"
mx2qx

Mortality rates to Death probabilities
pxyt

Functions to evaluate joint survival probabilities.
mxt

Central mortality rate
qx2mx

Death Probabilities to Mortality Rates
soaLt

Society of Actuaries life table
interest2Discount

Functions to switch from interest to discount rates
demoUsa

United States Social Security life tables
presentValue

Present value of a series of cash flows.
probs2lifetable

Life table from probabilities
intensity2Interest

Functions to switch from interest to intensity and vice versa.
lifecontingencies-package

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

China Mortality Rates for life table construction
demoFrance

French population life tables
nominal2Real

Functions to switch from nominal / effective / convertible rates
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
rLifes

Function to generate random future lifetimes
Lxt

Various demographic functions
soa08

Society of Actuaries Illustrative Life Table object.
rmdt

Simulate from a multiple decrement table
soa08Act

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

Function to evaluate the n-year endowment insurance
DAxn

Decreasing life insurance