Still under construction!
For errors or criticism open an issue in the github repository kidpixo/COVID19-dashboard
NEW on 10 Apr I modified the model days window from 14 to 21 to have more stability in the model.
Based on Covid-19 infection in Italy. Mathematical models and predictions
I read the nice post Covid-19 infection in Italy. Mathematical models and predictions.
I want to do something useful and learn something, so I start reproducing the post.
The original post uses data from the Italian Civil Protection Department, that collects and pushes new data every day in their github repository CSSEGISandData/COVID-19.
I also start to use the global data from CSSEGISandData/COVID-19: Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE, but this is not fully functional.
The main important point in the notebook are:
(Text from Covid-19 infection in Italy. Mathematical models and predictions)
The logistic model has been widely used to describe the growth of a population. An infection can be described as the growth of the population of a pathogen agent, so a logistic model seems reasonable.
This formula is very known among data scientists because it’s used in the logistic regression classifier and as an activation function of neural networks.
The most generic expression of a logistic function is:
In this formula, we have the variable x that is the time and three parameters: a,b,c.
At high time values, the number of infected people gets closer and closer to c and that’s the point at which we can say that the infection has ended.
This function has also an inflection point at b, that is the point at which the first derivative starts to decrease (i.e. the peak after which the infection starts to become less aggressive and decreases).