Skip to content

More than a year after the onset of the CoVid-19 pandemic in the UK: lessons learned from a minimalistic model capturing essential aspects including social awareness and policy making

Notifications You must be signed in to change notification settings

migduroli/covid-uk-variant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

This repository contains the code required for the analysis of the manuscripts:

The running of the script uk.py will produce the figures showed in the manuscript. These figures will be saved in PDF format inside the figs folder.

Brief description

The script here presented runs the following steps:

  1. Integrate a modified SIR model over time by using scipy.integrate.odeint. This solver integrates ordinary differential equations using LSODA from the FORTRAN library odepack.
  2. Fits the parameters of a modified SIR model by using scipy.optimize.curve_fit, which is a friendly wrapper for non-linear least squares, over the training dataset
  3. Integrates the modified SIR model over time by using the parameters coming from (2). This is contrasted against the testing dataset (data as of September 2020)

About

More than a year after the onset of the CoVid-19 pandemic in the UK: lessons learned from a minimalistic model capturing essential aspects including social awareness and policy making

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages