The SIR Model When S (T) Is A Multi-Exponential Function.
The SIR Model When S (T) Is A Multi-Exponential Function.
12-2010
Recommended Citation
Balkew, Teshome Mogessie, "The SIR Model When S(t) is a Multi-Exponential Function." (2010). Electronic
Theses and Dissertations. Paper 1747. https://dc.etsu.edu/etd/1747
This Thesis - unrestricted is brought to you for free and open access by the Student Works at Digital Commons @
East Tennessee State University. It has been accepted for inclusion in Electronic Theses and Dissertations by an
authorized administrator of Digital Commons @ East Tennessee State University. For more information, please
contact digilib@etsu.edu.
The SIR Model When S(t) is a Multi-Exponential Function
A thesis presented to
In partial fulfillment
by
December 2010
by
The SIR can be expressed either as a system of nonlinear ordinary differential equa-
solved in closed form. In this thesis, it is shown that if we assume S(t) is a finite
Pn −σk t
multi-exponential, i.e. function of the form S(t) = a + k=1 rk e or a logistic func-
then we can have closed form solution. Also we will formulate a method to determine
2
Copyright by Teshome Mogessie Balkew 2010
3
ACKNOWLEDGMENTS
First and foremost I would like to extend my deepest gratitude to the gracious,
merciful Heavenly Father Almighty God, Who helped me in every way in my stay
here in ETSU. My special thanks goes to Dr. Robert B. Gardner. I feel that words
may not be enough to express how deeply grateful I am for all help he rendered
to me. Thank you Dr. Bob!!. I also acknowledge the support and encouragement
my stay here. My great appreciation and thanks go to my thesis advisor Dr. Jeff
me all necessary advising for my thesis to go in the right direction. From his excellent
coaching I learned a lot. I like to say ”thank you” to all my teachers: Dr. Debra
Knisley, Dr. Robert M. Price and Dr. Ariel Cintron-Arias who inspired me one or
the other way in my stay in ETSU. I acknowledge the help I got from Dr. Yared
his wife Lidya Hailesilassie. Finally I would like to say ”thank you” to all my friends
and classmates here in ETSU who influenced me one or the other way. Thank you
4
CONTENTS
ABSTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
ACKNOWLEDGMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
LIST OF FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Model . . . . . . . . . . . . . . . . . . . . . . . . . . 12
TION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5
4 CONCLUSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
BIBLIOGRAPHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
APPENDICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
VITA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6
LIST OF FIGURES
7
1 INTRODUCTION
From pre-history to the present day, there have been many waves of epidemics
causing death and suffering of human beings. Most of these epidemics seemingly came
from nowhere, suddenly changed the normal demography of the affected population,
and ultimately disappeared before affecting the entirety of a population. This was a
puzzle for human beings for centuries, and there were many attempts to understand
[2, 18].
• In 1906 William Hamer formulated a discrete time model for measle epidemics
[18].
model for malaria as a host-reactor disease and won the second Nobel Prize in
Medicine [18].
• The classical SIR model as we know it today was first introduced by A.G.
Mckendrick and W.O. Kermack in 1927. These two public health physicians
extended the work of Ross and developed the concept of an epidemic threshold
[18].
8
Most epidemiological models start from the same basic premise that the popula-
tion can be subdivided into a set of distinct classes (compartments) depending upon
their experience with respect to the disease [18]. One line of investigation is to di-
vide the population under study into the three compartments of [18] “Susceptibles”,
• S(t) denotes the number of individuals who are “Susceptible” to the disease at
time t. That is, S(t) is the number of people in the population who are not
“infected” at the given time t but who are vulnerable to the disease.
• I(t) signifies the number of “infected” individuals who are infectious and able
• R(t) counts those in the population who are “recovered” from the disease and
are no longer “susceptible”. Thus they do not contribute to the spread of the
disease.
the existing qualitative behaviors of the phenomena, so that we omit most details.
taking all aspects of it and try to model as it is makes the model too complicated,
modeling.
9
The SIR model is formulated under the following assumptions [2, 4, 18]:
• (I) The community size is constant and is sufficiently large over the duration of
number of “infecteds”.
• (III) It is also assumed that the “infecteds” are uniformly distributed among
the “susceptibles”.
Remark
• Assumption (I) says that since the demography of a population does not change
• We clearly know that the rate of leaving compartment at the beginning, middle
and end of the epidemic varies greatly. What assumption (II) says is that we
assumption is reasonable if the population size is large, but it is not good if the
size of the population is small, since the random contact rate plays a significant
seasons, geographical location, etcetera, which may affect the epidemic signifi-
cantly.
10
2 SIR EPIDEMIOLOGICAL MODEL
In this chapter we will study two equivalent ways of formulating the SIR model –
the ordinary differential equation form and the integral equation form. The integral
equation form of the SIR model is more general than the ordinary differential equation
1. We can deduce the classical ordinary differential equation form of the SIR model
2. Different functional forms of the probability density function P (t) gives us al-
Even though the more realistic probability density function is the gamma distribution,
which presupposes the probability of leaving the class is a function of the time spent
within the class, the classical SIR model is based on the premise that the probability
of infection is exponentially distributed, which implies that the rate of transfer from
one compartment to the other is independent of the time spent within the class [1].
With this consideration, we recover the classical differential equation form of the SIR
model from the integral form. We will explore the relation between two variables
with the absence of the third one. What we do here is examine the relation between
“S” and “I” in the SI coordinate plane and the relation between “R” and “S” in the
RS coordinate plane. Such a study of the relation between two variables with the
absence of the third one is called Phase Plane Analysis for the model [18].
11
2.1 Two Formulations of the SIR Model
We will see two formulations of the SIR model. First we consider the differential
equation formulation and then we will see the integral equation formulation of the
SIR model.
In addition to the assumptions we made in Chapter 1, the SIR model also assumes
the following (see [2, 3, 4, 18] for additional discussion of these assumptions):
• f (I) = βI, where f (I) is an increasing function of “I” called the force of infection
and β is a constant called the infection rate. The infection rate tells us the rate
lation of size N .
• The “infecteds” compartment receives the outflow from the first , and it also
12
Rt
remaining “infectious” through time t is given by by P (t). 1/α = 0
P (t)dt
β β
S 0 + I 0 + R0 = − SI + SI − αI + αI
N N
S 0 + I 0 + R0 = 0
which implies that S(t) + I(t) + R(t) is constant. In fact, from our assumptions
we know that at any given time “t”, S(t) + I(t) + R(t) = N. Then the classical
dI β
= S(t)I(t) − αI(t)
dt N
dS β
= − S(t)I(t) (1)
dt N
dR
= αI(t)
dt
In this section we explore the Integral equation form of the SIR model (1). To be-
gin with, we derive the classic SIR model using an alternative approach. Specifically,
13
infectious at time t, then the idea above is given mathematically by
Z t
I(τ )
I(t) = I(0)P (t) + βS(τ ) P (t − τ )dτ (2)
0 N
2.1.3 Equivalence of the Differential and Integral Form of the SIR Model
We said that selecting different forms of P (t) gives us alternative types of the SIR
model. Let us revisit the result in (1) by showing that if we assume P (t) as expo-
nentially distributed that is, P (t) = e−αt , then we recover the classical exponentially
β t
Z
dI β −αt −α(t−τ )
= SI − α I(0)e + S(τ )I(τ )e dτ
dt N N 0
The probability of being recovered at time t is given by Q(t) = 1−P (t). Differentiating
it we have
Q0 (t) = αP (t)
which implies
dR
= αI
dt
14
Finally, since S + I + R is constant, we know that S 0 + I 0 + R0 = 0, which in turn
dS β
= − SI
dt N
which completes the equivalence of the two forms of the SIR model formulation.
In this section, we will study the relationship between our variables, S and I in the SI
plane, and S and R in the RS plane. This is called phase plane analysis. Moreover,
we will also study one of the very important elements of epidemiology called the
The first two equations in (1) involves only S(t) and I(t). We examine them to study
what the solution looks like in the SI plane. Right at the beginning of the epidemic;
there is no “recovery”, i.e. R(0) = 0 , and let the number of “susceptibles” be given
dI βSI − αI
=
dS −βSI
α
= −1
βS
dI ρ
= −1 (4)
dS S
15
α
where ρ = β
is the relative removal rate. Equation (4) is called the Phase portrait
for the epidemic, and solutions to the phase portrait are called Phase curves [18] and
= ρ ln(S) − S + C1
means the epidemic stops because of the lack of “infecteds”, not because every-
dI ρ
= −1
dS S
dI
=0
dS
which implies
ρ=S
To show that we have maximum value at ρ, we use the second derivative test. The
d2 I ρ
2
=− 2 <0
dS S
ρ
Imax = ρ ln −ρ+N (6)
S0
If we divide the second equation by the third one in (1), then we have
dS βSI
=− = −ρS
dR αI
17
Figure 2: Phase Curves in SI Plane
which leads to
R
S(R) = S0 e− ρ (7)
Equation (7) implies that the RS phase curve exponentially decays, which means
of “recovereds” as shown in Fig (3) . To show mathematically our claim before that
in any epidemic there is always a part of the population which will not be “infected”
R N
S(R) = S0 e− ρ ≤ S0 e− ρ > 0
which give us
0 < S∞ ≤ N
18
We know that if t → ∞, then R → R∞ and I∞ = 0 implies R∞ = N − S∞ . From
R∞
S∞ = S0 e− ρ
N −S∞
S∞ = S0 e− ρ (8)
We can use this relation to calculate the value of S∞ and/or ρ if we know either of
the two.
The basic reproductive rate, commonly denoted by R0 , is also called the basic repro-
ductive number or the basic reproductive ratio [2, 18]. It is basically the expected
pressed as
S0
R0 =
ρ
which results in
βS0
R0 =
α
The reproductive rate R0 is important for prediction of whether there will be epidemic
in that the number of “infected” will increase to a maximum before dropping to 0 over
time.
S∞ − ρ ln(S∞ ) = N − ρ ln(S0 )
20
Which results in
N − S∞
ρ=
ln SS∞0
Alternatively, suppose that the only type of data available is from hospital reports
of relevant admissions and releases. This type of data commonly reports the number
of recovered. We can also determine the average rate of “recovery” from the report.
dR
= α(N − R − S)
dt
R
= α(N − R − S0 e− ρ )
R
R0 − αN + αR = −αS0 e− ρ
R αN − αR − R0
e− ρ =
αS0
−R
ρ= (11)
αN −αR−R0
ln αS0
If we take the limit as t goes to infinity, then (10) will be equal to (9) since R0 ap-
proaches 0.
Let us consider the following example to illustrate the validity of our discussion.
We are going to use this example several times in the future discussion too [18].
21
EXAMPLE
A certain flu outbreak in English boarding school lasted for 14 days. The school has
a total of 763 students, of which 512 contracted the flu during that period. One boy
is known to have been the initial infected person thus giving us a given data set for
I(t).
We can calculate the value of S(t) numerically using the data. Thus, we have the
following values:
α
β = 0.0021, α = 0.441, and ρ = = 210
β
22
we obtain a reproductive rate of infection
S0
R0 = = 3.63 > 1,
ρ
763 − 25
ρ= = 215.9745.
ln 762
25
1. The Phase curve in the SI plane is given by substituting, N = 763 and S0 = 762
in I = ρ ln(S) − S + N − ρ ln(S0 ).
Then, we have, I = 210 ln(S) − S + 763 − 210 ln(762) whose graphs is shown in
Fig (4).
2. Phase curves in the RS plane are obtained by taking the second and the third
23
Figure 4: Phase Curves in SI Plane
24
3 THE SIR MODEL WHEN S(t) IS A MULTI-EXPONENTIAL FUNCTION
As stated earlier, the non-linear Volterra integral equation (2) has no solution in
closed form. With appropriate assumptions on P (t), we have shown that the integral
Unfortunately, the system of non-linear ODE also has no solution in closed form.
The main reason that the equations in (1) and (2) cannot be solved in closed form is
So, in some way, if we could somehow change the product S(t)I(t) to some form
which makes the solution simple, then we can solve (2) and as a result we can also
solve (1) in closed form. Because of the following two reasons we assume S(t) is a
• from experience we know that the “susceptible’s”’ data fits better with S(t) if
After having selected S(t) we solve (2) by changing it to an ODE. This assumption
of S(t) will make the ODE a linear ODE, which is simple to solve.
Let us first assume S(t) = a + nk=1 rk e−σk t and solve (2). Then, we use one
P
real example to illustrate two cases of S(t) – i.e., S(t) = a + be−σk t and S(t) =
a + 2k=1 rk e−σk t . Finally, we take the assumption that S(t) is a function of the form
P
a
S(t) = b+ewt
and solve (2).
25
3.1 Finite Multi-Exponential Form of S(t)
Thus, the non-linear Volterra integral equation is changed to a linear one. To solve
To solve for I(t), we change both sides of the above expression to exponential function,
26
“P ”
−β n rk
+C2
I(0) = e N k=1 σk
Thus we have
“P ”
β n rk
C2
e = I0 e N k=1 σk
dR(t)
= αI(t).
dt
27
Dividing both sides by eαt we have
n
X rk
R(t) = N − a − α e−σk t + C3 e−αt
k=1
α − σk
Let us revisit our example taking S(t) with one exponential function and sum of
Let us assume S(t) as a function of the form S(t) = a+be−σt . Using the Fit command
in Maple software we fit the data with a curve of S(t) as shown in Fig (6). That gives
3.1, are used to determine the functions S(t) , I(t) and R(t). To have a better curve
which best fits our data, we divided the data into two and fit each of them with S(t)
type functions. That gives us two functions for each of S(t) , I(t) and R(t). These
respectively.
By what we formulated in Section 3.1, we have the following functions which give
28
Figure 6: Data Fit Curve for “Susceptible” for One Exponential
us Fig (7)
S2 (t) = 25 + 8820.803e−0.584t
0.904t +0.005
I1 (t) = e0.973t+0.007e
−0.584t +8.807
I2 (t) = e−0.389t−31.704e
In addition, the Fit command and other statistics routines in Maple provide
measures of variance that can be used to validate the fits. Because the curves are
piecewise-defined, we did not measure confidence intervals for these fits. However,
correlations between the actual data and the predicted curves are each in excess of
29
0.98, and chi-square goodness of fit tests similarly confirm our results.
Using the Fit command in Maple software we fit the “Susceptibles” data with curves
discussion and formulation of section 3.1 we can determine functions S(t), I(t) and
R(t) . To have a better curve which best fits our data we divided the data into two
and fit each of them with two different S(t). This gives us two functions for each of
S(t) , I(t) and R(t) which approximates the number of “susceptibles”, “infecteds”
The following functions are the result of what we have discussed in Section 3.1
30
Figure 8: Data Fit Curve for the “Susceptible” for Two Exponential
Once again, the goodness of fit test shows that the fit is reasonable. Also, the
31
Figure 9: SIR Curves for Two Exponential S(t)
a
Assuming S(t) = c + b+ewt
(i.e logistic function), we can solve the same non-linear
Volterra integral equation we have been solving in section 3.1.1 and section 3.1.2.
dI β
= S(t)I(t) − αI(t)
dt N
dI β a
= c+ − α dt
I N b + ewt
This gives us
Z
β a
ln |I| = ct + dt − αt + C4
N b + ewt
32
du
If we late say u = b + ewt , then w(u−b)
= dt and we have the following integral:
Z
β a du
ln |I| = ct + − αt + C4
N w u(u − b)
−1 1
1
= b + b
u(u − b) u u−b
β a
ln |I| = ct + (ln |u − b| − ln |u|) − αt + C4
N bw
Changing the above to exponential function and replacing the value of u back produces
“ “ wt ””
β a e
ct+ bw ln b+ewt −αt+C4
I(t) = e N
β a 1
eC4 = I0 e− N bw ln( b+1 )
Now we will consider the same example we have seen in section 3.1.1 and section
3.1.2. With c = S∞ = 25, and using command Fit in Maple we will have a function
33
Figure 10: Best Fit Curve for Logistic Function
which best approximates our data with functions of our form as shown in Fig (10).
1.601 × 105
S(t) = 25 +
214.304 + e0.967t”
1.19e0.967t
“
−0.389t ln +0.005e0.967t
I(t) = e 214.217+e0.967t
Maple again not only reported the fit, but it also reported various measurements
of the goodness of the fit. The correlation is more than 0.98 and the chi-square
goodness of fit test confirmed our results. Also, we were able to obtain confidence
intervals for each of the parameters in the curve fits. Specifically, in S(t), we found
that the 95% confidence interval for w is [0.954, 0.989]. The 95% confidence interval
for a and b are nearly the same as the parameter values themselves. This shows that
34
Figure 11: SIR Model Curves for Logistic Function
the logistic function form for S(t) gives good results for the SIR model.
The data we usually have for research purposes are data we get from hospitals re-
ports. This type of data commonly reports the number of “recovered”. We can also
determine the average rate of recovery from the report. Using the following equations
dS
= −βSI
dt
S+I +R = N
R0 = αI
35
R0
Substituting I = α
in S = N − I − R, we have
R00 (t)
α
+ R0 (t)
β= R0 (t)
N− α − R(t)
We can use our example to show how we can apply the above equation. Fitting the
a
R(t) = − d.
b + ce−σt
d = −3.717. Thus,
99175.54
R(t) = − 3.717
138.99 + 26540.56e−0.709t
36
Figure 13: The Graph of β as a Function of Time
Using,
R00 (t)
α
+ R0 (t)
β= R0 (t)
N− α − R(t)
We have β = 0.001509. The graph of β is shown in Fig (13). This leads to the
37
4 CONCLUSION
The classical SIR epidemiological model is one of the earliest and most important
ology namely “Susceptible”, “Infected” and “Recovered”. The basic SIR model has
its own limitation, but it is robust and can easily be extended. Depending on the
type of the disease under study, one can modify it to include some more aspects of
the disease. As a result we do have many variations of the model: SIS, SEIR, MSIR,
SIRS, SQIR.
ethical. Data are some times available from the natural occurrence of the epidemics.
Usually these data are incomplete and under reported. From experience, we know
that the data with all its weakness fits better with the results of this thesis’s functions
; S(t), I(t) and R(t). This gives us a way to closely study and interpret the data so
or more than two parts and fit each to a function and then we combine them.
a
• The other result discussed here is that of assuming S(t) = b+ewt
which is com-
monly called the logistic function. In this case, to find the function which best
fits the data, one should give initial values for variables a and b when using the
38
• After selecting S(t), one can use all the results of this thesis to study the
While we are working with this thesis we have observed that the data collected from
an epidemic fits nicely with the function of a difference of two logistic functions for
the “infectious” data. In case somebody has “infected” population data and wants
to know whether there was epidemic or not, he/she can start from that and do what
has been done in this thesis. In reality, most data reported from sources indicates
the “recovered” population number. One can also start from “recovered” populations
39
BIBLIOGRAPHY
[1] Helen J.Wearing, Pejman Rohani and Mat J.Keeling, Appropriate Model For
[4] David Smith and Lang Moore, The SIR model for spread of Disease,
[8] Rainer Kress, Linear Integral Equation, Second Edition, Springer-Verlag Inc.,
1-13, 1999
[9] Ram P.Kanwal, Linear Integral Equations, Theory and Techniques, Second Edi-
40
[10] Ida Del Prete, Efficient Numerical Methods For Volterra Integral Equation of
[12] Christopher D. Green, Integral Equation Methods, Barnes and Noble Inc., 81-90,
1969
[14] Gustav Doestsch, Guide to the Application of the Laplace Transform and Z
[15] Joel L.Schiff, The Laplace Transform Theory and Application, Springer-Verlag
[16] S.Patrak, A.Maiti, G.P. Samanata, Rich Dynamics of an SIR epidemic model,
[17] Michael Holile, Population Dynamics I, The SIR model, Department of Animal
41
APPENDICES
1. TO PRODUCE FIGURE 6
d1 := display(l0, l1);
display(dataplot,lo,l1)
2. TO PRODUCE FIGURE 7
I1 := exp(beta*a1*t/(1.132)+beta*b1*exp(-sigma1*t)/sigma1-alpha*t+beta*b1/(1.35*sigma1));
I2 := exp(beta*(a2*t-b2*exp(-sigma2*t)/sigma2)-alpha*t+beta*b2/(3.6*sigma2));
42
R2 := N-alpha*b2*exp(-sigma2*t)/(alpha-sigma2)+(-N+alpha*b2/(3/2*(alpha-sigma2)))*exp(-
alpha*t);
3. TO PRODUCE FIGURE 8
a21 = -.9]);
σ 11 := 1.00000073199999999*105 ; σ 12 := .445677297008923612;
r2 := 2.23037891409369903*10−17 ; σ 22 := -8.70076794567668976;
43
I22 := exp(1.001*β*(g*t-r11*exp(-σ 11*t)/σ 11-r21*exp(-σ 12*t)/σ12)
-α*t+5.87*β*(r11/σ21+1/σ12));
Ie := display(u1, u2);
4. TO PRODUCE FIGURE 9
R77 := 1.0022*N-6*g-29*α*r11*exp(-8*σ11*t)/(2*N*(α-σ11))-α*r21*exp(-30*σ
12*t)/(200*N*(α-σ12))+(-(19/2)*N+(35/2)*g+(6*9)*α
r11/(2*N*(α-σ11))+10*α
r21/(N*(α-σ12)))*exp(-1.29*α*t);
R21 := 1.011*N-f-α*r1*exp(-.999987*σ21*t)/(1.3*(α-σ21))-α*
r2*exp(-.81*σ22*t)/(22.5*(α-σ21))+(-1.025*N+f+α*r1/(4*(α-σ21))
+α*r2/(α-σ22))*exp(-1.01*α*t)+5;
5. TO PRODUCE FIGURE 10
44
6. TO PRODUCE FIGURE 11
I4 := exp(β*(25*t+a1*ln(1.19*exp(w1*t)/(b1+exp(w1*t)))/b1)-alpha*t-β*a1*ln(1/(b1+1))/b1);
R4 := N-S4-I4+7.122246889;
plot([S4, I4, R4], t = 0 .. 14, linestyle = [solid, solid, solid], color = [red, blue, green]);
45
VITA
46