Algorithm Search⌘K

Theoremcore

Final size relation

Also called final epidemic size equation.

In the SIR model the fraction z ever infected solves 1 - z = e^(-R0 z), which has a positive root exactly when R0 > 1.

The final size relation is the equation for the fraction zz of a population that is ever infected in an SIR epidemic. In the Kermack-McKendrick model, with homogeneous mixing and an epidemic that starts from a very small number of cases in a fully susceptible population, zz solves z=1−e−R0zz = 1 - e^{-R_0 z}, where R0R_0 is the basic reproduction number. The equation does not depend on any other parameter, it has no solution in closed form with elementary functions, and its positive root is always larger than the herd immunity threshold 1−1/R01 - 1/R_0. The same equation gives the size of the giant component of an Erdos-Renyi random graph, a link through percolation.

Statement

Consider the Kermack-McKendrick SIR model

dSdt=−βSIN,dIdt=βSIN−γI,dRdt=γI,\frac{dS}{dt} = -\frac{\beta S I}{N}, \qquad \frac{dI}{dt} = \frac{\beta S I}{N} - \gamma I, \qquad \frac{dR}{dt} = \gamma I,

with R0=β/γR_0 = \beta / \gamma and the initial fractions s0=S(0)/N>0s_0 = S(0)/N > 0, i0=I(0)/N>0i_0 = I(0)/N > 0 and r(0)=0r(0) = 0, so that s0+i0=1s_0 + i_0 = 1.

Theorem.

  1. The limits s∞=lim⁡t→∞S(t)/Ns_\infty = \lim_{t \to \infty} S(t)/N and r∞=lim⁡t→∞R(t)/Nr_\infty = \lim_{t \to \infty} R(t)/N exist, I(t)→0I(t) \to 0, and s∞≥s0e−R0>0s_\infty \ge s_0 e^{-R_0} > 0.
  2. The limit s∞s_\infty is the only root in (0,s0)(0, s_0) of the equation ln⁡(s0/s∞)=R0(1−s∞)\ln(s_0 / s_\infty) = R_0 (1 - s_\infty).
  3. Let z=1−s∞z = 1 - s_\infty, the fraction ever infected, and let i0→0i_0 \to 0. Then zz converges to the largest root in [0,1)[0, 1) of the equation z=1−e−R0zz = 1 - e^{-R_0 z}. If R0≤1R_0 \le 1, this root is z=0z = 0. If R0>1R_0 > 1, it is the only root in (0,1)(0, 1), and it satisfies 1−1/R0<z<11 - 1/R_0 < z < 1.

In plain words

Take a large town where nobody is immune, and let a few people bring in a new infection. Count, at the end, how many people ever caught it. That share depends only on one number: how many people one case infects in a town of people who can all catch it. If that number is at most one, almost nobody gets infected. If it is larger than one, a fixed share of the town is infected, and some people are never infected at all, because the infection runs out of new people to reach before it reaches everyone. The share infected is also always larger than the share that would have been enough to stop the spread. The epidemic overshoots, because many people are still sick when the spread begins to slow down, and each of them still infects others.

Proof

Step 1: an exact first integral. From the equations for SS and RR,

ddtln⁡S=−βIN=−R0NdRdt.\frac{d}{dt} \ln S = -\frac{\beta I}{N} = -\frac{R_0}{N} \frac{dR}{dt}.

Integrate from 0 to tt, and use the fractions s=S/Ns = S/N and r=R/Nr = R/N with r(0)=0r(0) = 0:

ln⁡s(t)s0=−R0 r(t).(1)\ln \frac{s(t)}{s_0} = -R_0\, r(t). \tag{1}

