Compartmental Epidemiological Models: Discussing Fundamental Elements via the SIR Model
Ligia Liani Barz, Jose Rafael Santos Furlanetto, Fernando Deeke Sasse
Key points
From the paper's conclusion- We present a didactic treatment of the SIR model for compartmental disease spread, focusing on transmission mechanisms and data collection.
- We derive the model in continuous-time and discrete-time settings and introduce the Kermack-McKendrick perspective.
- The framework helps integrate model assumptions, units, simulation, and inference for infectious disease modeling education.
Abstract
We present a didactic treatment of compartmental disease spread modeling centered on the SIR framework, aimed at mathematics education. Our focus is on how modeling choices encode transmission mechanisms and data-collection practices. We begin by stating the structural hypotheses of compartmental models, including population partitioning, homogeneous mixing, flow closure, and Markovian transitions. We then derive the basic SIR dynamic equations in both continuous-time (differential equations) and discrete-time (difference equations) settings. A key goal is to clarify the distinction between density-dependent and frequency-dependent transmission. We do this by constructing the force of infection from the contact rate, prevalence, and per-contact transmissibility while tracking units and interpretations. We go beyond the usual mass-balance SIR model by introducing the discrete Kermack-McKendrick perspective through the cumulative force of infection. This naturally leads to discrete SIR updates with an exponential escape probability term. We also derive Bernoulli-based exponential formulations for both density- and frequency-dependent transmission, interpret these probabilistically over observation intervals, and obtain the associated discrete infectivity kernel. This highlights how geometric infectious survival emerges from per-step removal. The paper includes reproducible, introductory-level Python code to implement the basic discrete SIR model, the continuous SIR model, and the exponential discrete variants. We provide instructors with an example of parameter estimation from prevalence data using least squares, along with guidance on interpretation and limitations. This framework is designed to help teachers integrate model assumptions, units, simulation, and inference in a coherent introduction to infectious disease modeling.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We present a didactic treatment of the SIR model for compartmental disease spread, focusing on transmission mechanisms and data collection.
- We derive the model in continuous-time and discrete-time settings and introduce the Kermack-McKendrick perspective.
- The framework helps integrate model assumptions, units, simulation, and inference for infectious disease modeling education.
Readers' thoughts
No reader thoughts yet.
Related papers
- Structures of the Basic Reproduction Number $R_0$ Across Compartmental Disease ModelsarXiv · 2026
- An Immuno‐Epidemiological Model: From Individual‐Based Approach to Endemic StatesMathematical Methods in the Applied Sciences · 2026
- UNIVERSAL EPIDEMIC SCALING: INFLUENZA AND COVID-19medRxiv · 2026
- Higher order schemes for the numerical solution of integro-differential equation-based age-of-infection models with time-dependent contact ratesarXiv · 2026
- Discrete dynamic survival analysis of epidemic case line listsmedRxiv · 2026
- History-dependent SEIR models: equivalent formulations, fractional foundation, and growth and decay principlesmedRxiv · 2026