fitVirusCV19v3 (COVID-19 SIR Model)

versión 3.4.8 (3.57 MB) por Joshua McGee
Estimation of coronavirus COVID-19 epidemic evaluation by the SIR model, Code receives and plots most recent data from HDX.

3,4K descargas

Actualizada 3 May 2020

Ver licencia

This code will retrieve recent data from the HDX and attempt to fit it to a SIR model using structure created by Milan Batista (https://www.mathworks.com/matlabcentral/fileexchange/74658-fitviruscovid19?s_tid=prof_contriblnk). The model is data-driven, so its forecast is as good as data are. Also, it is assumed that the model is a reasonable description of the one-stage epidemic.

Results are saved in structure res (see function fiVirusCV19 header). Optionally the results may be printed by:

fitVirusCV19v3(“Italy",'prn','on')

The plot may be enabled or disabled via (default is on):
fitVirusCV19v3(“Italy",'plt','off')

To plot the growth rate on the figure use (def value is 2)
fitVirusCV19v3("Italy",'nsp',3)

To plot the R0 as a function of time
fitVirusCV19v3("Italy",'r0analysis','on')

A more detailed description can be found in:
https://www.researchgate.net/publication/339311383_Estimation_of_the_final_size_of_the_coronavirus_epidemic_by_the_SIR_model
Examples can be found in:
https://www.researchgate.net/publication/339912313_Forecasting_of_final_COVID-19_epidemic_size_200318

Citar como

Joshua McGee (2022). fitVirusCV19v3 (COVID-19 SIR Model) (https://www.mathworks.com/matlabcentral/fileexchange/74676-fitviruscv19v3-covid-19-sir-model), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019b
Compatible con la versión R2019b y siguientes
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!