There is a newer version of the record available.

Published June 10, 2020 | Version v7.0
Software Open

ImperialCollegeLondon/covid19model: Nature, 2020 https://www.nature.com/articles/s41586-020-2405-7

  • 1. Imperial College London, @ MRC Centre for Global Infectious Disease Analysis

Description

This code is the exact code that was used in Flaxman, Mishra, Gandy et al. "Estimating the effects of non-pharmaceutical interventions on COVID-19 in Europe," Nature, 2020. https://www.nature.com/articles/s41586-020-2405-7

To run the code from the main folder in Rstudio source("base-nature.r") or from the command line Rscript base-nature.r.

The code should be run in full mode to obtain results---debug mode is only to check that your environment has the required libraries; results will not be reliable as the MCMC chains will not have converged.

The repository with posterior draws of the model in Flaxman, Mishra, Gandy et al. "Estimating the effects of non-pharmaceutical interventions on COVID-19 in Europe," Nature, 2020. https://www.nature.com/articles/s41586-020-2405-7 is here.

This code doesn't supersede our earlier model, it is here for everyone to have direct access to code used in Flaxman, Mishra, Gandy et al. "Estimating the effects of non-pharmaceutical interventions on COVID-19 in Europe," Nature, 2020.https://www.nature.com/articles/s41586-020-2405-7.

The instructions for European, Italy, Brazil, and USA code are the same as earlier (Look at version 3, version 4, version 5, version 6).

Files

ImperialCollegeLondon/covid19model-v7.0.zip

Files (14.8 MB)

Name Size Download all
md5:2985e6c0b920b7deb39a8a811186f389
14.8 MB Preview Download

Additional details