Created
October 17, 2016 00:58
-
-
Save kosugitti/8d1533429d868a7b4a53eccd2350a4d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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