Introduction to Infectious Disease Modelling

James Mba Azam, PhD

Epiverse-TRACE Initiative, London School of Hygiene and Tropical Medicine, UK

2024-10-12

An overview of infectious diseases

What are infectious diseases

A 3D graphical representation of Rotavirus virions.

A 3D graphical representation of Rotavirus virions.

Diseases can be classified according to:

  • Cause (e.g., infectious, non-infectious)
  • Duration (e.g., acute, chronic)
  • Mode of transmission (direct or indirect)
  • Impact on the host (e.g., fatal, non-fatal)

Note that these classifications are not mutually exclusive. Hence, a disease can be classified under more than one category at a time.

How are infectious diseases controlled?

  • In general, infectious disease control aims to reduce disease transmission.
  • The type of control used depends on the disease and its characteristics.
  • Broadly, there are two main types of control measures:
    • Pharmaceutical interventions (PIs)
    • Non-pharmaceutical interventions (NPIs)

Pharmaceutical interventions (PIs)

  • Pharmaceutical Interventions are medical interventions that target the pathogen or the host.

  • Examples:

    • Vaccines,
    • Antiviral drugs, and
    • Antibiotics.

Vaccination

  • Activates the host’s immune system to produce antibodies against the pathogen.
  • Generally applied to reduce the risk of infection and disease.
  • The most effective way to prevent infectious diseases.
Challenges with vaccination
  • Take time to develop for new pathogens
  • Never 100% effective and limited duration of protection
  • Adverse side effects
  • Some individuals cannot be vaccinated or refuce vaccination
  • Some pathogens mutate rapidly (e.g., influenza virus)
  • Logistical challenges (e.g., cold chain requirements)

Non-pharmaceutical interventions (NPIs)

  • Non-pharmaceutical interventions are measures that do not involve medical interventions.

  • Examples:

    • Quarantine,
    • Physical/social distancing, and
    • Mask-wearing.

Quarantine

  • Isolation of individuals who may have been exposed to a contagious disease.
  • Advantage is that it’s simple and its effectiveness does not depend on the disease.
  • Disadvantages include:
    • Infringement on individual rights
    • Can be difficult to enforce
    • Can be costly
    • Can lead to social stigma

Contact tracing

  • Contact tracing is used to identify exposed individuals, i.e., individuals who might been in contact with an infected/infectious individual.
  • It involves identifying, assessing, and managing people who have been exposed to a contagious disease to prevent further transmission.
  • It is a critical component of infectious disease surveillance and is often used in combination with other control measures.

Discussion

  • How can we quantify the impact of a control measure?

Infectious disease models

What are infectious disease models?

  • Models generally refer to conceptual representations of an object or system.
  • Mathematical models use mathematics to describe the system. For example, the famous \(E = mc^2\) is a mathematical model that describes the relationship between mass and energy.
  • Infectious disease models use mathematics/statistics to represent dynamics/spread of infectious diseases.
  • Mathematical models can be used to link the biological process of disease transmission and the emergent dynamics of infection at the population level.
  • Models require making some assumptions and abstractions.
  • By definition, “all models are wrong, but some are useful” (Box 1979).
    • Good enough models are those that capture the essential features of the system being studied.

George Box

George Box
  • What makes models “wrong” by definition?:
    • Simplifications of reality; not capturing all the complexities of the system being studied.

Factors that influence model formulation/choice

  • Accuracy: how well does the model to reproduce observed data and predict future outcomes?
  • Transparency: is it easy to understand and interpret the model and its outputs? (This is affected by the model’s complexity)
  • Flexibility: the ability of the model to be adapted to different scenarios.

What are models used for?

  • Generally, models can be used to predict and understand/explain the dynamics of infectious diseases.

Discussion

How are these two uses impacted by accuracy, transparency, and flexibility?

Prediction of the future course

  • Must be accurate.
  • “But the estimate proved to be off. Way, way off. Like, 65 times worse than what ended up happening.”

Understanding or explaining disease dynamics

  • Models can be used to understand how a disease spreads and how its spread can be controlled.
  • The insights gained from models can be used to:
    • inform public health policy and interventions.
    • design interventions to control the spread of the disease, for example, randomised controlled trials.
    • collect new data.
    • build predictive models.

