Stan: A Probabilistic Programming Language
Bob Carpenter,
Andrew Gelman,
Matthew D. Hoffman,
Daniel Lee,
Ben Goodrich,
Michael Betancourt,
Marcus Brubaker,
Jiqiang Guo,
Peter Li and
Allen Riddell
Journal of Statistical Software, 2017, vol. 076, issue i01
Abstract:
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.
Date: 2017-01-11
References: View complete reference list from CitEc
Citations: View citations in EconPapers (303)
Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v076i01/v76i01.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... mdstan-2.14.0.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... stan-2.14.0.0.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... /rstan-2.14.1.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... 6i01-replication.zip
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:076:i01
DOI: 10.18637/jss.v076.i01
Access Statistics for this article
Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis
More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().