Stan : A Probabilistic Programming Language

Stan: язык вероятностного программирования
Marcus A. Brubaker, Ben Goodrich, Matthew D. Hoffman, Andrew Gelman, Bob Carpenter, Daniel C. Lee, Michael Betancourt, Jiqiang Guo, Peter Li, Allen Beye Riddell
2017-01-01

Bayesian inferenceHamiltonian Monte CarloNo-U-Turn samplerStan probabilistic programming languagevariational Bayes
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.
1
As of version 2.14.0, Stan supports full Bayesian inference for continuous-variable models using MCMC methods, including the adaptive No-U-Turn sampler.
2
Stan computes penalized maximum likelihood estimates through optimization methods such as limited-memory BFGS.
3
Stan exposes log densities, gradients, Hessians, and intermediate diagnostics, enabling alternative methods including variational Bayes, expectation propagation, and approximate marginal inference.
4
Stan is a probabilistic programming language that lets users specify statistical models as imperative log probability functions conditioned on data and constants.
5
Stan provides command-line, R, and Python interfaces supporting sampling, optimization, diagnostics, posterior analysis, and—in R and Python—advanced density and parameter-transform access.

Stan probabilistic programming language and its interfaces (CmdStan, RStan, PyStan)

Stan’s capabilities for defining log-probability functions and performing Bayesian, penalized maximum-likelihood, and approximate inference with accessible densities, gradients, Hessians, and diagnostics

Publication Details
Publication Date
2017-01-01
Journal
Publisher
ISSN
Cited by
7718
Access Type
Author Information
Authors
Marcus A. Brubaker
Ben Goodrich
Matthew D. Hoffman
Andrew Gelman
Bob Carpenter
Daniel C. Lee
Michael Betancourt
Jiqiang Guo
Peter Li
Allen Beye Riddell
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat →
Make a presentation
100%