{"title":"Methods for reproducible comparison of strategies in stochastic modelling.","authors":"Rob Sunnucks, Emma L Davis, Kat S Rock","doi":"10.1098/rsif.2025.1081","DOIUrl":null,"url":null,"abstract":"<p><p>Stochastic simulations are often used to model real-world phenomena such as infectious disease dynamics. In this modelling, differing strategies are often compared to one another by comparing the model outputs of each strategy. Hash-based matching, pseudo-random number generation is an approach for stochastic simulations that was implemented by Pearson and Abbott in the hashprng package to overcome challenges with comparing model simulations in a way that considers the dependency between model outputs. We demonstrate how methods based on this approach grant considerable benefit when comparing different strategies, and show when each of our three proposed methods ought to be used. We illustrate our methods with two epidemiological models: one simple model of a vaccine-preventable infection and one complex model of African sleeping sickness, which can be controlled through multiple interventions. We show how our Bernoulli hashing method works very well for simple models, and a variation of it can be used for more complex models in certain cases. Additionally, we discuss the properties of our methods for considering counterfactual scenarios and note that, compared to other attempts to obtain perfect counterfactuals, they demonstrate advantages in computational efficiency and their application to a wider variety of models.</p>","PeriodicalId":17488,"journal":{"name":"Journal of The Royal Society Interface","volume":"23 240","pages":""},"PeriodicalIF":3.4000,"publicationDate":"2026-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of The Royal Society Interface","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.1098/rsif.2025.1081","RegionNum":2,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Stochastic simulations are often used to model real-world phenomena such as infectious disease dynamics. In this modelling, differing strategies are often compared to one another by comparing the model outputs of each strategy. Hash-based matching, pseudo-random number generation is an approach for stochastic simulations that was implemented by Pearson and Abbott in the hashprng package to overcome challenges with comparing model simulations in a way that considers the dependency between model outputs. We demonstrate how methods based on this approach grant considerable benefit when comparing different strategies, and show when each of our three proposed methods ought to be used. We illustrate our methods with two epidemiological models: one simple model of a vaccine-preventable infection and one complex model of African sleeping sickness, which can be controlled through multiple interventions. We show how our Bernoulli hashing method works very well for simple models, and a variation of it can be used for more complex models in certain cases. Additionally, we discuss the properties of our methods for considering counterfactual scenarios and note that, compared to other attempts to obtain perfect counterfactuals, they demonstrate advantages in computational efficiency and their application to a wider variety of models.
期刊介绍:
J. R. Soc. Interface welcomes articles of high quality research at the interface of the physical and life sciences. It provides a high-quality forum to publish rapidly and interact across this boundary in two main ways: J. R. Soc. Interface publishes research applying chemistry, engineering, materials science, mathematics and physics to the biological and medical sciences; it also highlights discoveries in the life sciences of relevance to the physical sciences. Both sides of the interface are considered equally and it is one of the only journals to cover this exciting new territory. J. R. Soc. Interface welcomes contributions on a diverse range of topics, including but not limited to; biocomplexity, bioengineering, bioinformatics, biomaterials, biomechanics, bionanoscience, biophysics, chemical biology, computer science (as applied to the life sciences), medical physics, synthetic biology, systems biology, theoretical biology and tissue engineering.