arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21587q-bio.PEphysics.comp-ph
收藏

近似贝叶斯计算简易指南:使用pymc进行动态系统中的ABC-SMC实用教程

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

Instituto de Investigación Tecnológica (IIT)(技术研究所);Grupo Interdisciplinar de Sistemas Complejos (GISC)(复杂系统跨学科小组);Universidad Pontificia Comillas(科米利亚斯宗座大学)

Mario Castro

AI总结:

本文提供了一种使用pymc进行动态系统中ABC-SMC的实用教程,通过示例展示如何实现、诊断和解释ABC-SMC分析,帮助用户理解其应用和优势。

摘要:

机制模型在生态学、流行病学和生命科学中是必不可少的工具,但当似然函数不可行时,参数推断仍然具有挑战性。近似贝叶斯计算与序贯蒙特卡罗(ABC-SMC)提供了一种强大的无似然替代方法,仅需能够从机制模型中模拟数据的能力。尽管具有潜力,许多研究者由于感知的复杂性而犹豫采用这些方法。本教程通过提供一个实用、以示例驱动的ABC-SMC介绍来弥合这一差距,使用Python。从捕食者-猎物动态到分层流行病模型,我们通过示例展示如何实现、诊断和解释ABC-SMC分析。每个示例都增强了对何时以及为什么ABC-SMC有效、部分可观察性如何影响参数可识别性以及分层结构如何在贝叶斯框架中自然出现的理解。所有代码都利用PyMC的现代概率编程接口,确保可重复性和易于适应新问题。代码完全可用下载,地址为https://github.com/mariocastro73/ABCSMC_pymc_by_example

英文摘要:

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 \href{https://github.com/mariocastro73/ABCSMC_pymc_by_example}{mariocastro73/ABCSMC\_pymc\_by\_example}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