Limitations of infectious disease models

  • Host behaviour is often difficult to predict.
  • The pathogen often has unknown characteristics or known characteristics that are difficult to model.
  • Data is often not available or is of poor quality.

Summary

  • Models:
    • Simplifications of reality and do not capture all the complexities of the system being studied.
    • Only as good as the data used to parameterize them.
    • Sensitive to the assumptions made during their formulation.
    • Computationally expensive and require a lot of data to run.
    • Difficult to interpret and communicate to non-experts.

Introduction to compartmental models

What are compartmental models?

  • Compartmental models:
    • divide populations into compartments (or groups) based on the individual’s infection status and track them through time (Blackwood and Childs 2018).
    • are mechanistic, meaning they describe processes such the interaction between hosts, biological processes of pathogen, host immune response, and so forth.

Compartmental models are different from statistical models, which are used to describe the relationship between variables.

  • Individuals in a compartment:
    • are assumed to have the same features (disease state, age, location, etc)
    • can only be in one compartment at a time.
    • move between compartments based on defined transition rates.
  • Common compartments:
    • Susceptible (S) - hosts are not infected but can be infected
    • Infected (I) - hosts are infected (and can infect others)
    • Removed (R) - hosts are no longer infected and cannot be re-infected

Infection timeline illustrating how a pathogen in a host interacts with the host’s immune system (Source: Modelling Infectious Diseases of Humans and Animals)

Infection timeline illustrating how a pathogen in a host interacts with the host’s immune system (Source: Modelling Infectious Diseases of Humans and Animals)
  • Other compartments can be added to the model to account for important events or processes (e.g., exposed, recovered, vaccinated, etc.)

  • It is, however, important to keep the model simple, less computationally intensive, and interpretable.

  • Compartmental models either have discrete or continuous time scales:
    • Discrete time scales: time is divided into discrete intervals (e.g., days, weeks, months).
    • Continuous time scales: time is continuous and the model is described using differential equations.
  • Compartmental models can be deterministic or stochastic:
    • Deterministic models always return the same output for the same input.
    • Stochastic models account for randomness in the system and model output always varies. Hence, they are often run multiple times to get an average output.
  • The choice of model type depends on:
    • the research question,
    • data availability,
    • computational resources,
    • modeller skillset.
  • In this introduction, we will focus on deterministic compartmental models with continuous time scales.
  • Now, back to the models, we are going to consider infections that either confer immunity after recovery or not.
  • The simplest compartmental models for capturing this is the SIR model.

The Susceptible-Infected-Recovered (SIR) model

This model groups individuals into three disease states:

  • Susceptible (S): not infected but can be.

  • Infected (I): infected & infectious.

  • Recovered/removed (R): recovered & immune.

How do individuals move between compartments?

Process 1: Transmission

What drives transmission?

  • Transmission is driven by several factors, including:
    • Disease prevalence, \(I\), i.e., number of infected individuals at the time.
    • The number of contacts, \(C\), susceptible individuals have with infected individual.
    • The probability, \(p\), a susceptible individual will become infected when they contact an infected individual.

The transmission term is often defined through the force of infection (FOI), \(\lambda\).

A tour of the force of infection (FOI)

  • FOI, \(\lambda\), is the per capita rate at which susceptible individuals become infected.

Note

“Per capita” means the rate of an event occurring per individual in the population per unit of time.

  • Given the rate per individual per time, FOI, the rate at which new infecteds are generated is given by \(\lambda \times S\), where \(S\) is the number of susceptible individuals.
  • The force of infection is made up of the probabilities/rates that:
    • contacts happen, \(c\),
    • a given contact is with an infected individual, \(p\), and
    • a contact results in successful transmission, \(v\).
  • The FOI can be formulated in two ways, depending on how the contact rate is expected to change with the population size:
    • Frequency-dependent/mass action transmission
    • Density-dependent transmission

Frequency-dependent/mass action transmission

The rate of contact between individuals is constant irrespective of the population density, \(\dfrac{N}{A}\), where \(N\) is the population size and \(A\) is the area occupied by the population.

  • Recall that transmission also depends on the probability of contact with an infected host, \(p\), which is assumed to be \(\dfrac{I}{N}\).

  • Hence, the frequency-dependent mass action is given by \(\lambda = \beta \times \dfrac{I}{N}\), where \(\beta\) is the transmission rate.

