SIR model equations - diffrences
Show older comments
The standard equation for SIR model is dS/dt=bSI, but I can find it in many places, devided by N (the total population size): dS/dt=bSI/N. Can somebody explain me why?
Thank you in advance!
Answers (2)
John D'Errico
on 22 Jun 2020
Edited: John D'Errico
on 22 Jun 2020
0 votes
No. The standard equation is irrlevant, UNLESS you understand what the terms mean. There is no standard equation if you are lacking that. Othrwise, all you have is a list of characters.
Consider a population of people. That total population, call it N, could be broken down into 3 subsets
S = Number susceptible to infection
I = Number of people currently infected
R = number of people that were infected, and are recovered.
Then we would clearly have the relation
N = S + I + R
Assume that N is essentially fixed. This is an approximation, assuming the disease is generally not fatal, and the disease progression is fast enough that births are not a factor.
And in some cases, we might allow the set of people who have recovered to become re-infected. There may be some rate at which that happens, perhaps different from the normal infection rate.
How does infection occur? This is due to a person who is susceptible coming in contact with a person who is infected. How does the set of susceptbles change?
They move from susceptible to infected by contact with an infected person. So how does the set S change?
dS/dt = -beta*S*(I/N)
Here beta is a transmission rate. beta under 1 will be good. beta much over 1 is bad news. (This is why social distancing works, because it effectively reduces the parameter beta to become less than 1.) I/N is the FRACTION of people that are infected. And there is your problem. You need to have that as a FRACTION of currently infected people, because that is how you become infected. It reflects the probability that you (as a susecptible) will meet a person who is already infected.
Clearly some of the sources you have seen treat I as the FRACTION of people infected, but most sources treat I as a sub-population itself, which is totally sensible.
As well, there is a negative sign in there. Unless of course, you treat beta as a negative number.
Again, unless you understand what the terms in a model means, the model is just a bunch of characters on the page.
Next, we would have a differential equation to describe how those infected move to the recovered population, as well as a third equation that would describe the movement of recovered people back into the infected set.
So we might a parameter gamma, that describes the rate of infected people moving to the recovered subgroup. That allows us to write a differential equation for the infected population as
dI/dt = beta*S*(I/N) - gamma*I
And, of course, the is a complete mass balance system. So people move from one population to another, but do not exit the system. (We could consider a death rate too, so some people could move to a 4th set: D, as some fraction of the set I.)
dR/dt = gamma*I
If recovered people could move back into the infected set with some rate, then these last two equations would each gain a new term. Or, we could have a 4th sub-population D, allowing people to be removed from the total at some rate based on the number of infecteds. (Finally, if this was in the movies, while we normally think of the set D as an absorbing state in this system, we might have some population moving from the set D into a 5th subset Z. I assume you know what Z would then signify.) Regardless, you can add many new terms, each increasing complexity of the behavior you can see.
The point of all this is unless you understand what those variables mean, then the model has no meaning at all.
5 Comments
Luiza
on 23 Jun 2020
Bjorn Gustavsson
on 23 Jun 2020
Play around with this model. Implement your coupled ODEs, integrate for a couple of different transition-rates look at the results, and have a think about what varies in which ways when you change the your beta and alpha. Nothing we tell you will give you the understanding you obtain by doing. If you've done that then we can discuss.
John D'Errico
on 23 Jun 2020
Edited: John D'Errico
on 23 Jun 2020
Yes. I do agree with what Bjorn has said BTW. Try it. Play around. Get your hands dirty.
But as you asked, you do need to understand that equation:
N = S(t)+I(t)+R(t).
So we assume a fixed population of individuals. They move around between sub-populations. Susceptible individuals moving to infected, then to recovered. This is the simplest case, as I said.
But I(t) is indeed the number of individuals at time t, those that are currently infected. Think about what the product means, thus
-beta * S * (I/N)
Suppose you are a "susceptible" individual. Not infected currently. Never have been. No antibodies. You walk around outside. Talk to one of your normal set of friends. What is the probability you will catch the bug? First, what are the odds this random person you talk to is currently infected? Yes. I(t)/N. Once you do interact with them, will you catch it? beta reflects the how easily this is transmitted. If you do catch the bug, then you DECREASE S(t), because you move from sub-population S(t) into subpopulation I(t). Therefore the derivative of S(t) must be negative in this simple model. Eventually, at least in the simple model, you move into subpopulation R(t), which in the simplest model leaves you "safe" from re-infection.
Again, this is a VERY simple form of a model. Overly simplistic models may fail to predict well. It lies in the skill of the mathematical modelor to recognize which terms are safe to leave out from a more complex model, if you desire accurate predictive behavior. That skill is a very important one. For example:
- Will some individuals die as a result of this disease? If so, then we need to consider an absorbing state D(t). I will not admit a sub-pop Z(t), since I am not making a movie.
- Will there be new individuals born, or is the pandemic under study moving too fast that the fraction born will not impact the results sufficiently to be seen?
- Will the transmission rate remain constant over time? In fact, we have seen this is often not true. As restaurants and sports events open and people become tired of staying home, the rate can suddenly increase. (Personally, I prefer not to wave a red flag at a charging bull, but that is my choice.)
- If deaths are possible under the model assumptions, may that death rate change with time too? For example, it may be true that as ICU beds become overwhelmed, the death rate will increase. As new treatments are developed, the death rate may decrease.
- Does a vaccine exist? If so, then we could view it as if some of the population can effectively move directly from the susceptible population S(t) into the recovered population R(t). Since not all people seem to be willing to take a vaccine, only a fraction of people will move into the R(t) population.
- Can recovered individuals ever get re-infected? This is generally an important factor, that depends on how long antibodies persist. It also depends on multiple strains of the bug floating around. While you may be recovered and quasi-resistant to bug strain A, there are still strains B and C that may be out there too, slightly different enough that your body will not recognize them.
- Is everyone equally susceptible to infection? That is generally not true. Some individuals will be immune compromised, etc.
A truly complete model may be very complex, with a huge number of terms in it and a vast number of interactions. An appreciation is necessary of which of the many ideas I discussed above are important to predict a pandemic. But you can still understand how a simpler model reacts, and it still may provide reasonable predictions.
So yes. I(t) is a sub-population itself. And therefore, I/N is a relative fraction.
Luiza
on 23 Jun 2020
Bjorn Gustavsson
on 23 Jun 2020
If you implement the two systems you can obviously check this assumption of yours rather easily.
ZOUBAIR DAOUMA
on 9 Feb 2021
0 votes
please is anyone a Matlab code for the numerical simulations on a square lattice of S.I.R Model
Categories
Find more on Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!