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.
create_data.R
: creates and saves data sets in thedata/
directory.data_explore.R
: conducts data exploration to investigate the prevalence and pattern of suppressed data in the county-level provisional COVID-19 deaths.impute/impute_model.R
: interfaces betweenRStan
andStan
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 correspondingstan
scripts specified in thisRscript
is in the directoryimpute/stan/
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.impute/aggregate_death.R
: creates post simulation analyses, reports, and figures.