Core concepts
Foundational ideas in epidemic modeling — differential equations, key quantities, and the model taxonomy. These concepts underpin every tool in this suite.
What is a differential equation?
Definition
A differential equation (DE) describes how a quantity changes over time. In epidemic modeling, we write dX/dt to mean "the rate of change of X with respect to time." For example, dI/dt = 5 means the number of infectious individuals is increasing by 5 per day at that moment.
Why DEs for epidemics?
Epidemics are dynamic processes — the number of susceptible, infectious, and recovered individuals all change simultaneously and influence each other. DEs capture these coupled changes naturally. The SIR model is a system of three DEs: one for S, one for I, one for R.
You don't need to solve DEs analytically to use epidemic models. Computers solve them numerically — evaluating the rate equations step by step (Euler method) or with higher accuracy (Runge-Kutta). The key skill is interpreting what each term in a DE means biologically.
The SIR model as a DE system
SIR differential equations
dS/dt = −β·S·I/NdI/dt = β·S·I/N − γ·I
dR/dt = γ·I
Reading the SIR equations term by term
β·S·I/N is the force of infection — the rate at which susceptibles become infected. It depends on β (transmission rate), the number of susceptibles S, and the proportion of the population that is infectious (I/N). γ·I is the recovery rate — infectious individuals recover at rate γ, with mean infectious duration 1/γ.
What each term means biologically
−β·S·I/N appears in dS/dt because susceptibles are leaving the S compartment. +β·S·I/N appears in dI/dt because those same individuals are entering I. −γ·I appears in dI/dt because infectious individuals leave I (recover). +γ·I appears in dR/dt. Notice: dS/dt + dI/dt + dR/dt = 0. The total population N is constant.
Every term in a well-specified DE system should have a biological interpretation. If you can't explain what a term means, the model may be misspecified.
Interactive SIR explorer
Adjust parameters to see how the epidemic curve changes.
β (transmission rate)
0.30
γ (recovery rate)
0.10
Population (N)
10,000
Basic reproduction number R₀
Definition
R₀ (R-naught) is the average number of secondary cases generated by one infectious individual in a completely susceptible population, in the absence of interventions. R₀ is a property of the pathogen and the contact structure of the population — not of the epidemic's current state.
What R₀ tells you
R₀ > 1: each case generates more than one new case on average — epidemic grows. R₀ = 1: endemic equilibrium. R₀ < 1: epidemic will die out. For the SIR model, R₀ = β/γ. For measles, R₀ ≈ 12–18. For COVID-19 (original strain), R₀ ≈ 2–3. For Omicron, R₀ ≈ 8–15.
R₀ determines the herd immunity threshold: HIT = 1 − 1/R₀. For measles (R₀ = 15), HIT ≈ 93% — this is why measles vaccination coverage must exceed 93% to prevent outbreaks.
Effective reproduction number Rₜ
Definition
Rₜ (R-effective) is the average number of secondary cases generated by one infectious individual at time t, accounting for the current proportion of susceptibles, immunity from prior infection or vaccination, and behavioral interventions. Rₜ = R₀ · S(t)/N in the basic SIR model.
R₀ vs Rₜ
R₀ is fixed for a given pathogen-population pair. Rₜ changes over time as susceptibles are depleted, immunity accumulates, and behaviors change. An epidemic peak occurs when Rₜ crosses 1 from above — each case is now generating less than one new case on average.
Rₜ is the key metric for real-time epidemic monitoring. Rₜ > 1 means the epidemic is growing; Rₜ < 1 means it's declining. Rₜ estimation requires careful accounting of reporting delays and the serial interval distribution.
R₀ / Rₜ interactive calculator
Serial interval, generation time, incubation period
Incubation period
The time from infection (exposure to the pathogen) to symptom onset. This is a property of the host-pathogen interaction. Varies across individuals — typically described by a lognormal or Weibull distribution. Example: COVID-19 incubation period ≈ 5 days (range 1–14 days).
Why it matters
The incubation period determines quarantine duration. If incubation is 14 days, a 14-day quarantine is needed to be confident an exposed individual is not infectious.
In SEIR models, the exposed period (1/σ) approximates the incubation period minus any pre-symptomatic infectious period.
Generation time
The time between infection of a primary case and infection of a secondary case generated by that primary case. Measures the biological transmission cycle. Requires knowing exact infection times — difficult to observe directly.
Why it matters
Generation time determines how fast an epidemic can grow. Short generation time → faster spread. R₀ per generation time gives the growth rate: r ≈ (R₀−1)/T_g where T_g is the mean generation time.
Generation time is the correct denominator for converting R₀ to an epidemic growth rate. Using serial interval instead introduces bias when there is pre-symptomatic transmission.
Serial interval
The time between symptom onset of a primary case and symptom onset of a secondary case generated by that primary case. Observable from contact tracing data (unlike generation time). Can be negative if the secondary case develops symptoms before the primary case (pre-symptomatic transmission).
Serial interval vs generation time
Serial interval ≈ generation time when there is no pre-symptomatic transmission. For COVID-19, pre-symptomatic transmission means serial interval underestimates generation time. For diseases where symptoms precede infectiousness (e.g. some influenza strains), they may be approximately equal.
In practice, serial interval is used as a proxy for generation time in Rₜ estimation (e.g. EpiEstim method) because it is directly observable. Be aware of the bias this introduces when pre-symptomatic transmission is substantial.
Key values by disease
| Disease | Incubation (days) | Serial interval (days) | R₀ |
|---|---|---|---|
| Measles | 10–14 | 11–12 | 12–18 |
| COVID-19 (original) | 4–6 | 4–8 | 2–3 |
| COVID-19 (Omicron) | 2–4 | 2–4 | 8–15 |
| Influenza (seasonal) | 1–4 | 2–4 | 1.2–1.4 |
| Ebola | 2–21 | 14–16 | 1.5–2.5 |
| Smallpox | 7–19 | 14–22 | 5–7 |
| Polio | 4–35 | — | 5–7 |
Growth rate, doubling time, and their relationship
Epidemic growth rate r
The intrinsic growth rate r describes how fast cases multiply during the exponential growth phase. It is the slope of the log-transformed epidemic curve. Units: per day, per week, etc. If I(t) = I₀·e^(rt), then r = ln(I(t)/I₀)/t.
Growth rate and R₀
For the SIR model: r ≈ β − γ = γ(R₀ − 1). More generally: r ≈ (R₀ − 1)/T_g where T_g is the mean generation time. This links the observable growth rate to the unobservable R₀ — but requires knowing T_g.
Estimate r directly from early epidemic data by fitting a log-linear regression (log cases vs time). Then estimate R₀ = 1 + r·T_g, being explicit about your assumed generation time.
Doubling time T₂
The time for the number of cases to double. T₂ = ln(2)/r ≈ 0.693/r. During COVID-19 early 2020, doubling times of 3–7 days were observed in many countries. Measles outbreaks in susceptible populations can double in 7–10 days.
Interpreting doubling time
A 3-day doubling time means cases increase 10-fold in ~10 days and 100-fold in ~20 days. Small changes in r produce large changes in doubling time. Interventions that reduce r by 30% extend doubling time by 43% — this is why early intervention has disproportionate impact.
Report doubling time alongside confidence intervals from the regression. A doubling time of 5 days (95% CI: 4–7) conveys both the central estimate and the uncertainty — critical for public health messaging.
Growth rate ↔ Doubling time calculator
per time unit
time units
time units (for R₀ estimate)
Epidemic model taxonomy
A map of the major model classes used in infectious disease epidemiology — what they assume, when to use them, and how they relate.
Phenomenological models
Fit a mathematical curve directly to epidemic data without mechanistic assumptions. Examples: logistic, Richards, Gompertz, sub-epidemic wave model. Parameters are estimated empirically. No compartments — just a growth function.
When to use Real-time forecasting with limited data, early outbreak assessment, final size estimation, multi-wave decomposition.
Best for: "How many total cases will there be?" and "When will the peak occur?" Not suitable for: "What if we vaccinate 40% of the population?"
Compartmental models (mechanistic)
Divide the population into compartments (S, E, I, R, etc.) and write differential equations governing flow between compartments. Parameters have biological interpretations (transmission rate, recovery rate). Examples: SIR, SEIR, SEIRD, SEIRV.
When to use Counterfactual analyses (intervention scenarios), R₀ estimation, understanding transmission dynamics, vaccine impact modeling.
Best for: "What would happen if we vaccinated X% of the population?" or "How does this variant's shorter generation time affect peak timing?" Requires more data and assumptions than phenomenological models.
Statistical models
Use regression frameworks (log-linear, Poisson, Negative Binomial, time series) to model the association between time and case counts. Make explicit distributional assumptions. Include Serfling regression for seasonal baseline estimation.
When to use Growth rate estimation, excess mortality calculation, surveillance trend analysis, short-term forecasting with uncertainty quantification.
Best for: "Is this season's influenza activity above the epidemic threshold?" and "What is the growth rate in this region?" Statistical models are the backbone of routine public health surveillance.
Stochastic models
Incorporate randomness into transmission and recovery events. At small population sizes, chance effects dominate — deterministic models overestimate outbreak probability. Branching processes model early outbreak extinction risk.
When to use Small outbreak settings (spillover events, border introductions), estimating probability of sustained transmission, superspreading analysis.
For large outbreaks (thousands of cases), deterministic models are good approximations. For early detection with tens of cases, stochastic models are essential — the epidemic may go extinct even with R₀ > 1.
Ensemble and multi-model approaches
Combine forecasts from multiple models using weighted averaging. The CDC FluSight and COVID-19 Forecast Hub use ensemble methods. Weights can be based on past performance (WIS-weighted ensembles) or equal weighting.
When to use Operational forecasting where reliability across outbreak types matters more than any single model's performance on one outbreak.
Ensembles consistently outperform individual models on average, but individual models can outperform ensembles on specific outbreaks. The WIS-based ensemble weighting approach developed in Chowell Lab provides a principled framework for combining models with quantified uncertainty.
Glossary