Skip to content

Impute 2020 provisional COVID-19 mortality data by age, county and quarter. Ref: KaoS-YZ, Tutwiler MS,Ekwueme DU, Truman BI(2023) Better datafordecision-mak ing through Bayesian imputation ofsuppress ed provisionalCOVID-19 death counts. PLoS ONE 18(8): e0288961. https://doi.org/10.1371/journal. pone.0288961

Notifications You must be signed in to change notification settings

casonlu0703/COVID19MortImpute

 
 

Repository files navigation

This README describes the Rscripts used to impute county-level age-specific provisional COVID-19 deaths in 2020. The order of the following scripts is the order of conducting the analysis.

  1. create_data.R: creates and saves data sets in the data/ directory.
  2. data_explore.R: conducts data exploration to investigate the prevalence and pattern of suppressed data in the county-level provisional COVID-19 deaths.
  3. impute/impute_model.R: interfaces between RStan and Stan to conduct Bayesian imputation. There are a total of 26 models created and examined over time. The final model selected are model #8 (M1), model #16 (M2), and model #18 (M3). The corresponding stan scripts specified in this Rscript is in the directory impute/stan/
  4. impute/gather_impute_result.R: obtains diagnostics for each model to assess model performance; creates sampled datasets from the Bayesian model to reduce computation burden for post-analyses.
  5. impute/aggregate_death.R: creates post simulation analyses, reports, and figures.

About

Impute 2020 provisional COVID-19 mortality data by age, county and quarter. Ref: KaoS-YZ, Tutwiler MS,Ekwueme DU, Truman BI(2023) Better datafordecision-mak ing through Bayesian imputation ofsuppress ed provisionalCOVID-19 death counts. PLoS ONE 18(8): e0288961. https://doi.org/10.1371/journal. pone.0288961

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 92.5%
  • R 5.8%
  • Stan 1.7%