rajeshrinet / pyross

PyRoss: inference, forecasts, and optimised control of epidemiological models in Python. github.com/rajeshrinet/pyross
https://pyross.readthedocs.io
MIT License
169 stars 57 forks source link

typo fix #49

Closed MichaelKlots closed 3 weeks ago

MichaelKlots commented 3 weeks ago

The SIR model formula text in examples/deterministic/ex01a-SIR.ipynb has a typo in the dI/dt equation. It was defined there: $$ \lambda(t) = \frac{\beta I}{N} $$ and then: $$ \dot I &= \lambda(t)I - \gamma I \ $$

It should be: $$ \dot I &= \lambda(t) - \gamma I \ $$

\lambda(t) already has I as a multiplicative factor