Coronavirus spread modeling
Like many articles online, this tutorial aims at giving some elements of understanding of the spread of Covid-19 pandemic for education purposes. Those 3 examples have been developed by our Malaisian partners from ByteCode.
Example 1 - Covid-19 Cases
This first example is leveraging the new importgui available in Scilab 6.1
Data on Covid 19 cases are available from Johns Hopkins Github https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series
The functions xtick2string & ytick2string are available in the IoT module from ByteCode.
Example 3 - SIR Model for Spread of Disease
This dynamic model represents the population under 3 categories:
"beta" is the transmission coefficient, "gamma" the recovery factor
For the full specification of the model, visit the wikipedia page on Compartmental models in epidemiology.