Skip to content

Instantly share code, notes, and snippets.

@kosugitti
Created October 17, 2016 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kosugitti/66d9a4fea840f661e0efcdfc37a55b38 to your computer and use it in GitHub Desktop.
Save kosugitti/66d9a4fea840f661e0efcdfc37a55b38 to your computer and use it in GitHub Desktop.
data{
int<lower=0> N1;
int<lower=0> N2;
real X1[N1];
real X2[N2];
}
parameters{
real mu1;
real mu2;
real<lower=0> sigma1;
real<lower=0> sigma2;
}
model{
X1 ~ normal(mu1,sigma1);
X2 ~ normal(mu2,sigma2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment