This repository was archived by the owner on Aug 29, 2024. It is now read-only.
Releases: reichlab/annual-predictions-paper
Releases · reichlab/annual-predictions-paper
Release list
Final code for "Prospective forecasts of annual dengue hemorrhagic fever incidence in Thailand, 2010-2014"
code for "Prospective forecasts of annual dengue hemorrhagic fever incidence in Thailand, 2010-2014"
code for "Prospective forecasts of annual dengue hemorrhagic fever incidence in Thailand, 2010-2014"
Added license and an annual data set needed for compiling the manuscript (though it wasn't necessary for running the forecasts).
Please use the README to see instructions for use.
Reproducible code and data for "Prospective forecasts of annual dengue hemorrhagic fever incidence in Thailand, 2010-2014"
Instructions for use
In order to re-run this experiment, please follow these steps:
- download this repository
- unzip the downloaded folder
- replace
path/to/packagein line 9 of the shell scriptinst/annual-forecasts-workflow.shwith the absolute path to the unzipped folder and save the file - run the shell script (on a Mac in the Terminal write:
sh path/to/package/inst/annual-forecasts-workflow.sh; the author does not know the PC equivalent of this command)
This shell script:
- creates an R
packratproject, which installs all of the packages used to originally run the analysis (note: this step may take 10 minutes or longer, sometimes due to a long installation of thestringipackage) - runs
make-forecasting-data.R, which puts together the forecasting data from the raw data - runs
make-forecasts.Rwhich conducts cross validation, model selection, and makes out-of-sample forecasts - runs
Lauer-annual-DHF-figures.Rnwwhich makes the figures for the manuscript - runs
Lauer-annual-DHF-supplement.Rnwwhich makes the supplement - runs
Lauer-annual-DHF-manuscript.Rnwwhich makes the manuscript
updated code, pre-publication manuscript draft
1.0 updated utilities to be able to conduct the analysis; added steps nee…
code and data, no manuscript
This pre-release provides both the code and the data (including R packages) required to make the forecasts that are featured in "Prospective forecasts of annual dengue hemorrhagic fever incidence in Thailand, 2010-2014" (coming soon).