arrow
Return

Epydemix: An open-source Python package for epidemic modeling with integrated approximate Bayesian calibration

delete2025-11-01
delete0
PRE
AI
N
Nicolò Gozzi *
M
Matteo Chinazzi
J
Jessica T. Davis
C
Corrado Gioannini
L
Luca Rossi
G
Gasperetti, Alessio
N
Nicola Perra
A
Alessandro Vespignani
DOI:10.1371/journal.pcbi.1013735delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We present Epydemix, an open-source Python package for the development and calibration of stochastic compartmental epidemic models. The framework supports flexible model structures that incorporate demographic information, age-stratified contact matrices, and dynamic public health interventions. A key feature of Epydemix is its integration of Approximate Bayesian Computation (ABC) techniques to perform parameter inference and model calibration through comparison between observed and simulated data. The package offers a range of ABC methods such as simple rejection sampling, simulation-budget-constrained rejection, and Sequential Monte Carlo (ABC-SMC). Epydemix is modular, and supports ABC-based calibration both for models defined within the package and for those developed externally. To demonstrate the computational framework capabilities, we discuss usage examples that include (i) simulating an intervention-driven model with time-varying parameters, and (ii) benchmarking calibration performance using synthetic epidemic data. We further illustrate the use of the package in a retrospective case study that includes scenario projections under alternative intervention assumptions. By lowering the barrier for the implementation of computational and inference approaches, Epydemix makes epidemic modeling more accessible to a wider range of users, from academic researchers to public health professionals.

Journal

P
PLoS Computational Biology
IF:
3.6
Papers:
638
Citations:
0

Organization

I
indiana university system
Scholars:
4.0W
Papers: 3.5W
Citations: 38
N
northeastern university
Scholars:
4.4K
Papers: 1.9K
Citations: 2
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
researcher View more organizations