Decomp_sullivan {LongDecompHE} | R Documentation |
Two-dimensional decomposition of the difference between the two cohort HE by age and cause
Description
This function implements the two-dimensional stepwise replacement decomposition algorithm (Andreev et al., 2002) to quantify age-cause-specific effect of mortality and disability to the difference in cohort health expectancy between two populations, based on longitudinal attribution results.
Usage
Decomp_sullivan(attribution1, attribution2)
Arguments
attribution1 |
A list returned by |
attribution2 |
A list returned by |
Value
A list including matrices of mortality effects, disability effects, and total effects, as well as cohort HE and LE for each population.
Examples
data(attributionA)
data(attributionB)
summary(attributionA)
summary(attributionB)
decom_results <- Decomp_sullivan(attribution1=attributionA,attribution2=attributionA)
summary(decom_results)
[Package LongDecompHE version 0.1.0 Index]