Stan : A Probabilistic Programming Language
Stan: язык вероятностного программирования
2017-01-01
SCID: 54.1/krfwvdgx
Discuss with AI
Bayesian inferenceHamiltonian Monte CarloNo-U-Turn samplerStan probabilistic programming languagevariational Bayes
Figures from the paper
Abstract (AI)
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.
Key Findings
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.
Research Object
Stan probabilistic programming language and its interfaces (CmdStan, RStan, PyStan)
Research Subject
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
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest
References available in scid.ai1
Cited by4
Insights into mammalian TE diversity through the curation of 248 genome assemblies2023
Autonomous biomedical research with an artificial intelligence agent2026
Quantifying the Effects of Diver Interactions on Manta Ray Behavior at Their Aggregation Sites2021
Governing the commons: code ownership and code-clones in large-scale software development2024