Step 2: the limits exist. SS decreases and is bounded below by 0, and RR increases and is bounded above by NN, so both have limits, and I=N−S−RI = N - S - R has a limit too. If I(t)→I∞>0I(t) \to I_\infty > 0, then dR/dt=γIdR/dt = \gamma I would make RR grow without bound, which is impossible. So I(t)→0I(t) \to 0 and r∞=1−s∞r_\infty = 1 - s_\infty. From (1) with r(t)≤1r(t) \le 1, s(t)≥s0e−R0s(t) \ge s_0 e^{-R_0}, so s∞>0s_\infty > 0: the epidemic ends with susceptibles left.

Step 3: the equation for the limit. Let t→∞t \to \infty in (1) and use r∞=1−s∞r_\infty = 1 - s_\infty. This gives ln⁡(s0/s∞)=R0(1−s∞)\ln(s_0 / s_\infty) = R_0 (1 - s_\infty). To show that the root is unique in (0,s0)(0, s_0), let

h(x)=ln⁡x−ln⁡s0+R0(1−x).h(x) = \ln x - \ln s_0 + R_0 (1 - x).

Then h(s∞)=0h(s_\infty) = 0. The function hh is strictly concave, h(x)→−∞h(x) \to -\infty as x→0x \to 0, and h(s0)=R0(1−s0)=R0i0>0h(s_0) = R_0 (1 - s_0) = R_0 i_0 > 0. A strictly concave function that is negative near 0 and positive at s0s_0 crosses zero exactly once in (0,s0)(0, s_0): after the first crossing it cannot fall below zero and rise again. Also s∞<s0s_\infty < s_0, because SS strictly decreases while I>0I > 0. So s∞s_\infty is the only root in (0,s0)(0, s_0).

Step 4: the roots of f(z)=1−e−R0z−zf(z) = 1 - e^{-R_0 z} - z. We have f(0)=0f(0) = 0, f(1)=−e−R0<0f(1) = -e^{-R_0} < 0, f′(z)=R0e−R0z−1f'(z) = R_0 e^{-R_0 z} - 1 and f′′(z)=−R02e−R0z<0f''(z) = -R_0^2 e^{-R_0 z} < 0, so ff is strictly concave.

  • If R0≤1R_0 \le 1, then f′(0)≤0f'(0) \le 0, and by concavity f′(z)<0f'(z) < 0 for z>0z > 0, so f<0f < 0 on (0,1](0, 1] and z=0z = 0 is the only root in [0,1][0, 1].
  • If R0>1R_0 > 1, then f′(0)>0f'(0) > 0, so f>0f > 0 just to the right of 0. With f(1)<0f(1) < 0, ff has a root in (0,1)(0, 1), and a strictly concave function has at most two roots, so the root z∗z^* in (0,1)(0, 1) is unique.

Step 5: the limit i0→0i_0 \to 0. With x=s∞x = s_\infty and s0=1−i0s_0 = 1 - i_0, the function hh converges to h0(x)=ln⁡x+R0(1−x)h_0(x) = \ln x + R_0 (1 - x), uniformly on compact subsets of (0,1](0, 1], and h0(1−z)=0h_0(1 - z) = 0 is the same as f(z)=0f(z) = 0. If R0>1R_0 > 1, the root 1−z∗1 - z^* of h0h_0 in (0,1)(0, 1) is a simple root, so the root of hh in (0,s0)(0, s_0) converges to it. If R0≤1R_0 \le 1, then h0<0h_0 < 0 on (0,1)(0, 1), so the root of hh in (0,s0)(0, s_0) must converge to 1, which means z→0z \to 0.

Step 6: the bounds. For R0>1R_0 > 1, f(1−1/R0)=1/R0−e−(R0−1)>0f(1 - 1/R_0) = 1/R_0 - e^{-(R_0 - 1)} > 0, because ey>1+ye^{y} > 1 + y for y=R0−1>0y = R_0 - 1 > 0 gives eR0−1>R0e^{R_0 - 1} > R_0. Since f>0f > 0 exactly on (0,z∗)(0, z^*), the point 1−1/R01 - 1/R_0 lies left of z∗z^*, so z∗>1−1/R0z^* > 1 - 1/R_0. And z∗<1z^* < 1 because f(1)<0f(1) < 0. ■\blacksquare

