Home

Awesome

Generalized SEIR Epidemic Model (fitting and computation)

View Generalized SEIR Epidemic Model (fitting and computation) on File Exchange DOI License <a href="https://www.buymeacoffee.com/echeynet"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a baguette&emoji=🥖&slug=echeynet&button_colour=FFDD00&font_colour=000000&font_family=Comic&outline_colour=000000&coffee_colour=ffffff" style="height: 30px" /></a>

Description

A generalized SEIR model with seven states [2] is numerically implemented. The implementation is done from scratch except for the fitting, that relies on the function "lsqcurvfit". Therefore, the present implementation likely differs from the one used in ref.[2].

This Matlab implementation includes also some major differences with respect to ref. [2]. Among them is the expression of the death rate and recovery rate, which are analytical and empirical functions of the time. The idea behind this time-dependency is that the death and recovery rate should converge toward a constant value as the time increases. If the death rate is kept constant, the number of death may be overestimated. Births and natural death are not modelled here. This means that the total population, including the number of deceased cases, is kept constant. Note that ref. [2] is a preprint that is not peer-reviewed and I am not qualified enough to judge the quality of the paper.

Content

The present submission contains:

Any question, comment or suggestion is welcome.

References

[1] https://en.wikipedia.org/wiki/Compartmental_models_in_epidemiology#Bio-mathematical_deterministic_treatment_of_the_SIR_model

[2] Peng, L., Yang, W., Zhang, D., Zhuge, C., & Hong, L. (2020). Epidemic analysis of COVID-19 in China by dynamical modeling. arXiv preprint arXiv:2002.06563.

[3] https://github.com/CSSEGISandData/COVID-19

[4] https://github.com/pcm-dpc/COVID-19

Example 1 (case of COVID-19 in Italy)

The fitting of the extended SEIR model to real data provides the following results:

Active, recoverd and deceased cases in italy

Example 2 (case of COVID-19 in Hubei)

The fitting of the extended SEIR model to real data provides the following results:

Active, recoverd and deceased cases in Hubei

Example 3 (case of multiple waves)

The fitting of the extended SEIR model to real data provides the following results:

Active, recoverd and deceased cases for multiple waves