Skip to content

Simulation and model-fitting code for a model that describes SARS-CoV-2 transmission in Ontario, Canada.

License

Notifications You must be signed in to change notification settings

SkyeChen-28/COVID-19_ON_Response_Framework_Model_Public

Repository files navigation

COVID-19 ON Response Framework Model

Simulation and model-fitting code for a model that describes SARS-CoV-2 transmission in Ontario, Canada.

The purpose of this project was to extend the work done in this paper (https://doi.org/10.1101/2021.03.26.21254421) by implementing the government of Ontario's colour coded response framework as a method of mitigating the effects of COVID-19 in the province.

Previous iterations of this model include:

To run a set of simulations, make all required option selections (detailed within each script) and launch script.

All data needed to run scripts are included in the "InputFiles" folder, with the exception of the parameter set inputs for covidHierV48rf_Github_basesim.R, as the large number of files makes this infeasible. However, such parameter sets can be generated using covidHierV48rf_Github_parmfit.R. Expected runtime varies between scripts, but an individual simulation should run within 1 minute.

Scripts

  • multiplot.R contains a function that combines multiple plots into one image. A dependency for the scripts below.

  • covidHierV48rf_Github_parmfit.R runs fitting procedure for obtaining parameter sets, outputs files containing the best parameter set as determined by that run of the fitting algorithms.

  • covidHierV48rf_Github_basesim.R evaluates output from covidHierV46_2Github_parmfit.R to identify parameter sets resulting in the best fit to data, runs simulations using those parameter sets, and outputs files containing the results of that identification and simulation.

  • covidHierV48rf_Github_counterfactuals.R runs simulations for counterfactuals, outputs results of these simulations. Can be used to reproduce results shown in Figure 1, 2, 9, and 10.

Input files

System & hardware requirements

  • Windows 10 Pro Version 2004

  • Sufficient RAM to support storage of data structures during simulations

Installation guides

All software should install within a few minutes on a standard computer, the versions listed here are those the scripts have been tested on.

About

Simulation and model-fitting code for a model that describes SARS-CoV-2 transmission in Ontario, Canada.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages