/
concept-collection
/
stan-examples
Jump to
/
Appearance
Match my system
Paper
GitHub
Slate
Midnight
Terminal
Sign in
concept-collection
/
stan-examples
Code
Commits
Issues
0
Pull requests
0
Branches
1
Tags
0
main
Branches
main
stan-examples
/
linear-regression
/
main.stan
13 lines · 171 B
Code
Blame
History
20bfd87
Update 30 files
Jeremy Magland
1 month ago
1
data {
2
int<lower=0> N;
3
vector[N] x;
4
vector[N] y;
5
}
6
parameters {
7
real alpha;
8
real beta;
9
real<lower=0> sigma;
10
}
11
model {
12
y ~ normal(alpha + beta * x, sigma);
13
}
↑
↓
move
↵
open
esc
close