Skip to content

imoza/code.for.REC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PAPER: "The ratio of expansion to compression: A new measure of lifespan disparity." AUTHORS: Zhen Zhang and Qiang Li. E-mail: zhang_zhen@fudan.edu.cn or qli@soci.ecnu.edu.cn 17 Oct, 2020

The data on mortality are available from the Human Mortality Database. The version of R used in this study is 4.0.2.

R code can be found in the three files:

  1. calc.rec.r contains the codes for calculating Tables 1 and 2 and plotting Figure 1, 2, 4, an 5.
  2. edag.r provides several functions for calculating e.dagger, a.dagger etc.
  3. simulations.r contains the codes for the simulations based on various scenarios and for plotting Figure 3.

About

code for analyzing the ratio of expansion to compression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages