SIR model

This is a version of the SIR model for spread of disease and is based on the [url=https://www.youtube.com/watch?v=k6nLfCbAzgo]numberphile video.[/url][br][br]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.[br][br]The y-axis shows:[table][tr][td][b]Susceptible[/b][/td][td]The fraction of the population that is able to be infected.[/td][/tr][tr][td][b]Infected[/b][/td][td]The fraction of the population that has the disease and is able to infect others.[/td][/tr][tr][td][b]Recovered[/b][/td][td]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.[/td][/tr][/table][br]There are a number of parameters for you to adjust:[br][table][tr][td][b]Infection rate[/b][/td][td]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.[/td][/tr][tr][td][b]Recovery rate[/b][/td][td]The fraction of the infected group that recovers per unit time.[/td][/tr][tr][td][b]Initial infection rate[/b][/td][td]The fraction of the population that was infected at the start of the model.[/td][/tr][tr][td][b]Time to plot[/b][/td][td]The maximum on the x-axis. Setting this too high can cuase the simulation to lag.[/td][/tr][/table][br]For more detail on how these equations are created, see [url=https://www.maa.org/press/periodicals/loci/joma/the-sir-model-for-spread-of-disease-introduction]The Mathematical Association of America.[br][/url]

Information: SIR model