Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Mar 6;15(3):e0228073.
doi: 10.1371/journal.pone.0228073. eCollection 2020.

lillies: An R package for the estimation of excess Life Years Lost among patients with a given disease or condition

Affiliations

lillies: An R package for the estimation of excess Life Years Lost among patients with a given disease or condition

Oleguer Plana-Ripoll et al. PLoS One. .

Abstract

Life expectancy at a given age is a summary measure of mortality rates present in a population (estimated as the area under the survival curve), and represents the average number of years an individual at that age is expected to live if current age-specific mortality rates apply now and in the future. A complementary metric is the number of Life Years Lost, which is used to measure the reduction in life expectancy for a specific group of persons, for example those diagnosed with a specific disease or condition (e.g. smoking). However, calculation of life expectancy among those with a specific disease is not straightforward for diseases that are not present at birth, and previous studies have considered a fixed age at onset of the disease, e.g. at age 15 or 20 years. In this paper, we present the R package lillies (freely available through the Comprehensive R Archive Network; CRAN) to guide the reader on how to implement a recently-introduced method to estimate excess Life Years Lost associated with a disease or condition that overcomes these limitations. In addition, we show how to decompose the total number of Life Years Lost into specific causes of death through a competing risks model, and how to calculate confidence intervals for the estimates using non-parametric bootstrap. We provide a description on how to use the method when the researcher has access to individual-level data (e.g. electronic healthcare and mortality records) and when only aggregated-level data are available.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. R Output 1.
Fig 2
Fig 2
Conditional survival curves (a, b and c), stacked cumulative incidence for all-cause mortality (a) and stacked cause-specific cumulative incidences for natural and unnatural causes of deaths (b and c) for persons with a diagnosis of the disease and alive at age 45 years. Fig 2C is the same as Fig 2B but changing the colors and the x axis label. Details on how to interpret these figures are available in S1 Appendix.
Fig 3
Fig 3. R Output 2.
Fig 4
Fig 4. R Output 3.
Fig 5
Fig 5. R Output 4.
Fig 6
Fig 6. R Output 5.
Fig 7
Fig 7. R Output 6.
Fig 8
Fig 8
Survival curves and stacked cause-specific cumulative incidences for natural and unnatural causes of deaths for persons with a diagnosis of the disease (left panel) and the general population (right panel) alive at age 45 years. Details on how to interpret these figures are available in S1 Appendix.
Fig 9
Fig 9. R Output 7.
Fig 10
Fig 10. R Output 8.
Fig 11
Fig 11. R Output 9.
Fig 12
Fig 12. R Output 10.
Fig 13
Fig 13. R Output 11.
Fig 14
Fig 14. R Output 12.
Fig 15
Fig 15
Survival curve and stacked cumulative incidence for mortality for persons with a diagnosis of the disease (left panel) and the general population (right panel) alive at age 70 years. Details on how to interpret these figures are available in S1 Appendix.
Fig 16
Fig 16. R Output 13.

References

    1. Dicker D, Nguyen G, Abate D, Abate KH, Abay SM, Abbafati C, et al. Global, regional, and national age-sex-specific mortality and life expectancy, 1950–2017: a systematic analysis for the Global Burden of Disease Study 2017. Lancet. 2018;392: 1684–1735. 10.1016/S0140-6736(18)31891-9 - DOI - PMC - PubMed
    1. Andersen PK. Life years lost among patients with a given disease. Stat Med. 2017/06/07. 2017;36: 3573–3582. 10.1002/sim.7357 - DOI - PubMed
    1. Andersen PK, Canudas-Romo V, Keiding N. Cause-specific measures of life years lost. Demogr Res. 2013;29: 1127–1152. 10.4054/DemRes.2013.29.41 - DOI
    1. Lawrence D, Hancock KJ, Kisely S. The gap in life expectancy from preventable physical illness in psychiatric patients in Western Australia: retrospective analysis of population based registers. BMJ. 2013;346: f2539 10.1136/bmj.f2539 - DOI - PMC - PubMed
    1. Laursen TM, Nordentoft M, Mortensen PB. Excess Early Mortality in Schizophrenia. Annu Rev Clin Psychol. 2014;10: 425–48. 10.1146/annurev-clinpsy-032813-153657 - DOI - PubMed

Publication types

MeSH terms