data { int N; vector[N] x; vector[N] y; } parameters { real beta0; real beta; real sigma; } model { y ~ normal(beta0 + beta * x, sigma); }