Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
data{
int N;
vector[N] X;
vector[N] Y;
}
parameters{
real alpha;
real beta;
real<lower=0> sigma;
}
model{
Y ~ normal(alpha+beta*X,sigma);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment