Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
data{
int<lower=0> N;
real X1[N];
real X2[N];
real X3[N];
}
parameters{
real mu1;
real mu2;
real mu3;
real<lower=0> sd1;
real<lower=0> sd2;
real<lower=0> sd3;
}
model{
for(n in 1:N){
X1 ~ normal(mu1,sd1);
X2 ~ normal(mu2,sd2);
X3 ~ normal(mu3,sd3);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment