fitSEIR
This set of functions is designed to fit a SEIR epidemic model to data and simulate the course of the epidemic. It includes the possibility of time-dependent transmission and mortality rates. For a full description of the model see: https://www.medrxiv.org/content/10.1101/2020.06.12.20129429v1
Originally, the functions were designed for the covid-19 pandemic of 2020 in a per country basis. However, nothing prevents them to work with other data. The model assumes permanent immunity after recovery. There is no age or spatial structure.
It includes a help in PDF.
Cite As
Francisco de Castro (2024). fitSEIR (https://www.mathworks.com/matlabcentral/fileexchange/77428-fitseir), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.4 | Solve problem with getting John Hopkins Univ. data |
||
1.0.3 | Corrected error with fminsearchbnd |
||
1.0.2 | Corrected error in fitseir.m that prevented to use lsqcurvefit. |
||
1.0.1 | Added missing function. Improved handling in case previous models don't exist. |
||
1.0.0 |