SIR model
This is a version of the SIR model for spread of disease and is based on the numberphile video.
The x-axis shows units of time. These could be days, weeks, months etc depending on the units that you use for the other values.
The y-axis shows:
There are a number of parameters for you to adjust:
For more detail on how these equations are created, see The Mathematical Association of America.
Susceptible | The fraction of the population that is able to be infected. |
Infected | The fraction of the population that has the disease and is able to infect others. |
Recovered | The fraction of the population that has been infected and recovered (or died). In this model we assume that you can only get the disease once. This is not the case for COVID19. |
Infection rate | The number of contacts an infected person has per unit time which are sufficient to spread the disease. Not all of these contacts are susceptible. |
Recovery rate | The fraction of the infected group that recovers per unit time. |
Initial infection rate | The fraction of the population that was infected at the start of the model. |
Time to plot | The maximum on the x-axis. Setting this too high can cuase the simulation to lag. |