Analysis of the 2019-nCoV outbreak during 2019/20. Note: this is working repository, so code and data are likely to change over time
This is a stochastic SEIR model implemented using Euler-Maruyama, with likelihood estimated using SMC by jointly fitting to cases in Wuhan and exported cases over time in countries with high connectivity to Wuhan.
Data loading and model run script is in scripts/main_model.r
. Calls the following R files:
R/load_timeseries.r
- Load and format timeseries
R/model_functions.r
- Load process model and SMC
R/plotting_functions.r
- Plotting functions
outputs_main.R
- Run main model outputs
The code and data used for V1 of our pre-print on early transmission dynamics can be found in stoch_model_V1_paper
, with same paths as above.