Simple epidemic models

Epidemiology is the study of the spread of diseases in a population. Many students seem interested in this kind of problem due to the recent Covid-19 pandemic. Here, we develop a few simple models of the epidemic.

First, some terminology.

  • Susceptibles: Those who might succumb to the disease.
  • Infectives: Those with the disease can spread it among the susceptibles.
  • Immunes: Those who are immune to the disease. This category may include the dead and isolated.
  • Latent period: A period between the infection and onset of the disease.
  • Infectious period: A period during which the individual remains infective.
In this post, we only deal with simple epidemic models in which there are only susceptibles and infectives, and individuals do not die.

Continuous-time epidemic model (with no recovery)

Let us derive a simple continuous-time epidemic model based on the following assumptions.

  1. The population size is fixed at n0+1. No birth, no death.
  2. The population contains only susceptibles and infectives.
  3. At the time t=0, there are n0 susceptibles and one infective. (The first introduction of the disease to the population.)
  4. S(t) is the random variable representing the number of susceptibles, not infected, at time t. Thus, there are n0+1S(t) infectives at time t.
  5. The likelihood of an infection occurring in a short time interval δt is βS(t)[n0+1S(t)]δt where β is the contact rate.
This process may be regarded as a chemical reaction between two chemical species: S+II with reaction rate β. Note that we do not consider the recovery of the infected (IS) so that the disease can only spread in this model.

Let pn(t)=Pr(S(t)=n),n=0,1,,n0 be the probability that there are n susceptibles at time t. The partition theorem reads
pn(t+δt)=β(n+1)(n0n)δtpn+1(t)+[1βn(n0+1n)δt]pn(t)+o(δt)
for 0nn01, and
pn0(t+δt)=(1βn0δt)pn0(t)+o(δt)
for n=n0. From these, we can derive the following differential-difference equation.
dpn(t)dt=β(n+1)(n0n)pn+1(t)βn(n0+1n)pn(t),  (0nn0)
with the initial condition
pn(0)=δn,n0.
Unfortunately, the analytical solution to this differential-difference equation is unknown (so far). We need to resort to numerical simulations. In simulations, we discretize the time variable. Thus, we obtain a discrete-time model similar to the one introduced in the following section.

Discrete-time epidemic model (with recovery)

Next, let us model epidemics using a discrete-time Markov chain.
The population size is fixed to n. The number of the infectives at time t is I(t), and that of susceptible is S(t)=nI(t). Let us denote the state with i infectives by Ei. Assuming only one infection or one recovery at most at each step, possible transitions are
  1. EiEi1,Ei,Ei+1 for i=1,2,,n1,
  2. EnEn,En1,
  3. E0E0 (an absorbing state).
See the figure below.
Figure DTM. The state transition diagram of the simple discrete-time epidemic model.


The transition probabilities are defined as
pi,i1=iγτ,  (i=1,2,,n),pi,i=1[βi(ni)nτ+iγτ],  (i=0,1,2,,n),pi,i+1=βi(ni)nτ,  (i=0,1,2,,n1),pi,j=0,  (otherwise)
where τ is the unit time, β is the contact rate (as before), and γ is the recovery rate. In particular, the probability of a new infection is given by
βi(ni)nτ.
This may be interpreted as follows. We are assuming one person is infected at a time. The probability of picking one susceptible among the population of n individuals is (ni)/n; the probability of infection is proportional to the number of the infected i, and the time τ exposed to them. Thus, the probability of infection is proportional to nin×i×τ.

Exercise. Given the above probabilities, verify that
j=0npi,j=1
for i=0,1,,n. □

Now, let pi(t)=Pr(I(t)=i) be the probability that n individuals are infected at time t. As usual, we can use the partition theorem to derive the following difference equations:
p0(t+τ)=γτp1(t)+p0(t)(Eq:DE0)pi(t+τ)=β(i1)(ni+1)nτpi1(t)+γ(i+1)τpi+1(t)(Eq:DEi)+(1[βi(ni)nτ+γiτ])pi(t),  (i>0).

Again, we can perform numerical simulations based on this model. A sample path is shown below.


Figure SP. Purple: A simulated sample path of the discrete-time model with tau=0.01, β=1, γ=0.5, n=100, and I(0)=2. Green: Solution of the deterministic model (see the following section).

See also the video explaining how to simulate this process using Google Sheets.


Deterministic epidemic model

Next, we derive a deterministic model from the above discrete-time model. By rearranging Eqs. (Eq:DE0) and (Eq:DEi), and taking the limit τ0, we have the following differential-difference equations:
dp0(t)dt=γp1(t),dpi(t)dt=β(i1)(ni+1)npi1(t)+γ(i+1)pi+1(t)(Eq:dDEi)(βi(ni)n+γi)pi(t).

Exercise. Derive these! □

Let I(t) and S(t) be the random variables representing the number of the infectives and susceptibles, respectively, and let us define
xI(t)=E(I(t))=i=1nipi(t),xS(t)=E(S(t))=i=0n1(ni)pi(t).
Multiply both sides of Eq. (Eq:dDEi) and sum over i, and we have the following equation:
dxI(t)dt=βnE(S(t)I(t))γxI(t)
where
E(S(t)I(t))=i=1n1i(ni)pi(t).
At this point, let us make an approximation:
E(S(t)I(t))E(S(t))E(I(t))=xS(t)xI(t),
then the above differential equation becomes
dxI(t)dt=βnxS(t)xI(t)γxI(t).
By the above definition, we have
xS(t)+xI(t)=n.
Using this equality, we can eliminate the variable xS to have the deterministic differential equation for xI(t):
dxIdt=xI[(βγ)nβxI]/n.
Here, we assume that 
(Eq:BG)(βγ)nβxI>0
always hold (this means that the infections keep increasing). With the initial condition xI(0)=2, this can be readily solved to give
(Eq:xIsol)xI(t)=2(βγ)n2β+[(βγ)n2β]e(βγ)t.
In the limit t
xI(t)(βγ)nβ.
(From (Eq:BG) above, we have βγ>0.)

Epidemics are often reported regarding the number of new cases in a certain interval (per day or week, for example). That is given by the derivative of Eq. (Eq:xIsol):
(Eq:EC)dxI(t)dt=2n(βγ)2[(βγ)n2β]e(βγ)t[2β+[(βγ)n2β]e(βγ)t]2.
The graph of this derivative is known as the epidemic curve. An example epidemic curve is shown below.
Figure EC. A sample epidemic curve, Eq. (Eq:EC). The parameters are the same as in Figure SP above.




Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic