文献速递流行病学与生物统计医学人工智能与信息学医学教育与科研方法

Stan 中的疾病传播模型贝叶斯工作流

Bayesian workflow for disease transmission modeling in Stan.
PubMed 文献 · Stat Med · 2021-09-08

本教程介绍在 Stan 中构建、拟合和批判疾病传播模型的贝叶斯工作流,面向对 SARS-CoV-2 大流行及其他传染病建模感兴趣的研究者。贝叶斯建模提供量化不确定性并整合数据与先验知识的原则性方法,Stan 的 Hamiltonian Monte Carlo 采样便于诊断推断可靠性。教程先以简单 SIR 模型演示,再以 SARS-CoV-2 大流行中使用的更精细传播模型为例,并涵盖模拟探测模型与先验及 ODE 模型扩展的计算技术。

要点

  • 贝叶斯框架可量化不确定性并整合数据与先验知识。
  • Stan 代码可读可扩展,HMC 采样便于诊断推断可靠性。
  • 教程覆盖从简单 SIR 到 SARS-CoV-2 精细传播模型的构建与诊断。

核心结论

  • 在 Stan 中可系统完成疾病传播模型的构建、拟合与批判,贝叶斯推断有助于量化不确定性并整合数据与先验知识。

研究设计与样本

  • 本教程为方法学教学文章,以 Stan 概率编程语言演示疾病传播模型的贝叶斯工作流。

主要发现

  • Stan 的 Hamiltonian Monte Carlo 采样便于诊断,用户可验证所得推断是否可靠。
  • 教程先以简单 susceptible-infected-recovered 模型演示,再以 SARS-CoV-2 大流行期间使用的更精细传播模型为例。
  • 教程涵盖利用模拟探测模型与先验,以及基于常微分方程模型扩展的计算技术。

临床怎么用

  • 研究者可按教程在 Stan 中构建、拟合并诊断传染病传播模型,并以诊断结果评估推断可靠性。

以上解读依据论文摘要(全文未开放获取或许可不允许翻译转载)。

原文

This tutorial shows how to build, fit, and criticize disease transmission models in Stan, and should be useful to researchers interested in modeling the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) pandemic and other infectious diseases in a Bayesian framework. Bayesian modeling provides a principled way to quantify uncertainty and incorporate both data and prior knowledge into the model estimates. Stan is an expressive probabilistic programming language that abstracts the inference and allows users to focus on the modeling. As a result, Stan code is readable and easily extensible, which makes the modeler's work more transparent. Furthermore, Stan's main inference engine, Hamiltonian Monte Carlo sampling, is amiable to diagnostics, which means the user can verify whether the obtained inference is reliable. In this tutorial, we demonstrate how to formulate, fit, and diagnose a compartmental transmission model in Stan, first with a simple susceptible-infected-recovered model, then with a more elaborate transmission model used during the SARS-CoV-2 pandemic. We also cover advanced topics which can further help practitioners fit sophisticated models; notably, how to use simulations to probe the model and priors, and computational techniques to scale-up models based on ordinary differential equations.

来源:Stat Med,查看原文。版权归原作者所有。

引用

  1. Grinsztajn L, Semenova E, Margossian CC, et al. Bayesian workflow for disease transmission modeling in Stan. Stat Med. 2021. PMID: 34494686. doi:10.1002/sim.9164

供执业医师工作参考,不替代临床判断;数值与分级以指南原文为准。