Consequences

Values. The positive root, found numerically:

R0R_0 1.1 1.2 1.5 2 2.5 3 4 5
zz 0.1761 0.3137 0.5828 0.7968 0.8926 0.9405 0.9802 0.9930
1−1/R01 - 1/R_0 0.0909 0.1667 0.3333 0.5 0.6 0.6667 0.75 0.8

You can check a value by hand: for R0=2R_0 = 2, 1−e−2⋅0.7968=1−e−1.5936=1−0.2032=0.79681 - e^{-2 \cdot 0.7968} = 1 - e^{-1.5936} = 1 - 0.2032 = 0.7968.

Overshoot. The infection stops growing when the susceptible fraction falls below 1/R01/R_0, which is the herd immunity threshold. But at that moment many people are still infectious, and they keep infecting others. For R0=2R_0 = 2, z≈0.797z \approx 0.797 against 1−1/R0=0.51 - 1/R_0 = 0.5: an overshoot of about 30 percent of the population.

Estimating R0R_0. The relation can be inverted: R0=−ln⁡(1−z)/zR_0 = -\ln(1 - z) / z. If a serological survey after an epidemic finds that half of the population was infected, R0=2ln⁡2≈1.386R_0 = 2 \ln 2 \approx 1.386. With pre-existing immunity in a fraction r(0)r(0) of the population, the same proof gives ln⁡(s0/s∞)=R0(1−r(0)−s∞)\ln(s_0 / s_\infty) = R_0 (1 - r(0) - s_\infty).

Near the threshold. Expand e−R0z≈1−R0z+R02z2/2e^{-R_0 z} \approx 1 - R_0 z + R_0^2 z^2 / 2 to get z≈2(R0−1)/R02z \approx 2 (R_0 - 1) / R_0^2, so zz grows linearly in R0−1R_0 - 1 just above 1. For R0=1.1R_0 = 1.1 this gives 0.1653, against the exact 0.1761.

The Lambert W form. With the principal branch W0W_0 of the Lambert W function, the inverse of w↦weww \mapsto w e^w,

z=1+W0(−R0e−R0)R0.z = 1 + \frac{W_0\left(-R_0 e^{-R_0}\right)}{R_0}.

To check it, put w=−R0(1−z)w = -R_0 (1 - z); then z=1−e−R0zz = 1 - e^{-R_0 z} becomes wew=−R0e−R0w e^{w} = -R_0 e^{-R_0}. The other real branch gives w=−R0w = -R_0, which is z=0z = 0.

Computing the root. The fixed-point iteration zk+1=1−e−R0zkz_{k+1} = 1 - e^{-R_0 z_k} from z0=1z_0 = 1 decreases monotonically to z∗z^*, because the map is increasing and its value at 1 is below 1. Its rate is the derivative at the root, R0e−R0z∗=R0(1−z∗)<1R_0 e^{-R_0 z^*} = R_0 (1 - z^*) < 1, which is about 0.41 for R0=2R_0 = 2. The Newton-Raphson method on ff converges quadratically from the same start.

Percolation. The giant component of the Erdos-Renyi graph G(n,c/n)G(n, c/n) holds a fraction SS of the nodes that solves S=1−e−cSS = 1 - e^{-c S}, the same equation with cc in place of R0R_0 (see giant component). The match is exact in the limit: if each infectious period has the same fixed length, the stochastic SIR epidemic is equivalent to bond percolation on the complete graph with an edge probability of about R0/NR_0 / N, and the people infected in a major outbreak are the giant cluster that contains the first case (Newman 2002). The chain binomial Reed-Frost model is this case.

The stochastic model. In the Markov chain version, the stochastic SIR model, an outbreak from one case either dies out early with a small final size or becomes a major outbreak. For large NN and R0>1R_0 > 1, a major outbreak has a final fraction close to z∗z^*. The probability of a major outbreak is not given by this relation; it comes from the branching process extinction theorem, and it is 1−1/R01 - 1/R_0 for an exponential infectious period.

