fitVirusCV19_state (United States COVID-19 SIR Model)

Estimation of coronavirus COVID-19 epidemic evaluation by the SIR model, Code receives and plots data for the US obtained over the web.
354 descargas
Actualizado 30 Apr 2020

Ver licencia

This code will retrieve recent state-level data from Wikipedia and attempts 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_state header). Optionally the results may be printed by:

fitVirusCV19_state('Massachusetts','plt','on')

The plot may be enabled or disabled via (default is on):
fitVirusCV19_state('Massachusetts','prn','on')

To plot the growth rate on the figure use (def value is 2)
fitVirusCV19_state('Massachusetts','nsp',3)

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 (2024). fitVirusCV19_state (United States COVID-19 SIR Model) (https://www.mathworks.com/matlabcentral/fileexchange/74813-fitviruscv19_state-united-states-covid-19-sir-model), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Agradecimientos

Inspirado por: CoronavirusDataByState, URL Read Table, fitVirusCOVID19

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.2.6

updated 4/30

1.2.5

updated 4/18

1.2.4

update 4/17

1.2.3

-added notes and updated data 4/15

1.2.2

updated 4/15

1.2.1

updated small fixes 4/14

1.2

updated 4/13

1.1.9

updated 4/13, small bug fixes, an added table displaying summary statistics for each state

1.1.8

-bug fixes and updates 4/12

1.1.7

updated 4/11

1.1.6

-updated 4/10

1.1.5

-updated 4/9

1.1.4

-updated 4/6

1.1.3

-updated

1.1.2

-updates and small fixes

1.1

-small updates and corrections

1.0.9

-updated data 4/3

1.0.8

-image

1.0.7

-added graphs for states that do not fit SIR model well to at least show data trends over time

1.0.6

-cleaned up data to give better predictions
-only show graphs for states that fit criteria well

1.0.5

-image

1.0.4

-fixed plot

1.0.3

-added end date to plots

1.0.2

-updated examples with new data

1.0.1

-updated acknowledgements

1.0.0