Stan (software)

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

Stan is a probabilistic programming language for statistical inference written in C++. The Stan language is used to specify a (Bayesian) statistical model with an imperative program calculating the log probability density function. Stan is licensed under the New BSD License. Stan is named in honour of Stanislaw Ulam, pioneer of the Monte Carlo method. Stan was created by a development team consisting of 52 members1 that includes Andrew Gelman, Bob Carpenter, Daniel Lee, Ben Goodrich, and others.

Stan is a probabilistic programming language for statistical inference written in C++. The Stan language is used to specify a (Bayesian) statistical model with an imperative program calculating the log probability density function. Stan is licensed under the New BSD License. Stan is named in honour of Stanislaw Ulam, pioneer of the Monte Carlo method. Stan was created by a development team consisting of 52 members that includes Andrew Gelman, Bob Carpenter, Daniel Lee, Ben Goodrich, and others.

A simple linear regression model can be described as y_n = \alpha + \beta x_n + \epsilon_n , where \epsilon_n \sim \text{normal} (0, \sigma) . This can also be expressed as y_n \sim \text{normal}(\alpha + \beta X_n, \sigma) . The latter form can be written in Stan as the following: data { int N; vector[N] x; vector[N] y; } parameters { real alpha; real beta; real sigma; } model { y ~ normal(alpha + beta * x, sigma); }

Text derived from https://en.wikipedia.org/w/index.php?oldid=1291370927 under CC BY-SA 4.0; modifications have been made.

References

  1. ↩Wikipedia “Stan (software)” revision 1291370927 · retrieved 2026-10-20 members (×1) · confidence 0.95 revision URL