Epidemic Models (A Requested Special Topic…)

36-462/662, Spring 2020

16 April 2020 (small revisions, 20 April 2020)

Simple Epidemic Models

Stochastic Form of the SIR Model (1)

Stochastic Form of the SIR Model (2)

SIR is easy to simulate

sim.SIR <- function(n, beta, gamma, s.initial=n-1, i.initial=1, r.initial=0, T) {
    stopifnot(s.initial+i.initial+r.initial == n)
    states <- matrix(NA, nrow=3, ncol=T)
    rownames(states) <- c("S", "I", "R")
    states[,1] <- c(s.initial, i.initial, r.initial)
    for (t in 2:T) {
        contagions <- rbinom(n=1, size=states["S",t-1],
                             prob=beta*states["I",t-1]/n)
        removals <- rbinom(n=1, size=states["I",t-1],
                           prob=gamma)
        states["S",t] <- states["S",t-1] - contagions
        states["I",t] <- states["I",t-1] + contagions - removals
        states["R",t] <- states["R",t-1] + removals
    }
    return(states)
}    

What One Simulation Looks Like

Multiple Simulations with the Same Settings

What If We Make Contagion Harder?

```

Maybe Not Quite That Much Harder?

Go Back to the Original Ease of Contagion, But Make Removal Faster

Some Suggestions from Those Simulations

Deterministic limit

\[\begin{eqnarray} S(0) + I(0) + R(0) & = & n\\ \frac{dS}{dt} & = & -\frac{\beta}{n} S(t)I(t)\\ \frac{dI}{dt} & = & \frac{\beta}{n} I(t)S(t) - \gamma I(t)\\ \frac{dR}{dt} & = & \gamma I(t) \end{eqnarray}\]

Simulating the Deterministic Limit

Go back to the original parameter values:

Is There Going to be an Epidemic?

The Epidemic Threshold, Illustrated

(Details: tracing out to a maximum of 6 rounds of growth; assuming a geometric distribution for the number of new infections, with the mean given by \(R_0\); color-coded by generation)

Relating \(R_0\) to SIR Parameters (1)

Relating \(R_0\) to SIR Parameters (2)

Qualitative Results for the Deterministic Model

Back-of-the-envelope SIR Modeling for Covid-19 in the USA

What Did This Predict?

How Well Did This Do?

Extending the Basic SIR Model

Aside: Why diseases do not always evolve to be less deadly

Social Network Structure

\(R_0\) on Networks

The Degree Distribution for a Random Friend

Back to \(R_0\) on Networks

(because \(\mathrm{Var}\left[ K \right] = \mathbf{E}\left[ K^2 \right] - \mathbf{E}\left[ K \right]^2\) for any variable)

Epidemic Threshold on Networks

Implications for Disease Control

Complications to the Basic Network Analysis

Some implications for the present situation

Connecting to Data

Backup: Non-basic reproductive numbers

Backup: From the stochastic to the deterministic SIR model

Backup: Exponential growth at the start of the epidemic in the deterministic SIR model

Backup: Eliminating parameters from the deterministic SIR model

Backup: Slightly more rigorous calculation of the epidemic threshold on networks (1)

(Adapted from Newman (2002), with fewer generating functions)

Backup: Slightly more rigorous calculation of the epidemic threshold on networks (2)

Backup: Slightly more rigorous calculation of the epidemic threshold on networks (3)

How does any of this help???

Backup: “Mean-field” approximations to epidemic models on networks

Further Reading

References

Arnol’d, V. I. 1973. Ordinary Differential Equations. Cambridge, Massachusetts: MIT Press.

Bacaër, Nicolas. 2011. A Short History of Mathematical Population Dynamics. London: Springer-Verlag.

Bartlett, M. S. 1960. Stochastic Population Models in Ecology and Epidemiology. London: Methuen.

Boccara, Nino. 2004. Modeling Complex Systems. Berlin: Springer-Verlag.

Cohen, Reuven, Keren Erez, Daniel ben-Avraham, and Shlomo Havlin. 2000. “Resilience of the Internet to Random Breakdowns.” Physical Review Letters 85:4626–8. https://doi.org/10.1103/PhysRevLett.85.4626.

———. 2001. “Breakdown of the Internet Under Intentional Attack.” Physical Review Letters 86:3682–3685</a. https://doi.org/10.1103/PhysRevLett.86.3682.

Daley, D. J., and J. Gani. 1999. Epidemic Modelling: An Introduction. Cambridge, England: Cambridge University Press.

Davis, S., P. Trapman, H. Leirs, M. Begon, and J. A. P. Heesterbeek. 2008. “The Abundance Threshold for Plague as a Critical Percolation Phenomenon.” Nature 454:634–37. https://doi.org/10.1038/nature07053.

Ellner, Stephen P., and John Guckenheimer. 2006. Dynamic Models in Biology. Princeton, New Jersey: Princeton University Press.

Ewald, Paul W. 1996. Evolution of Infectious Disease. New York: Oxford University Press.

Gallagher, Shannon, Lee F. Richardson, Samuel L. Ventura, and William F. Eddy. 2018. “SPEW: Synthetic Populations and Ecosystems of the World.” Journal of Computational and Graphical Statistics 27:773–84. https://doi.org/10.1080/10618600.2018.1442342.

Grimmett, Geoffrey. 1999. Percolation. Second. Berlin: Springer-Verlag.

Grimmett, G. R., and D. R. Stirzaker. 1992. Probability and Random Processes. 2nd ed. Oxford: Oxford University Press.

Guttorp, Peter. 1995. Stochastic Modeling of Scientific Data. London: Chapman; Hall.

Imai, Natsuko, Anne Cori, Ilaria Dorigatti, Marc Baguelin, Christl A. Donnelly, Steven Riley, and Neil M. Ferguson. 2020. “Transmissibility of 2019-nCoV.” 3. MRC Centre for Global Infectious Disease Analysis. https://www.imperial.ac.uk/mrc-global-infectious-disease-analysis/covid-19/report-3-transmissibility-of-covid-19/.

Javan, Emily, Spencer J. Fox, and Lauren Ancel Meyers. 2020. “Probability of Current COVID-19 Outbreaks in All US Counties.” E-print, medRxiv 2020.04.06.20053561. https://doi.org/10.1101/2020.04.06.20053561.

Kiss, István Z., Joel C. Miller, and Péter L. Simon. 2017. Mathematics of Epidemics on Networks: From Exact to Approximate Models. New York: Springer. https://doi.org/10.1007/978-3-319-50806-1.

May, R. M., and R. M. Anderson. 1988. “The Transmission Dynamics of Human Immunodeficiency Virus (Hiv).” Philosophical Transactions of the Royal Society of London B 321:565–607. https://doi.org/10.1098/rstb.1988.0108.

Miller, Joel C. 2012. “A Note on the Derivation of Epidemic Final Sizes.” Bulletin of Mathematical Biology 74:2125–41. https://doi.org/10.1007/s11538-012-9749-6.

Newman, Mark E. J. 2002. “The Spread of Epidemic Disease on Networks.” Physical Review E 66:016128. https://doi.org/10.1103/PhysRevE.66.016128.

Pastor-Satorras, Romualdo, and Alessandro Vespignani. 2002. “Immunization of Complex Networks.” Physical Review E 65:036104. https://doi.org/10.1103/PhysRevE.65.036104.

Saint-Onge, Guillaume, Vincent Thibeault, Antoine Allard, Louis J. Dubé, and Laurent H’bert-Dufresne. 2020. “School Closures, Event Cancellations, and the Mesoscopic Localization of Epidemics in Networks with Higher-Order Structure.” E-print, arxiv:2003.05924. http://arxiv.org/abs/2003.05924.

Smith, Laura M., Kristina Lerman, Cristina Garcia-Cardona, Allon G. Percus, and Rumi Ghosh. 2013. “Spectral Clustering with Epidemic Diffusion.” Physical Review E 88:042813. https://doi.org/10.1103/PhysRevE.88.042813.

Soetaert, Karline, Thomas Petzoldt, and R. Woodrow Setzer. 2010. “Solving Differential Equations in R: Package deSolve.” Journal of Statistical Software 33 (9):1–25. https://doi.org/10.18637/jss.v033.i09.

Zinsser, Hans. 1935. Rats, Lice and History: Being a Study in Biography, Which, After Twelve Preliminary Chapters Indispensable for the Preparation of the Lay Reader, Deals with the Life History of Typhus Fever. Boston: Little, Brown.