Path: blob/master/material/medium_modelling_part_one.ipynb
934 views
SIR Model
From: https://github.com/hf2000510/infectious_disease_modelling/blob/master/part_one.ipynb
LICENSE: https://github.com/hf2000510/infectious_disease_modelling/blob/master/LICENSE
Bibliography
An introduction to mathematical epidemiology, M Martcheva - 2015 - Springer [Google Scholar] [PDF]
compartmental model.
A compartmental model separates the population into several compartments, for example:
Susceptible (can still be infected, “healthy”)
Infected
Recovered (were already infected, cannot get infected again)
We require the following parameters
: total population
: number of people susceptible on day t
: number of people infected on day t
: number of people recovered on day t
: expected amount of people an infected person infects per day
: number of days an infected person has and can spread the disease
: the proportion of infected recovering per day ( = 1/D)
the basic reproduction number , is the total number of people an infected person infects. We just used an intuitive formula:
Check for Colombia: https://github.com/restrepo/COVID-19/blob/master/covid.ipynb
See Understanding the models that are used to model Coronavirus: Explaining the background and deriving the formulas of the SIR model from scratch. Coding and visualizing the model in Python.
So that ( include recover or died people)
If and , then and only the second equation is relevant and reduce to the exponential growth .
We want start with an infected, and a . Then, by using
Scaling: