Skip to contents

Years of Life Lost (YLL) calculation

Usage

yll(
  Dx,
  type = c("yll", "yll.p", "yll.r", "asyr"),
  age.int = 5,
  Dx_all = NULL,
  pop = NULL,
  w = NULL
)

Arguments

Dx

Array with the number of deaths.

type

Character. Type of YLL to calculate. See details section.

age.int

Numeric. Age interval of Dx. Can be 1 or 5.

Dx_all

Array with the number of all deaths. Used only with yll.p type, where Dx is array with cause-specific deaths.

pop

Array with population. Used only with yll.r and asyr types.

w

Array with population weights for direct standardization. Used only with asyr type.

Value

list with values.

Details

Possible YLL types:

  1. Absolute number of YLL - yll type.

  2. YLL as proportion - yll.p type.

  3. YLL rate - yll.r type.

  4. Age-standardized YLL rate - asyr type. For more details see github page.

References

Martinez, R., Soliz, P., Caixeta, R., & Ordunez, P. (2019). Reflection on modern methods: years of life lost due to premature mortality—a versatile and comprehensive measure for monitoring non-communicable disease mortality. International Journal of Epidemiology, 48, 1367–1376.