Code and data for: The case for composable probabilistic infectious disease models
Recent outbreaks of Ebola, COVID-19 and mpox have demonstrated the value of modelling for synthesising data for rapid evidence to inform decision making. Effective models require integration of expert domain knowledge from multiple domains such as clinical medicine, environmental science, behavioural research, and public health, yet current modelling approaches create barriers to this integration. Methods used to synthesise available data broadly fall into pipeline approaches that chain separate models together, losing information and potentially introducing bias, or joint models that are often monolithic and difficult to adapt. These barriers have prevented advances across multiple settings where models could have provided actionable insights. Composable models where components can be reused across different contexts and combined in various configurations whilst maintaining statistical rigour could address these limitations. In this work, we start by outlining proposed requirements for a composable infectious disease modelling framework and then present a proof of concept that addresses these requirements through composable epidemiological components built on Julia's type system and Turing.jl. We demonstrate a prototype R interface showing how such frameworks can bridge software ecosystems. Through three case studies, we show how components can be reused across different models whilst maintaining statistical rigour. The first replicates a COVID-19 analysis for South Korea using a renewal process with time-varying reproduction numbers. The second extends these components with reporting delays and day-of-week effects to replicate EpiNow2, a real-time nowcasting tool. The third replicates an SIR model analysis of influenza outbreak data, integrating ODE solvers. We then discuss strengths, limitations, and alternative approaches. Our approach demonstrates promise for enabling interdisciplinary collaboration by lowering technical barriers for domain experts to contribute directly to model development. Future work is needed to solve remaining composability challenges, explore other options, expand the component library, and explore opportunities for large language model assisted model construction.
Keywords
epidemiology; infectious disease modelling; composable models; probabilistic programming; Julia Bayesian; inference| Item Type | Dataset |
|---|---|
| Resource Type |
Resource Type Resource Description Software R script |
| Capture method | Unknown |
| Date | 10 December 2025 |
| Language(s) of written materials | English |
| Creator(s) |
Abbott, S |
| LSHTM Faculty/Department | Faculty of Epidemiology and Population Health > Dept of Infectious Disease Epidemiology & Dynamics (2023-) |
| Participating Institutions | London School of Hygiene & Tropical Medicine, London, United Kingdom |
| Date Deposited | 11 Dec 2025 10:49 |
| Last Modified | 11 Dec 2025 10:49 |
| Publisher | Zenodo |