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

View source: R/utilityFunctions.R

pT.getSubTableR Documentation

Extract a sub-table from a pensionTable

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:

  • active population (i.e. not disabled, not retired)

  • disabled population (occupational disability)

  • old-age pensioners

  • widows/widowers

Usage

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.


MortalityTables documentation built on Nov. 2, 2023, 5:52 p.m.