altar.models.sir.SIR
Module Contents
Classes
- class altar.models.sir.SIR.SIR(name, locator, **kwds)
Bases:
altar.models.BayesianL2.BayesianL2SIR model in epidemiology This model assumes five parameters
S0 - The initial value of susceptible population (times the population base factor) I0 - The initial value of infectious R0 - The initial value of Recovered/Deaths β - the average number of contacts per person per time γ - the rate of recovery or mortality
to generate the time sequence of S(t), I(t) and R(t) It uses the new cases per day as data observations, or S(t-1)-S(t)
- population_base
- doc = the base factor for population
- _SIR_Rate(self, S, I, N, β, γ)
SIR Rate equation
- forwardModel(self, theta, prediction)
Forward SIR model