Data and source code to reproduce the analyses from this article.
- A C++ compiler, like
gcc
- GNU
make
- The boost C++ libraries
- R (optional, for visualization)
cd
into thecode
folder.- Compile with:
make
- Run with the desired options (described in
main.cpp
), for example:
./dengue.exe data20190823.txt lamb 15 11 0.15 0.1 10000 46
- The program will generate 4 output files:
output.csv
: MCMC output (log-likelihood, parameters, and acceptance rates)output_sims.csv
: Simulations (average temperature scenario)output_sims_cold.csv
: Simulations (cold temperature scenario)output_sims_warm.csv
: Simulations (warm temperature scenario)
- The
data
folder contains the epidemiological and climate data used for the analyses - The
output
folder contains an example of visualization of simulated trajectories