Skip to content

CPop-SDU/outsurvival-demres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doi osf

Vaupel, J., Bergeron-Boucher, M.-P., & Kashnitsky, I. (2021). Outsurvival as a measure of the inequality of lifespans between two populations. Demographic Research, S8(35), 853–864. https://doi.org/10.4054/DemRes.2021.44.35

Twitter: @jwvaupel, @bergeron_mp, @ikashnitsky
Emails: jvaupel@sdu.dk, mpbergeron@sdu.dk, ikashnitsky@sdu.dk

SocArXiv preprint: https://doi.org/10.31235/osf.io/gsdkx

Zenodo: https://doi.org/10.5281/zenodo.4573914

All the figures and calculations displayed and quoted in the paper can be replicated using the R script src/replication.R. The script uses data from dat/ directory. Each .txt file with data contains a brief description of the dataset and a reference to the source of data. Produced figures are stored in fig directory

REPLICATION. HOW TO

  1. Unzip the contents of the replication package wherever you feel like. Alternatively, fork the GitHub repository: https://github.com/CPop-SDU/outsurvival-demres.
  2. Using RStudio open "outsurvival-demres.Rproj" file in the main project directory.
  3. Follow the "scr/replication.R" file. The figures will be stored in the sub-directory "fig". Calculation results will be displayed in the console of the R session.

See also: Bergeron-Boucher, M.-P., Alvarez, J.-A., Kashnitsky, I., Zarulli, V., & Vaupel, J. W. (2020). Not all females outlive all males: A new perspective on lifespan inequalities between sexes. SocArXiv. https://doi.org/10.31235/osf.io/typws