# A multi-method study evaluating the inference of compartmental model parameters from a generative agent-based model

**Authors:** Elizabeth Hunter, Jim Duggan

PMC · DOI: 10.1016/j.idm.2025.10.002 · Infectious Disease Modelling · 2025-10-16

## TL;DR

This study compares optimization and Bayesian methods for calibrating SIR models using synthetic data generated by agent-based models to understand how contact structures affect parameter estimation.

## Contribution

The novel use of agent-based models to generate synthetic data for evaluating calibration methods in compartmental models.

## Key findings

- Nelder-Mead and HMC perform similarly in terms of accuracy metrics.
- HMC better captures ground truth parameters compared to Nelder-Mead.
- Effective infectious period is sensitive to contact patterns and susceptible population proportion.

## Abstract

Calibrating process models such as compartmental SIR Models to real data can be performed using either optimization or Bayesian techniques. To accurately assess the performance of these methods, synthetic outbreak data can be used. All information about the data generative process is known for synthetic data, while when using real data there are many unknowns such as under-reporting of cases or real parameter values. We propose using an agent-based model to generate synthetic data. Calibrating to synthetic datasets created using different agent contact structures can provide us with information on how changes in contact structures impact SIR model parameters. We compare results for two calibration methods: Nelder-Mead an optimization technique and HMC, a Bayesian technique. The analysis finds that the two calibration methods perform similar in terms of accuracy when looking at the Mean Absolute Error, Mean Absolute Scaled Error, and Relative Root Mean Squared Error. Looking at the model parameters, HMC is better able to capture the ground truth parameters then Nelder-Mead. The results of the calibration additionally show that the effective infectious period is sensitive to the changes in contact patterns and the proportion of susceptible individuals in the population. For choosing a calibration method, if overall accuracy is the desired outcome, either method should perform equally well, however, if the aim is to understand and analyse the model parameters HMC is a better choice. Understanding how the effective parameters such as the infectious period changes as contact patterns and vaccination rates change can provide valuable information in understanding how to interpret parameters calibrated from real world data that captures both isolation and vaccination.

## Full-text entities

- **Diseases:** Ebola (MESH:D019142), infectious (MESH:D003141), HIV infection (MESH:D015658), tuberculosis (MESH:D014376), measles (MESH:D008457), cholera (MESH:D002771), plague (MESH:D010930), Infected (MESH:D007239), COVID-19 (MESH:D000086382), flu (MESH:D007251), cervical cancer (MESH:D002583), MASE (MESH:C538175), deaths (MESH:D003643)
- **Chemicals:** HMC (-)
- **Species:** Human immunodeficiency virus 1 (no rank) [taxon 11676], Marburg virus [taxon 186537]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12593580/full.md

## Figures

8 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12593580/full.md

## References

75 references — full list in the complete paper: https://tomesphere.com/paper/PMC12593580/full.md

---
Source: https://tomesphere.com/paper/PMC12593580