ineq_rel_eta_dag: ineq_rel_edag

View source: R/indices.R

ineq_rel_eta_dagR Documentation

ineq_rel_edag

Description

Calculate a lifetable column for the elasticity of age at death, which is analogous to the Keyfitz-Leser H measure.

Usage

ineq_rel_eta_dag(age, dx, lx, ex, ax, check = TRUE, distribution_type = "aad")

Arguments

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

Details

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.

References

\insertRef

keyfitz1977mortalityLifeIneq \insertRefleser1955variationsLifeIneq

See Also

MortalityLaws::MortalityLaw

ungroup::pclm

MortalitySmooth::Mort1Dsmooth

Examples


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]

alysonvanraalte/LifeIneq documentation built on March 12, 2024, 1:42 p.m.