ineq_rel_eta_dag | R Documentation |
Calculate a lifetable column for the elasticity of age at death, which is analogous to the Keyfitz-Leser H
measure.
ineq_rel_eta_dag(age, dx, lx, ex, ax, check = TRUE, distribution_type = "aad")
age |
numeric. vector of lower age bounds. |
dx |
numeric. vector of the lifetable death distribution. |
lx |
numeric. vector of the lifetable survivorship. |
ex |
numeric. vector of remaining life expectancy. |
ax |
numeric. vector of the average time spent in the age interval of those dying within the interval. |
check |
logical. Shall we perform basic checks on input vectors? Default TRUE |
This method is implemented for the sake of completeness, since e^\dagger
and H
give the absolute and relative shortfall metrics, we've included eta_dag
and rel_eta_dag
to give age-at-death versions of these. We're not aware of anyone having used this formulation, and we do not offer a demographic interpretation of the scale of this metric, but we do point out that the conditional shape over age is qualitatively similar to other conditional relative measures from attainment (achieved age) distributions.
keyfitz1977mortalityLifeIneq \insertRefleser1955variationsLifeIneq
MortalityLaws::MortalityLaw
ungroup::pclm
MortalitySmooth::Mort1Dsmooth
data(LT)
# A vector containing the conditional rel_eta_dag values
H = ineq_rel_edag(age=LT$Age,dx=LT$dx,lx=LT$lx,ex=LT$ex,ax=LT$ax)
# The H from birth
H[1]
# The H conditional upon survival to age 10
H[11]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.