fitSEIR

Fits a SEIR epidemic model to data and simulates the course of the epidemic.
135 Downloads
Updated 1 Jul 2020

View License

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
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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