Question

Why does the frequency-dependent transmission contain \(\dfrac{1}{N}\) if it does not depend on the population density?

  • Assume that the rate of new infections is given by \(\dfrac{dI}{dt} = S \times c \times p \times v\) where \(S\) is the number of susceptible hosts, \(c\) is the contact rate, and \(p\) is the probability of contact with an infected host, and \(v\) is the probability of transmission per contact.
  • \(p\) is usually assumed to be the disease prevalence, \(\dfrac{I}{N}\).

  • Hence, the rate of new infections, \(\dfrac{dI}{dt} = S \times c \times \dfrac{I}{N} \times v\).

  • In frequency dependent transmission, the contact rate \(c\) is also assumed to be constant, say \(c = \eta\) irrespective of population density, \(\dfrac{N}{A}\), where \(N\) is the population size and \(A\) is the area occupied by the population.
  • Hence, \(\dfrac{dI}{dt} = S \times \eta \times v \times \dfrac{I}{N}\)
  • Therefore, \(\dfrac{dI}{dt} = \beta S \times \dfrac{I}{N}\), where \(\beta = \eta \times v\), and \(\lambda = \beta \times \dfrac{I}{N}\).
  • Frequency-dependent/mass action transmission is often used to model sexually-transmitted diseases and diseases with heterogeneity in contact rates.
  • Sexual transmission in this case does not depend on how many infected individuals are in the population.

Density dependent transmission

  • The rate of contact between individuals depends on the population density, \(\dfrac{N}{A}\).

  • Transmission also depends on \(p\) - the probability that a given contact is with an infected individual, often taken to be \(\dfrac{I}{N}\).

  • The density-dependent transmission is therefore given as \(\lambda = \beta \times \dfrac{I}{A}\).

  • Here, because transmission increases with the density of infected individuals, it is called density-dependent transmission.