Tightness

The relation needs homogeneous mixing. With groups that mix unevenly, each group has its own final size, and zi=1−exp⁡(−∑jKijzj)z_i = 1 - \exp\left(-\sum_j K_{ij} z_j\right), where KK is the next-generation matrix. For two groups of equal size with K=(3110.5)K = \begin{pmatrix} 3 & 1 \\ 1 & 0.5 \end{pmatrix}, R0=ρ(K)≈3.351R_0 = \rho(K) \approx 3.351, and the final sizes are z1≈0.974z_1 \approx 0.974 and z2≈0.739z_2 \approx 0.739, so the overall fraction is about 0.857. A homogeneous population with the same R0R_0 has z≈0.960z \approx 0.960. So the single equation overestimates the final size in this example; R0R_0 alone does not decide it.

On a contact network the final size depends on the degree distribution, through the percolation equations of the SIR model on networks, not only on R0R_0.

The distribution of the infectious period. The relation holds for any distribution of the infectious period, and also with a latent period, as in the SEIR model, because the final size depends only on the total infectiousness of one case (Ma and Earn 2006). The same holds if individuals differ in infectiousness, for example with super-spreaders. The time course changes, the final size does not.

Births and deaths. With births, new susceptibles arrive, the infection can become endemic, and the question of a final size does not arise.

The small initial condition. Part 3 is a limit. For a finite initial fraction i0i_0, use the exact relation of part 2. For example, with R0=2R_0 = 2 and i0=0.001i_0 = 0.001 in a population of 10000, the exact relation gives a final number of 7971.5 infected, against 10000⋅0.7968=796810000 \cdot 0.7968 = 7968 from the limit equation.

The threshold is sharp. For R0=1R_0 = 1 exactly, z=0z = 0 in the limit, and for R0=1+εR_0 = 1 + \varepsilon, z≈2εz \approx 2 \varepsilon, so the final size is continuous in R0R_0 but not differentiable at 1.

History

Kermack and McKendrick (1927) derived the threshold and the final size equation for a general model where the infectivity of an individual depends on the time since its infection; the SIR equations with constant rates are their special case. The equation became the standard result of the field and is in every textbook, for example Keeling and Rohani (2008, section 2.1.1). Ma and Earn (2006) showed how far it holds: for a latent stage, any number of infectious stages, stage durations of any distribution, individuals that differ in infectiousness, and a general class of spatial contact structures. It fails with some kinds of heterogeneous mixing, for example a core group of a sexually transmitted infection. The link with random graphs came later, through the mapping of SIR epidemics on networks to percolation (Newman 2002).

References

  1. W. O. Kermack and A. G. McKendrick, A contribution to the mathematical theory of epidemics, Proceedings of the Royal Society of London A 115(772), 1927, pages 700 to 721 (the threshold density and the equation for the final number of susceptibles)
  2. Junling Ma and David J. D. Earn, Generality of the final size formula for an epidemic of a newly invading infectious disease, Bulletin of Mathematical Biology 68(3), 2006, pages 679 to 702 (the formula holds with a latent stage, any number of infectious stages with durations of any distribution, transmission rates that vary between individuals, and a general class of spatial contact structures; it fails with some kinds of heterogeneous mixing, such as a core group)
  3. Matt J. Keeling and Pejman Rohani, Modeling Infectious Diseases in Humans and Animals, Princeton University Press, 2008, Section 2.1.1, SIR model without demography (2.1.1.1 the threshold phenomenon, 2.1.1.2 epidemic burnout)
  4. M. E. J. Newman, Spread of epidemic disease on networks, Physical Review E 66(1), 2002, the mapping of SIR epidemics on a contact network to bond percolation, and the outbreak size as the size of a giant cluster

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/X9Y6S3/text.yaml