mx2qx {lifecontingencies} | R Documentation |
Function to convert mortality rates to probabilities of death
mx2qx(mx, ax = 0.5)
mx |
mortality rates vector |
ax |
the average number of years lived between ages x and x +1 by individuals who die in that interval |
Function to convert mortality rates to probabilities of death
A vector of death probabilities
mxt
, qxt
, qx2mx
#using some recursion
qx2mx(mx2qx(.2))