pT.getSubTable: Extract a sub-table from a pensionTable

Description Usage Arguments Details

View source: R/utilityFunctions.R

Description

This function pT.getSubTable allows access to the individual components of a pension table. In contrast to a "normal" mortalityTable, which describes probablilities for only mortality or a single population, a pension table describes transition probabilities for other states, too:

Usage

1
pT.getSubTable(table, subtable = "qx")

Arguments

table

a pensionTable object

subtable

the key describing the desired subtable (see above for the full list)

Details

The corresponding transition probabilities are:

qx

mortality $q^a_x$ of actives (probability of death)

ix

morbidity $i_x$ of actives (probability occupational disability)

qix

mortality $q^i_x$ of disabled (probability of death)

rx

reactivation $r_x$ of invalids (probability of becoming active again)

qpx

mortality $q^p_x$ of old-age pensioners

qgx

mortality $q^g_x$ of the whole population (including actives and disabled)

hx

probability $h_x$ of leaving a widow/widower when dying at age $x$

yx

average age $y(x)$ of surviving widow/widower when dying at age $x$

qwx

mortality $q^w_x$ of widows

The function pT.getSubTable extracts a single transition probability from the pension table, using the keys given above. The returned object is also a mortalityTable object.


kainhofer/r-mortality-tables documentation built on Dec. 17, 2020, 3:53 a.m.