analyze_temperature_data.R
, which shows how to download historic temperature data and get averages for each countygenerate_scam_list.R
to get monte carlo samples for R0 estimation parameterscalc_monthly_rnots.R
to get R0 distributions for each county and monthRun the calc_dispersion_table.R
file to obtain the dispersion parameter to be used for the fitting
cpp_fitting_fxns.R
file in the find_rnot_ods()
function in place of the number specified there if different than 0.12Run the posterior scaling factor estimation to get posteriors at every time point for the scaling factor
create_alpha_like_job_file.R
To create job file for running posterior estimationg for multiple parameters (temperature used, reporting rate, and secondary transmission number in November)calc_alpha_posterior.R
file for each parameter set in the job file (I do this with slurm script in Wrangler on TACC (https://www.tacc.utexas.edu/))Run calc_final_posterior_rnots.R
, which will run single MCMC for each parameter set, and save posterior distributions for all county R0s in a usable format for plotting.
calc_alpha_posterior.R
will then convert the posterior alpha data into usable formats for plotting
run fake_mcmc_dat_generator.R
to get the fake data used for the first figure
cty_sec_trans.R
to get data for last figure in mssim_test_likelihood_fxn.R
to get supplemental figure showing the likelihood vs simulation results.ms_fig_creator.R
, which can be used to make all of the figures from the manuscriptAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.