vix.ing · top · new · best · stats · spec

Approximate Bayesian Computation Made Easy: A Practical Guide to ABC-SMC for Dynamical Systems with pymc

2025/11/26 by Mario Castro, Castro, Mario
Computer Science · Decision Sciences · Mathematics · #Computational Physics (physics.comp-ph) #FOS: Biological sciences #FOS: Physical sciences #Gaussian Processes and Bayesian Inference #Markov Chains and Monte Carlo Methods #Populations and Evolution (q-bio.PE) #Simulation Techniques and Applications

paper · pdf · doi:10.48550/arxiv.2511.21587

openalex publication_date 2025/11/26 · openalex created_date 2025/11/28 · openalex updated_date 2026/07/28

Abstract

Mechanistic models are essential tools across ecology, epidemiology, and the life sciences, but parameter inference remains challenging when likelihood functions are intractable. Approximate Bayesian Computation with Sequential Monte Carlo (ABC-SMC) offers a powerful likelihood-free alternative that requires only the ability to simulate data from mechanistic models. Despite its potential, many researchers remain hesitant to adopt these methods due to perceived complexity. This tutorial bridges that gap by providing a practical, example-driven introduction to ABC-SMC using Python. From predator-prey dynamics to hierarchical epidemic models, we illustrate by example how to implement, diagnose, and interpret ABC-SMC analyses. Each example builds intuition about when and why ABC-SMC works, how partial observability affects parameter identifiability, and how hierarchical structures naturally emerge in Bayesian frameworks. All code leverages PyMC's modern probabilistic programming interface, ensuring reproducibility and easy adaptation to new problems. The code its fully available for download at \hrefhttps://github.com/mariocastro73/ABCSMCpymcbyexamplemariocastro73/ABCSMC_pymc_by_example

Citations

Related