all!
I am using winbugs to do simple linear regression. However, the system always give the error message, expected a comma.
Here is my model statement:
model {
for (i in 1:I)
{
Z[i] ~ dnorm(beta0 + beta1 * X[i], tau)
}
tau <- 1/(sigma*sigma)
sigma ~ dunif(0, 100)
beta0 ~ dnorm(0, 1E-6)
beta1 ~ dnorm(0, 1E-6)
}
what is wrong with it? Thank you.