LifeTable¶
Commutation functions and actuarial notations
The LifeTable space includes Cells to calculate
commutation functions and actuarial notations for given
Sex, IntRate and MortalityTable. MortalityTable and
Sex are used in qx() below to identify
the mortality rates to be applied.
Example
An example of LifeTable in the simplelife model:
>>> space = simplelife.LifeTable
>>> space.Sex = 'M'
>>> space.IntRate = 0.03
>>> space.MortalityTable = lambda sex, x: 0.001 if x < 110 else 1
>>> space.AnnDuenx(40, 10)
References
Project Templates
This module is included in the following project templates.
References in Sub
- Sex¶
‘M’ or ‘F’ to indicate male or female column in the mortality table.
- IntRate¶
The constant interest rate for discounting.
- MortalityTable¶
The ultimate mortality table by sex and age.
Cells
|
The present value of an annuity-due. |
|
The present value of a lifetime annuity due. |
|
The present value of a lifetime assurance on a person at age |
|
The present value of an assurance on a person at age |
|
The commutation column \(\overline{C_x}\). |
|
The commutation column \(D_{x} = l_{x}v^{x}\). |
|
The value of an endowment on a person at age |
|
The commutation column \(M_x\). |
|
The commutation column \(N_x\). |
|
The discount factor \(v = 1/(1 + i)\). |
|
The number of persons who die between ages |
|
The number of persons remaining at age |
|
Probability that a person at age |
- AnnDuenx(x, n, k=1, f=0)[source]¶
The present value of an annuity-due.
\[\require{enclose}{}_{f|}\ddot{a}_{x:\enclose{actuarial}{n}}^{(k)}\]- Parameters
x (int) – age
n (int) – length of annuity payments in years
k (int, optional) – number of split payments in a year
f (int, optional) – waiting period in years
- AnnDuex(x, k, f=0)[source]¶
The present value of a lifetime annuity due.
- Parameters
x (int) – age
k (int, optional) – number of split payments in a year
f (int, optional) – waiting period in years
- Ax(x, f=0)[source]¶
The present value of a lifetime assurance on a person at age
xpayable immediately upon death, optionally with an waiting period offyears.\[\require{enclose}{}_{f|}\overline{A}_{x}\]
- Axn(x, n, f=0)[source]¶
The present value of an assurance on a person at age
xpayable immediately upon death, optionally with an waiting period offyears.\[\require{enclose}{}_{f|}\overline{A}^{1}_{x:\enclose{actuarial}{n}}\]