Stan (software)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Stan
Original author(s) Stan Development Team
Initial release August 30, 2012 (2012-08-30)
Stable release 2.9.0 / December 4, 2015 (2015-12-04)
Development status Active
Written in C++
Operating system Unix-like, Microsoft Windows, Mac OS X
Platform Intel x86 - 32-bit, x64
Size 41.2 MB
Type Statistical package
License New BSD License
Website mc-stan.org

Stan is a probabilistic programming language for Statistical inference written in C++.[1] The Stan language is used to specify a (Bayesian) statistical model with an imperative program calculating the log probability density function.[1]:2

Stan is licensed under the New BSD License. Stan is named in honour of Stanislaw Ulam, pioneer of the Monte Carlo method.[1]:xii

Interfaces

Stan can be accessed through several interfaces:

Algorithms

Stan implements gradient-based Markov chain Monte Carlo (MCMC) algorithms for Bayesian inference, stochastic, gradient-based Variational Bayesian methods for approximate Bayesian inference, and gradient-based optimization for penalized maximum likelihood estimation.

  • MCMC algorithms:
  • Variational inference algorithms:
    • Black-box Variational Inference[3]
  • Optimization algorithms:

Automatic differentiation

Stan implements reverse-mode automatic differentiation to calculate gradients of the model, which is required by HMC, NUTS, L-BFGS, BFGS, and variational inference.[1]:199 The automatic differentiation within Stan can be used outside of the probabilistic programming language.

Usage

Stan is used in fields including social science[4] and pharmaceutical statistics.[5]

References

  1. 1.0 1.1 1.2 1.3 1.4 Stan Development Team. 2015. Stan Modeling Language User's Guide and Reference Manual, Version 2.9.0
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Goodrich, Benjamin King, Wawro, Gregory and Katznelson, Ira, Designing Quantitative Historical Social Inquiry: An Introduction to Stan (2012). APSA 2012 Annual Meeting Paper. Available at SSRN: http://ssrn.com/abstract=2105531
  5. Lua error in package.lua at line 80: module 'strict' not found.

Literature

External links