Lewuathe / COVID19-SIR

COVID-19 SIR model estimation
https://www.lewuathe.com/covid-19-dynamics-with-sir-model.html
Apache License 2.0
131 stars 75 forks source link

R equation is linearly dependent #24

Closed gasilva closed 4 years ago

gasilva commented 4 years ago

You do not need to solve for R.

See

Requirements. All parameters must be positive, and S(0)+E(0)+I(0) ≤ 1.

theory

python code

R=1-S-I

The author uses this equation to guarantee consistency.