Concept Architecture
Compartmental Model of Population Pools, Flows and Transmission in Economic Evaluation
A compartmental model sorts a population into a few states, counts how many people are in each, and moves them between states at defined rates, usually written as differential or difference equations. In health economics the best-known examples are the SIR family of infectious disease models, where the rate of new infection depends on how many people are infectious, so an evaluation can count the protection a vaccination or screening programme gives to people it never reaches. The SIR model, SEIR model, dynamic transmission model and basic reproduction number have their own pages.
Population pools linked by flows
Chhatwal and He describe compartments as population pools, with movement between them represented by differential equations, and note that compartmental models typically treat everyone within a compartment as identical. The ISPOR-SMDM conceptualisation report (Roberts and colleagues, 2012) groups them with decision trees and Markov processes as models homogeneous within each state, unlike agent-based models and microsimulation.
where is the number of people in compartment at time , is the flow from compartment to compartment per unit time, is inflow from outside the model, such as births, and is outflow that leaves it, such as deaths. Each internal flow leaves one compartment and enters another, so summing over compartments cancels them and the total changes only through external flows. Chhatwal and He note that compartmental models can be open, admitting births and migration, or closed, whereas Markov models generally start with a closed cohort.
Natural history fixes the compartments
The compartments should mirror what infection does to a host. Jit and Brisson set out the common choices. SIS models assume no natural immunity, which suits gonorrhoea; SIR models assume near-lifelong immunity, as for measles; SIRS models let immunity wane, as for influenza; and SEIR models add a latent period in which a person is infected but not yet infectious, which slows an epidemic. With frequency-dependent transmission the SIR equations are as follows.
where , and are the numbers susceptible, infectious and recovered, , is the transmission rate per infectious person per unit time and is the recovery rate, so the mean infectious period is and the basic reproduction number is .
Jit and Brisson report that SIS, SIR and SIRS structures can all be fitted to the same outcome data, yet a long-lasting vaccine looks most cost-effective under SIS and least under SIR. A European consensus framework for vaccine evaluation (Ultsch and colleagues, 2016) shows the variation in practice. A study of seasonal influenza vaccination in Spain used SIR, whereas one in England used SEIR.
The force of infection makes the model dynamic
The force of infection is the instantaneous rate at which susceptible people become infected; in the SIR equations it is . Jit and Brisson explain that it is constant in a static model but a function of the proportion infected in a dynamic one, so protecting some people lowers the risk faced by everyone else. A compartment diagram is therefore not dynamic by itself. Compartments with fixed transition rates form a static cohort, and the feedback term is what changes the economics. The ISPOR-SMDM dynamic transmission report (Pitman and colleagues, 2012) cites a review in which only 11% of 208 cost-effectiveness studies of vaccination programmes used an approach that could capture indirect effects.
Jit and Brisson give two reasons why, against no intervention, a dynamic model usually makes a preventive programme look more cost-effective than a static one. The first is that it predicts more infections prevented, including through herd immunity, and the second is that it predicts a faster fall in infections, which counts for more under positive time preference. Pitman and colleagues recommend a dynamic model when an intervention changes transmission in the target population or alters the distribution of strains.
Worked example of one vaccination programme counted two ways
All numbers are illustrative. A closed population of 10,000 has 9,900 susceptible and 100 infectious people, with and per day. The model advances in one-day steps (the Euler method), holding each day's flows constant. The flows on day 1 without vaccination are as follows.
where 29.7 is the expected number of new infections. Recoveries are , so the compartments become 9,870.3 susceptible, 119.7 infectious and 10 recovered, still summing to 10,000.
A programme instead gives a perfect vaccine to 2,000 susceptible people at the start, moving them to the immune compartment. Day 1 infections fall to 23.7 (0.3 × 7,900 × 100 / 10,000), so 6.0 are averted. On day 2 the static and dynamic counts part company.
| Day 2 | New infections | Averted |
|---|---|---|
| No programme (119.7 infectious) | 35.44 | |
| Static: force of infection taken from the no-programme run (0.003591), unaffected by vaccination | 28.28 | 7.16 |
| Dynamic: force of infection recalculated from 113.7 infectious | 26.87 | 8.58 |
Over two days the static model counts 13.16 infections averted (6.0 + 7.16) and the dynamic model 14.58 (6.0 + 8.58). The difference of 1.42, about a tenth of the dynamic total, is the indirect effect, because fewer people were infected on day 1, so fewer were infectious on day 2. At an illustrative GBP 40 per infection treated, averted treatment costs are GBP 526 under the static count and GBP 583 under the dynamic count. The gap compounds with each generation of transmission, which is why the static estimate is usually conservative against a no-intervention comparator.
Deterministic, stochastic and discrete-time versions
Pitman and colleagues describe deterministic models as approximating average behaviour, most appropriate when all subgroups are large and easier to fit to data. Stochastic models matter when a population or subgroup is small, as at the start or end of an epidemic, when local extinction is likely; population-based models can be either, while individual-based models are invariably stochastic. The WHO guide on economic evaluation of immunisation programmes (2019) notes that dynamic models are typically solved as differential equations in continuous time, with discrete time or age steps often used for practical reasons. A discrete step holds the rate constant, and under a constant hazard the day-1 probability of infection in the example is as follows.
where is the per-person probability, per day is the force of infection and is the one-day step. Applied to 9,900 people this gives 29.66 infections rather than 29.7, a gap that grows with longer steps or higher rates (see rate-to-probability conversion). Siebert and colleagues advise converting probabilities between time units through rates.
Mixing, heterogeneity and state expansion
Chhatwal and He point out that a compartmental model captures heterogeneity only by adding compartments, which can greatly enlarge it, and usually assumes homogeneous mixing; in return, it allows analytical insight that agent-based models do not. Roberts and colleagues warn of state expansion. Age or risk groups are added by stratifying each compartment, as shown below.
where is the force of infection on susceptible people in group , is the transmission rate from an infectious person in group to a person in group , and and are the infectious and total numbers in group . Pitman and colleagues ask published models to give their differential equations, all initial values and parameters including the mixing matrix, and the type of mixing assumed. With several infected compartments the basic reproduction number becomes the dominant eigenvalue of a next-generation matrix, whose construction for compartmental models Diekmann and colleagues set out.
Costs, QALYs and the time horizon
Economic outcomes attach to compartments and flows. Costs accrue for each person-day in a compartment. Event costs attach to flows such as new infections, as follows.
where is the discounted total cost over horizon , is the continuous discount rate, is the cost per person per unit time in compartment and is the cost per transition from to . QALYs follow the same form with utility weights in place of , and the totals are for the whole modelled population.
Pitman and colleagues observe that preventive programmes are often sensitive to the discount rate and time horizon, and that a lifetime horizon is poorly defined for a population that turns over; they recommend sensitivity analysis on both. Jit and Brisson give varicella vaccination as a case where a short horizon makes the programme look less cost-effective, because zoster rises in older unvaccinated adults, and a longer horizon reverses this. Pitman and colleagues also ask reports to split infections prevented into direct and indirect where appropriate. Incremental costs and QALYs then feed the ICER.
Choosing a compartmental, Markov cohort or agent-based structure
Model choice turns on whether interaction matters and how large the population is. The WHO guide advocates the model that minimally meets the analytical requirements, and Jit and Brisson advise using transmission dynamic models only when an intervention can change the force of infection substantially, because they need more data and computing.
| Structure | Unit and time | Interaction | Typical use |
|---|---|---|---|
| Markov cohort model | Closed cohort, discrete cycles | None | Interventions that do not change transmission |
| Dynamic compartmental model | Pools of identical people, usually continuous time | Force of infection and mixing between groups | Vaccination and screening in large populations |
| Agent-based model | Individuals, stochastic | Contact networks, adaptive behaviour | Chance effects, small groups, nonrandom mixing |
Calibration, identifiability and validation
Jit and Brisson note that infectious disease models are first calibrated to pre-intervention epidemiology by choosing parameters for infectivity and immunity. Pitman and colleagues note the importance of identifiability and state that difficulty in calibrating across several domains suggests the structure or assumptions are wrong. Alarid-Escudero and colleagues show the decision stakes. In a three-state Markov model calibrated to relative survival alone, two equally good-fitting parameter sets gave treatment benefits of 0.67 and 0.31 years, and a second target made the model identifiable.
For model validation, the ISPOR-SMDM report by Eddy and colleagues (2012) distinguishes face validity, verification, cross validity, external validity and predictive validity. Verification of a compartmental model includes mass balance at every step, non-negative compartments, no new infections when transmission is set to zero, and identical results for all strategies when the intervention effect is zero.
Where compartmental models are misread
The same boxes and arrows can hide very different mathematics. Three errors recur.
- A compartment diagram implies dynamics. Without a force of infection that responds to prevalence, the model is static and omits herd effects.
- Fractional people behave like whole people. Deterministic compartments hold expected values; with small numbers the chance of fade-out needs a stochastic model.
- Indirect effects are always gains. Pitman and colleagues note that a higher age at infection raises complications for infections such as hepatitis A and varicella, and that strain replacement can limit health gains.
Sources
- Alarid-Escudero F, MacLehose RF, Peralta Y, Kuntz KM, Enns EA. Nonidentifiability in model calibration and implications for medical decision making. Medical Decision Making. 2018;38(7):810-821. https://doi.org/10.1177/0272989X18792283
- Chhatwal J, He T. Economic evaluations with agent-based modelling: an introduction. PharmacoEconomics. 2015;33(5):423-433. https://doi.org/10.1007/s40273-015-0254-2
- Diekmann O, Heesterbeek JAP, Roberts MG. The construction of next-generation matrices for compartmental epidemic models. Journal of the Royal Society Interface. 2010;7(47):873-885. https://doi.org/10.1098/rsif.2009.0386
- Eddy DM, Hollingworth W, Caro JJ, Tsevat J, McDonald KM, Wong JB. Model transparency and validation: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-7. Value in Health. 2012;15(6):843-850. https://doi.org/10.1016/j.jval.2012.04.012
- Jit M, Brisson M. Modelling the epidemiology of infectious diseases for decision analysis: a primer. PharmacoEconomics. 2011;29(5):371-386. https://doi.org/10.2165/11539960-000000000-00000
- Pitman R, Fisman D, Zaric GS, Postma M, Kretzschmar M, Edmunds J, Brisson M. Dynamic transmission modeling: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-5. Value in Health. 2012;15(6):828-834. https://doi.org/10.1016/j.jval.2012.06.011
- Roberts M, Russell LB, Paltiel AD, Chambers M, McEwan P, Krahn M. Conceptualizing a model: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-2. Value in Health. 2012;15(6):804-811. https://doi.org/10.1016/j.jval.2012.06.016
- Siebert U, Alagoz O, Bayoumi AM, Jahn B, Owens DK, Cohen DJ, Kuntz KM. State-transition modeling: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-3. Value in Health. 2012;15(6):812-820. https://doi.org/10.1016/j.jval.2012.06.014
- Ultsch B, Damm O, Beutels P, Bilcke J, Brüggenjürgen B, Gerber-Grote A, et al. Methods for health economic evaluation of vaccines and immunization decision frameworks: a consensus framework from a European vaccine economics community. PharmacoEconomics. 2016;34(3):227-244. https://doi.org/10.1007/s40273-015-0335-2
- World Health Organization. WHO guide for standardization of economic evaluations of immunization programmes. 2nd edition (WHO/IVB/19.10). Geneva: WHO; 2019. Section 6.3.
Related Concepts (6)
Functions & Formulae (5)
g(x_j, f_jk, b_j, d_j) = dx_j/dt
Euler step of one compartment from its inflows, outflows, births and deaths
x_next = x_now + (F_in - F_out + b - d) * dt
Force of infection and new infection flow under frequency-dependent transmission
lambda = beta * I / N; F_SI = lambda * S
Force of infection on one group from infectious people in two mixing groups
lambda_1 = beta_11 * I_1 / N_1 + beta_12 * I_2 / N_2
One Euler step of the closed SIR model with frequency-dependent transmission
F = beta * S * I / N * dt; G = gamma * I * dt; S_next = S - F; I_next = I + F - G; R_next = R + G
Infections averted in one step under a static and a dynamic force of infection
lambda_b = beta * I_b / N; A_stat = lambda_b * (S_b - S_p) * dt; A_dyn = beta * (S_b * I_b - S_p * I_p) / N * dt; A_ind = A_dyn - A_stat
Library
Publications
6
Modelling the epidemiology of infectious diseases for decision analysis: a primer — Jit M, Brisson M, Vol. 29, No. 5, pp. 371-386 ed., 2011 (PharmacoEconomics)
Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Compartmental Model, where it is cited as a reference for that concept.
Journal ArticleView source →Dynamic Transmission Modeling: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-5 — Pitman, Fisman, Zaric, Postma, Kretzschmar, Edmunds & Brisson, Task Force Report 5 ed., 2012 (Value in Health / Medical Decision Making)
Best-practice guidance on dynamic transmission models for infectious disease, capturing indirect (herd) effects that static models cannot, and their use in cost-effectiveness analysis of vaccination and control programmes.
Journal ArticleView source →A Taxonomy of Model Structures for Economic Evaluation of Health Technologies — Brennan, Chick & Davies, Vol. 15, No. 12 ed., 2006 (Health Economics)
An influential paper classifying decision-analytic model structures along axes of expected value vs randomness, entity heterogeneity, and Markovian vs non-Markovian structure — providing a framework for choosing between decision trees, Markov cohort models, microsimulation, discrete event simulation and system dynamics.
Journal ArticleView source →Applying Dynamic Simulation Modeling Methods in Health Care Delivery Research — The SIMULATE Checklist: Report of the ISPOR Simulation Modeling Emerging Good Practices Task Force — Marshall, Burgos-Liz, IJzerman, Osgood, Padula, Higashi, Wong, Pasupathy & Crown, Vol. 18, No. 1 ed., 2015 (Value in Health)
The first ISPOR dynamic-simulation good-practice report, introducing system dynamics, discrete event simulation and agent-based modelling for health care delivery problems and providing the SIMULATE checklist for their application.
Journal ArticleView source →Selecting a Dynamic Simulation Modeling Method for Health Care Delivery Research — Part 2: Report of the ISPOR Dynamic Simulation Modeling Emerging Good Practices Task Force — Marshall, Burgos-Liz, IJzerman, Crown, Padula, Wong, Pasupathy, Higashi & Osgood, Vol. 18, No. 2 ed., 2015 (Value in Health)
The second ISPOR dynamic-simulation report, giving decision guidance on choosing between system dynamics, discrete event simulation and agent-based modelling based on the structure and complexity of the health care delivery problem.
Journal ArticleView source →Methods for Health Economic Evaluation of Vaccines and Immunization Decision Frameworks: A Consensus Framework from a European Vaccine Economics Community — Ultsch, Damm, Beutels, Bilcke, et al., Vol. 34, No. 3 ed., 2016 (PharmacoEconomics)
A consensus framework on the immunisation-specific methodological issues in economic evaluation of vaccines — herd/indirect effects, discounting, dynamic transmission modelling — developed to support national vaccine HTA guidelines in Europe.
Journal ArticleView source →
Media
1
Infectious Disease Modelling Specialization — Imperial College London, 3-course specialization ed., 2023 (Coursera)
An Imperial College London specialization introducing mathematical modelling of infectious disease in R — compartmental and dynamic transmission models — foundational for the economic evaluation of vaccines and control programmes.
Online CourseView source →
Frequently Asked Questions (6)
What is a compartmental model?
A compartmental model splits a population into compartments, such as susceptible, infectious and recovered, and uses equations for the flows between them.
Source: Chhatwal & He 2015
Where do compartmental models come from?
The approach originated in early mathematical epidemiology, most influentially in the work of Kermack and McKendrick in the 1920s, who divided a population into groups by infection status and wrote equations for the rates at which people moved between them. Their formulation of susceptible, infected, and recovered groups became the template for later models of disease spread. The same compartmental idea is now used well beyond infectious disease. Kermack and McKendrick (1927) set out the original model.
Source: Kermack & McKendrick 1927
How does a compartmental model work?
A compartmental model works by defining compartments for the relevant states and specifying the rates at which individuals move between them, then following how the numbers in each compartment change over time, usually through differential equations. In the susceptible-infected-recovered model, susceptible individuals become infected at a rate depending on contact with the infected, and infected individuals recover at another rate. Solving the equations traces the course of an epidemic, showing how infection rises and falls in the population.
Source: Kermack & McKendrick 1927
What are the compartments in an SIR model?
In the classic susceptible-infected-recovered, or SIR, model, the population is divided into three compartments: susceptible, those who can catch the disease; infected, those currently infectious; and recovered, those who have had the disease and are now immune. Individuals flow from susceptible to infected as they become infected, and from infected to recovered as they recover. Variants add compartments, such as exposed or vaccinated, but the SIR structure is the foundation of compartmental epidemic modelling.
Source: Kermack & McKendrick 1927
What are the assumptions of a compartmental model?
A compartmental model assumes that individuals within a compartment are alike and mix in a defined way, often that the population mixes homogeneously, so that everyone has the same chance of contact. It represents the population by aggregate flows between compartments rather than tracking individuals, and it uses rates that may be assumed constant. These simplifications make the model tractable but may not capture heterogeneity or structured contact, so their appropriateness for a given disease and population is considered.
Source: Kermack & McKendrick 1927
How are compartmental models used in health?
Compartmental models are used in health to study the spread of infectious disease and to evaluate interventions such as vaccination, treatment, and control measures. By representing how infection moves through susceptible, infected, and recovered compartments, they project the course of an epidemic and how it would change under different measures, capturing effects such as herd immunity. They underlie much infectious-disease modelling and the economic evaluation of interventions whose benefits depend on transmission dynamics.
Source: Kermack & McKendrick 1927
Trust Record
Not verified for this version
This concept changed after its last verification. Re-verify to stamp this version.
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/compartmental-model
- Term code
- HE-EM-DM-011
Stable URI · Machine-readable · Resolvable · CC BY 4.0
