Learn R Programming

rwlifetable (version 0.1.0-6)

Estimation of Life Tables Using Rolling Windows

Description

Estimates life tables, specifically (crude) death rates and (raw and graduated) death probabilities, using rolling windows in one (e.g., age), two (e.g., age and time) or three (e.g., age, time and income) dimensions. The package can also be utilised for summarising statistics and smoothing continuous variables through rolling windows in other domains, such as estimating averages of self-positioning ideology in political science. Acknowledgements: The authors wish to thank Ministerio de Ciencia, Innovación y Universidades (grant PID2021-128228NB-I00) and Generalitat Valenciana (grants HIECPU/2023/2, Conselleria de Hacienda, Economía y Administración Pública, and CIGE/2023/7, Conselleria de Educación, Cultura, Universidades y Empleo) for supporting this research.

Copy Link

Version

Install

install.packages('rwlifetable')

Monthly Downloads

188

Version

0.1.0-6

License

EPL

Maintainer

Jose Pavia

Last Published

January 16th, 2025

Functions in rwlifetable (0.1.0-6)

dw_preprocess

Pre-processes a data frame of deaths, exposed to risk or times of exposition to be used by the `dw_crude_mx` function
dw_crude_mx

Computes crude/raw death rates/probabilities using double rolling windows
tw_crude_mx

Computes crude/raw death rates/probabilities using triple rolling windows
graduate_qx

Graduates raw death probabilities