Note

  • Notice that \(\lambda = \beta \times \dfrac{I}{N} \times \dfrac{N}{A}\) and the \(N's\) cancel out.

  • \(A\) is often ignored.

  • Density dependent transmission can be used to model airborne and directly transmitted diseases, for example, measles.

Density-dependent vs frequency dependent transmission

This is one of the most confused and debated concepts in disease modelling. Several studies have attempted to clarify it, including the brilliant work by Begon et al. (2002). Most of the clarifications provided here are based on this paper.

  • We will only use the density-dependent formulation in this course.

Process 2: Recovery

Recovery, governed by the recovery rate, \(\gamma\) (rate at which infected individuals recover and become immune).

Some notes on the recovery process
  • If the duration of infection is \(\dfrac{1}{\gamma}\), then the rate at which infected individuals recover is \(\gamma\).

  • The average infectious period is often estimated from epidemiological data.

Note

You will learn about parameter estimation in the model fitting and calibration lectures.

Source: Anderson and May (1982)

Source: Anderson and May (1982)

Putting it all together

An SIR model with transmission rate, \beta, and recovery rate, \gamma.

An SIR model with transmission rate, \(\beta\), and recovery rate, \(\gamma\).

Formulating the model equations

Continuous time compartmental models are formulated using differential equations that describe the change in the number of individuals in each compartment over time.

The SIR model can be formulated as:

\[\begin{align*} \frac{dS}{dt} & = \dot{S} = \color{orange}{-\beta S I} \\ \frac{dI}{dt} & = \dot{I} = \color{orange}{\beta S I} - \color{blue}{\gamma I} \\ \frac{dR}{dt} & = \dot{R} = \color{blue}{\gamma I} \end{align*}\]

where \(\beta\) is the transmission rate, and \(\gamma\) is the recovery rate.

The initial conditions are given by:

\[\begin{equation*} \begin{aligned} S(0) & = N - 1,\\ I(0) & = 1, \text{and} \\ R(0) & = 0. \end{aligned} \end{equation*}\]

where \(N\) is the total population size.

Note

  • We represent the compartments as population sizes.:
    • Some modellers often use proportions instead of population sizes as a way to remove the dimensions from the equations.

Model assumptions

  • The population is closed: no births, deaths, or migration.
    • Implicitly: the epidemic occurs much faster than the time scale of births, deaths, or migration.
  • Individuals are infectious immediately after infection and remain infectious until they recover.
  • Mixing is homogeneous, i.e., individuals mix randomly:

  • Individuals have an equal probability of coming into contact with any other individual in the population.

  • Transition rates are constant and do not change over time.

  • Individuals acquire “lifelong” immunity after recovery.

Discussion

  • What diseases do you think the SIR model is appropriate for?
  • The SIR model is appropriate for diseases that confer immunity after recovery. For example, measles and chicken pox.
  • Popularised by Kermack and McKendrick in 1927 (Kermack and McKendrick 1927)
    • A must-read paper for budding infectious disease modellers.

What questions can we answer with the SIR model?

  • The SIR model can be used to understand the dynamics of an epidemic:
    • How long will the epidemic last?
    • How many individuals will be infected (final epidemic size)?
    • When will the epidemic reach its peak?

Solving the SIR model

  • Compartmental models cannot be solved analytically.

  • We often perform two types of analyses to understand the long term dynamics of the model:

    • Qualitative: threshold phenomena and analysis of equilibria (disease-free and endemic).
    • Numerical simulations.

Note

  • For this introductory course, we will use focus on simulation.
  • But first, let’s do some qualitative analysis of the SIR.

Threshold phenomena

  • Here, we study the conditions under which an epidemic will grow or die out using the model equations.
  • Consider the case where \(I(0) = 1\) individual is introduced into a population of size \(N\) at time \(t = 0\).

  • That means in a completely susceptible population, we have \(S(0) = N - 1\) susceptible individuals.

  • At time 0, the disease will not spread if the rate of change of infections is negative, that is \(\dfrac{dI}{dt} < 0\).

  • Recall from the SIR model that \(\dfrac{dI}{dt} = \beta S I - \gamma I\).

  • Let’s solve this equation at \(t = 0\) by setting \(I = 1\), assuming \(\dfrac{dI}{dt} < 0\).

At \(t = 0\), we have

\[\begin{equation*} \frac{dI}{dt} = \beta S I - \gamma I < 0 \end{equation*}\]

Factor out \(I\), and we get

\[\begin{equation*} I (\beta S - \gamma) < 0 \end{equation*}\]

  • Since at \(t=0\)\(, I > 0\), we have \(S < \dfrac{\gamma}{\beta}\).

  • \(\dfrac{\gamma}{\beta}\) is the relative removal rate.

  • Interpretation:

    • At \(t = 0\), \(S\) must be less than \(\dfrac{\gamma}{\beta}\) for the epidemic to die out.
    • If the rate of removal/recovery is greater than the transmission rate, the epidemic will die out.
    • Any infection that cannot transmit to more than one host is going to die out.

For the SIR model, the quantity \(\dfrac{\beta}{\gamma}\) is called the reproduction number, \(R0\) (pronounced “R naught” or “R zero”).

The basic reproduction number, R0

  • The basic reproduction number, \(R0\), is the average number of secondary infections generated by a single primary infection in a completely susceptible population.

  • The basic reproduction number is a key quantity in infectious disease epidemiology.

  • It is often represented as a single number or a range of high-low values.
    • For example, the \(R0\) for measles is popularly known to be \(12\) - \(18\) (Guerra et al. 2017).
  • \(R0\) is often used to express the threshold phenomena in infectious disease epidemiology:
    • If \(R0 > 1\), the epidemic will grow.
    • If \(R0 < 1\), the epidemic will decline.
  • A pathogen’s \(R0\) value is determined by biological characteristics of the pathogen and the host’s behaviour.
  • Conceptually, \(R0\) is given by

\[ R0 \propto \dfrac{\text{Infection}}{\text{Contact}} \times \dfrac{\text{Contact}}{\text{Time}} \times \dfrac{\text{Time}}{\text{Infection}} \]

  • \(R0\) is unitless and dimensionless.

Numerical simulations

  • Numerical simulations can be performed with any programming language.

  • This course focuses on the R programming language because:

    • It is a popular language for data analysis and statistical computing.
    • It has a rich ecosystem of packages for solving differential equations.
    • It is free and open-source.
  • In R, we can use the {deSolve} package to solve the differential equations.

  • To solve the model in R with {deSolve}, we will always need to define at least three things:

    • The model equations.
    • The initial parameter values.
    • The initial conditions (population sizes).

Practicals

  • Let’s do a code walk through in R using the script sir.Rmd.

Discussion

  • What happens if we increase or decrease the value of \(R0\)?
  • What happens if we increase or decrease the value of the infectious period?
  • How can we flatten the curve?

The Susceptible-Exposed-Infected-Recovered (SEIR) Model

Timeline of infection. Source: Keeling & Rohani, 2008

Timeline of infection. Source: Keeling & Rohani, 2008

The SARS-COV-2 virus

The SARS-COV-2 virus

The Ebola virus

The Ebola virus
  • Some diseases have an latent/exposed period during which individuals are infected but not yet infectious. Examples include pertussis, COVID-19, and Ebola.
  • Disease transmission does not occur during the latent period because of low levels of the virus in the host.

  • The SEIR model extends the SIR model to include an exposed compartment, \(E\).
  • \(E\): infected but are not yet infectious.
  • Individuals stay in \(E\) for \(1/\sigma\) days before moving to \(I\).

Model equations: \[\begin{align*} \frac{dS}{dt} & = -\beta S I \\ \frac{dE}{dt} & = \beta S I - \color{orange}{\sigma E} \\ \frac{dI}{dt} & = \color{orange}{\sigma E} - \gamma I \\ \frac{dR}{dt} & = \gamma I \end{align*}\]

SEIR model with births and deaths

  • Let’s relax the assumption about births and deaths in the population.

  • We will assume that the susceptible population is replenished with new individuals at a constant rate, \(\mu\).

  • We will also assume that everyone dies at a constant rate, \(\mu\).

Our model schematic now looks like this:

The model equations now become:

\[\begin{align} \frac{dS}{dt} & = \color{green}{\mu N} - \beta S I - \color{blue}{\mu} S \\ \frac{dE}{dt} & = \beta S I - \sigma E - \color{blue}{\mu} E \\ \frac{dI}{dt} & = \sigma E - \gamma I - \color{blue}{\mu} I \\ \frac{dR}{dt} & = \gamma I - \color{blue}{\mu} R \end{align}\]

Discussion

What is the \(R0\) of the SEIR model?

The R0 of the SEIR Model

Note

Using the next generation matrix approach, we can show that the SEIR model with constant births and deaths has \[R0 = \dfrac{\beta \sigma}{(\gamma + \mu)(\sigma + \mu)}\].

Numerical simulations

R Practicals

  • We can use the same approach as the SIR model to simulate the SEIR model.

  • Modify the sir.Rmd script to simulate the SEIR model.

Modelling epidemic control

Note

For a recap on the various control measures, refer to Section 1.2.

Vaccination

For a background on vaccination, refer to Section 1.2.1.1.

  • Vaccination is one of the most effective ways to control infectious diseases.
  • Conceptually, vaccination works to reduce the number of susceptible individuals, \(S\).
  • There are different types of vaccination strategies, including:

    • pediatric vaccination: vaccinating children to prevent the spread of diseases.
    • mass/random vaccination: vaccinating a large proportion of the population.
    • targeted vaccination: vaccinating specific groups of individuals, example, healthcare workers.
    • pulse vaccination: periodically vaccinating a large number of individuals.
  • Let’s consider the case of mass/random vaccination.

  • Compartmental models can be extended to capture this by adding a new compartment, \(V\).

  • Let’s consider the SEIR model with vaccination.

The Susceptible-Exposed-Infected-Recovered-Vaccinated (SEIRV) Model

  • The SEIRV model is simply the SEIR model with a vaccinated compartment, \(V\).
  • The vaccinated compartment represents previously susceptible individuals who have been vaccinated and are immune to the disease.
  • The vaccinated compartment is:

    • not infectious and does not move to the exposed or infectious compartments.

    • replenished by the rate of vaccination, \(\eta\).

The model diagram and equations are as follows:

\[\begin{align} \frac{dS}{dt} & = -\beta S I - \eta S \\ \frac{dE}{dt} & = \beta S I - \sigma E \\ \frac{dI}{dt} & = \sigma E - \gamma I \\ \frac{dR}{dt} & = \gamma I \\ \frac{dV}{dt} & = \eta S \end{align}\]

where \(\eta\) is the rate of vaccination.

Discussion

  • What are some of the assumptions of the SEIRV model?

  • What are the implications of these assumptions for the model’s predictions?

Numerical simulations

R Practicals

  • We can use the same approach as the SIR and SEIR models to simulate the SEIRV model.

  • Modify the seir.Rmd script to simulate the SEIRV model.

Non-Pharmaceutical Interventions (NPIs)

For a background on non-pharmaceutical interventions, refer to Section 1.2.2.

  • Conceptually, NPIs usually act to either reduce the transmission rate, \(\beta\) or prevent infected individuals from transmitting.

  • NPIs like isolation, social distancing and movement restrictions can reduce the transmission rate, \(\beta\), by reducing the contact rate between susceptible and infectious individuals.

  • Hygiene measures reduce the probability of transmission per contact, thereby reducing the transmission rate, \(\beta\), since \(\beta = c \times p\).

  • Let’s consider two scenarios that will extend the SIR model to include NPIs:

    1. Modifying the transmission rate, \(\beta\).
    2. Preventing infected individuals from transmitting through isolation.

Modifying the transmission rate

  • NPIs such as social distancing, mask-wearing, and hand hygiene can reduce the transmission rate, \(\beta\).

  • We can model this by making the transmission rate a function of time, \(\beta (t)\).

The modified SIR model with a reduced transmission rate is as follows:

\[\begin{align*} \frac{dS}{dt} & = -\beta (t) S I \\ \frac{dI}{dt} & = \beta (t) S I - \gamma I \\ \frac{dR}{dt} & = \gamma I \end{align*}\]
  • The simplest form is to reduce \(\beta\) by an NPI efficacy, say \(\epsilon\).

  • Assuming the NPI is implemented between \(t_{\text{npi\_start}}\) and \(t_{\text{npi\_end}}\), it means that \(\beta\) remains the same before that period and is modified to \((1- \epsilon)\beta\) during the period of the NPI, where \(0 \leq \epsilon \leq 1\).

  • With this knowledge, we can define \(\beta (t)\) mathematically as:

\[\begin{equation*} \beta(t) = \begin{cases} \beta & \text{if } t < t_{\text{npi\_start}} \text{ or } t > t_{\text{npi\_end}} \\ (1 - \epsilon) \beta & \text{if } t_{\text{npi\_start}} \le t \le t_{\text{npi\_end}} \end{cases} \end{equation*}\]

R Practicals

  • Let’s open the script file sir_npi.R and follow along.

NPIs as compartments

  • In the previous example, we retained the SIR model structure and modified the transmission rate.

  • We can also model NPIs as compartments in the model. This is useful when we want to treat individuals affected by the NPIs differently.

  • For example, isolation is an NPI that prevents infected individuals from transmitting the disease.

  • This means that infected individuals in isolation do not contribute to the transmission of the disease and need to be removed from the infected compartment.

  • Moving isolated individuals to a separate compartment allows us to track them separately in the model and apply relevant parameters.

  • We can model this by introducing a new compartment, \(Q\), for isolating infected individuals.

  • Let’s assume, infected individuals move to the isolated compartment at a rate, \(\delta\).

  • Infected individuals in the isolated compartment do not transmit the disease.

The modified SIR model with isolated is as follows:

\[\begin{align*} \frac{dS}{dt} & = -\beta S I \\ \frac{dI}{dt} & = \beta S I - \gamma I - \delta I \\ \frac{dR}{dt} & = \gamma I + \tau Q \\ \frac{dQ}{dt} & = \delta I - \tau Q \end{align*}\]

where \(\delta\) is the rate at which infected individuals move to the isolated compartment, and \(\tau\) is the rate at which individuals recover from isolation.

R Practicals
  • We can use the same approach as the SIR model to simulate the model with isolation.
  • Modify the SIR model in sir.Rmd to incorporate the isolated compartment, \(Q\) and the relevant parameters.

Brief notes on modelling host heterogeneity

  • The models we have discussed so far assume that all individuals in the population are identical.

  • However, in reality, individuals differ in their susceptibility to infection and their ability to transmit the disease.

  • It is essential to capture this heterogeneity in the models in order for the models to be more realistic and useful for decision-making.

  • This can be captured by incorporating heterogeneity into the models.

  • Heterogeneity is often captured by stratifying the population into different groups.

Age structure

  • For many infectious diseases, the risk of infection and the severity of the disease vary by age.

  • Hence, it is essential to capture age structure in the models.

  • To do this, we divide the population into different age groups and model the disease dynamics within each age group.

  • Let’s extend the SIR model to include age structure.

  • We will divide the population into \(n\) age groups.

  • Because the homogeneous model has 3 compartments, the age structured one will have \(3n\) compartments: \(S_1, I_1, R_1, S_2, I_2, R_2, ..., S_n, I_n, R_n\).

  • The (compact) model equations are as follows:

\[\begin{align*} \dfrac{dS_i}{dt} &= -\sum_{j=1}^{n} \beta_{ji} S_i I_j \\ \dfrac{dI_i}{dt} &= \sum_{j=1}^{n} \beta_{ji} S_i I_j - \gamma I_i \\ \dfrac{dR_i}{dt} &= \gamma I_i \end{align*}\]

  • The model can be used to study the impact of age structure on the dynamics of the epidemic.

  • For example, we can study the impact of vaccinating different age groups on the dynamics of the epidemic.

Other Heterogeneities

  • Other forms of heterogeneity that can be incorporated into the models include:
    • Spatial heterogeneity
    • Temporal heterogeneity
    • Contact heterogeneity
    • Heterogeneity in host behavior

Final Remarks

Takeaways

In the last two days, we have covered a lot of ground. Here are some key takeaways:

  • Infectious diseases are a major public health concern that can have devastating consequences.

  • Mathematical models are essential tools for studying the dynamics of infectious diseases and informing public health decision-making.

  • Models are simplifications of reality that help us understand complex systems.

  • We have discussed several compartmental models, including the SIR, SEIR, and SEIRV models.

  • The SIR model is a simple compartmental model that divides the population into three compartments: susceptible, infected, and recovered.

  • The SEIR model extends the SIR model by adding an exposed compartment.

  • We can model various pharmaceutical and non-pharmaceutical interventions (NPIs) by modifying the transmission rate or adding new compartments.

  • We have discussed the basic reproduction number, \(R0\), which is a key parameter in infectious disease epidemiology.

  • \(R0\) is the average number of secondary infections produced by a single infected individual in a completely susceptible population.

  • If \(R0 > 1\), the disease will spread in the population; if \(R0 < 1\), the disease will die out.

  • Deriving the basic reproduction number, \(R0\), is an essential step in understanding the dynamics of infectious diseases.

  • Deriving \(R0\) for the simple SIR model is simple as we just need to study the threshold phenomena.

  • For more complex models, we can use the next-generation matrix approach to derive \(R0\).

  • Often, homogeneous models are not sufficient to capture the complexity of infectious diseases.

  • Incorporating heterogeneity into the models is essential for capturing the complexity of infectious diseases.

  • Age structure is a common form of heterogeneity that can be incorporated into the models.

  • Other forms of heterogeneity include spatial, temporal, and contact heterogeneity.

What skills are needed to build and use infectious disease models?

A non-exhaustive list of skills needed for modelling infectious diseases.

A non-exhaustive list of skills needed for modelling infectious diseases.

Contact Information

James Mba Azam, PhD

Epiverse-TRACE Initiative, London School of Hygiene and Tropical Medicine, UK

Email: james.azam@lshtm.ac.uk

ORCID: 0000-0001-5782-7330

Social Media:

LinkedIn: James Azam

Twitter: james_azam

GitHub: jamesmbaazam

This presentation is made available through a Creative Commons Attribution 4.0 International License

List of Resources

Textbooks

Infectious Diseases of Humans: Dynamics and Control by Roy M. Anderson and Robert M. May

Infectious Diseases of Humans: Dynamics and Control by Roy M. Anderson and Robert M. May

Infectious Disease Modelling by Emilia Vynnycky and Richard White

Infectious Disease Modelling by Emilia Vynnycky and Richard White

Modeling Infectious Diseases in Humans and Animals by Matt Keeling and Pejman Rohani

Modeling Infectious Diseases in Humans and Animals by Matt Keeling and Pejman Rohani

Epidemics: Models and Data Using R by Ottar N. Bjornstad

Epidemics: Models and Data Using R by Ottar N. Bjornstad

Papers and Articles

Modelling infectious disease transmission

  • Bodner, K., Brimacombe, C., Chenery, E. S., Greiner, A., McLeod, A. M., Penk, S. R., & Soto, J. S. V. (2021). Ten simple rules for tackling your first mathematical models: A guide for graduate students by graduate students. PLOS Computational Biology, 17(1), e1008539. https://doi.org/10.1371/journal.pcbi.1008539

  • Mishra, S., Fisman, D. N., & Boily, M.-C. (2011). The ABC of terms used in mathematical models of infectious diseases. Journal of Epidemiology & Community Health, 65(1), 87–94. https://jech.bmj.com/content/65/1/87

  • James, L. P., Salomon, J. A., Buckee, C. O., & Menzies, N. A. (2021). The Use and Misuse of Mathematical Modeling for Infectious Disease Policymaking: Lessons for the COVID-19 Pandemic. 41(4), 379–385. https://doi.org/10.1177/0272989X21990391

  • Holmdah, I., & Buckee, C. (2020). Wrong but useful—What COVID-19 epidemiologic models can and cannot tell us. New England Journal of Medicine. https://doi.org/10.1056/nejmp2009027

Deriving and Interpreting R0

  • Diekmann, O., Heesterbeek, J. A. P., & Roberts, M. G. (2010). The construction of next-generation matrices for compartmental epidemic models. Journal of the Royal Society Interface, 7(47), 873–885. https://doi.org/10.1098/rsif.2009.0386

Code repositories

  • epirecipes: Code for collate mathematical models of infectious disease transmission, with implementations in R, Python, and Julia.

  • Modeling Infectious Diseases in Humans and Animals: Code for the labelled programs in the book “Modeling Infectious Diseases in Humans and Animals”. They are generally available as C++, Fortran and Matlab files.

References

Anderson, Roy M, and Robert M May. 1982. “Directly Transmitted Infections Diseases: Control by Vaccination.” Science 215 (4536): 1053–60.
Begon, Michael, Malcolm Bennett, Roger G Bowers, Nigel P French, SM Hazel, and Joseph Turner. 2002. “A Clarification of Transmission Terms in Host-Microparasite Models: Numbers, Densities and Areas.” Epidemiology & Infection 129 (1): 147–53.
Blackwood, Julie C., and Lauren M. Childs. 2018. “An Introduction to Compartmental Modeling for the Budding Infectious Disease Modeler.” Letters in Biomathematics 5 (1): 195–221. https://doi.org/10.1080/23737867.2018.1509026.
Box, GE. 1979. “All Models Are Wrong, but Some Are Useful.” Robustness in Statistics 202 (1979): 549.
Diekmann, Odo, JAP Heesterbeek, and Michael G Roberts. 2010. “The Construction of Next-Generation Matrices for Compartmental Epidemic Models.” Journal of the Royal Society Interface 7 (47): 873–85.
Diekmann, Odo, Johan Andre Peter Heesterbeek, and Johan Anton Jacob Metz. 1990. “On the Definition and the Computation of the Basic Reproduction Ratio r 0 in Models for Infectious Diseases in Heterogeneous Populations.” Journal of Mathematical Biology 28: 365–82.
Guerra, Fiona M, Shelly Bolotin, Gillian Lim, Jane Heffernan, Shelley L Deeks, Ye Li, and Natasha S Crowcroft. 2017. “The Basic Reproduction Number (R0) of Measles: A Systematic Review.” The Lancet Infectious Diseases 17 (12): e420–28.
Kermack, William Ogilvy, and Anderson G McKendrick. 1927. “A Contribution to the Mathematical Theory of Epidemics.” Proceedings of the Royal Society of London. Series A, Containing Papers of a Mathematical and Physical Character 115 (772): 700–721.