Man pages for MJAlexander/censoc
Code to use a matched data set of 1940 census and social security deaths data

add_age_of_death_columnAdd age of death column to a CenSoc data table
add_educ_recode_columnAdd column with recoded education to a CenSoc data table
add_hispan_recode_columnAdd column with recoded hispanic origin to a CenSoc data...
add_race_recode_columnAdd column with recoded race to a CenSoc data table
clean_keyClean matching keys
colVarsCalculate variance of columns
create_censocCreate a dataset of matched census and socsec data
create_national_censocCreate a national dataset of matched census and socsec data...
get_death_proportions_post_samplesGet posterior samples of death distribution from Bayesian...
get_estimated_deathsGet estimated deaths from Bayesian truncated Gompertz model
get_estimated_hx_exGet estimates of hazard rates and life expectancy
get_first_wordGet first word from a string
get_hmd_death_distributionHMD death distributions
get_hmd_death_pcsPrincipal components from HMD
get_jags_dataGet left and right truncation ages for each cohort and...
get_meta_dataGet meta data associated with tabulated deaths by cohort, age...
get_truncation_agesGet left and right truncation ages for each cohort and...
load_censusLoad a census file
load_socsec_deathsLoad a census file
plot_exPlot life expectancy by cohort and group
read_hmdRead in HMD text file
tabulate_deathsCalculate number of deaths by birth year, age of death and...
truncated_gompertz_modelRun MCMC for Bayesian truncated Gompertz model
waicCalculate WAIC from log-likelihood
MJAlexander/censoc documentation built on March 10, 2020, 10:11 a.m.