Stan is an open source programming language created in 2012.

#597on PLDB | 12Years Old | 774Repos |

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. Read more on Wikipedia...

- Tags: programming language
- There are at least 774 Stan repos on GitHub
- Early development of Stan happened in https://github.com/stan-dev
- Stan is written in C++
- The Google BigQuery Public Dataset GitHub snapshot shows 134 users using Stan in 154 repos on GitHub
- Pygments supports syntax highlighting for Stan
- GitHub supports syntax highlighting for Stan
- See also: (4 related languages) IA-32, R, MATLAB, Stata

Example from Linguist:

```
data {
int<lower=0> N;
vector[N] incumbency_88;
vector[N] vote_86;
vector[N] vote_88;
}
parameters {
vector[3] beta;
real<lower=0> sigma;
}
model {
vote_88 ~ normal(beta[1] + beta[2] * vote_86
+ beta[3] * incumbency_88,sigma);
}
```

Feature | Supported | Example | Token |
---|---|---|---|

Integers | âœ“ | ||

Floats | âœ“ | ||

Type Inference | âœ“ |