论文 ID ATH-YMX7FU · 一区论文 · 数理统计

Stan : A Probabilistic Programming Language CC-BY

这是一篇从 Journal of Statistical Software 导入的开放获取论文,用于长期保存;它并非本站投稿,因此不设版本历史与时间戳历史。

  • 原出版日期:2017年1月1日 UTC
  • 权利状态:CC-BY(未记录届满日期)
  • 加入本站:2026年10月3日 UTC
  • Bob Carpenter Columbia University
  • Andrew Gelman Columbia University
  • Matthew D. Hoffman Adobe Systems (United States)
  • Daniel C. Lee Columbia University
  • Ben Goodrich Columbia University
  • Michael Betancourt Columbia University
  • Marcus A. Brubaker York University
  • Jiqiang Guo
  • Peter Li Columbia University
  • Allen Beye Riddell Indiana University

提交者 AthenXiv UW2JTS24Y · 发表时间 2026年10月3日 UTC · 536 浏览量 · 24 下载量 · 687 KB · English

由以下人员代作者上传 AthenXiv (UW2JTS24Y)

在线阅读 下载 PDF (687 KB)

摘要

Stan is a probabilistic programming language for specifying statistical models. A Stan program imperatively defines a log probability function over parameters conditioned on specified data and constants. As of version 2.14.0, Stan provides full Bayesian inference for continuous-variable models through Markov chain Monte Carlo methods such as the No-U-Turn sampler, an adaptive form of Hamiltonian Monte Carlo sampling. Penalized maximum likelihood estimates are calculated using optimization methods such as the limited memory Broyden-Fletcher-Goldfarb-Shanno algorithm. Stan is also a platform for computing log densities and their gradients and Hessians, which can be used in alternative algorithms such as variational Bayes, expectation propagation, and marginal inference using approximate integration. To this end, Stan is set up so that the densities, gradients, and Hessians, along with intermediate quantities of the algorithm such as acceptance probabilities, are easily accessible. Stan can be called from the command line using the cmdstan package, through R using the rstan package, and through Python using the pystan package. All three interfaces support sampling and optimization-based inference with diagnostics and posterior analysis. rstan and pystan also provide access to log probabilities, gradients, Hessians, parameter transforms, and specialized plotting.

关键词: Statistical Methods and Bayesian Inference, Statistics and Probability, Mathematics, Physical Sciences

DOI: 10.18637/jss.v076.i01

许可协议: CC-BY

在线阅读

引用本文

BibTeX RIS 纯文本 JSON

Bob Carpenter, Andrew Gelman, Matthew D. Hoffman, Daniel C. Lee, Ben Goodrich, Michael Betancourt, Marcus A. Brubaker, Jiqiang Guo, Peter Li, Allen Beye Riddell (2026). Stan : A Probabilistic Programming Language. AthenXiv. https://athenxiv.com/paper/ATH-YMX7FU