Project 2 Hint error

| | Comments (0)
I've discovered an error in the WinBUGS code for the regression.  Please use this code:
 for (i in 1:n.obs) {
y[i] ~ dnorm(mu[i], 0.001)
mu[i] <- beta0 + beta1*x[i]
}
beta0 ~ dnorm(0, 0.001)
beta1 ~ dnorm(0, 0.001)

Leave a comment

About this Entry

This page contains a single entry by Kathryn published on October 28, 2008 1:08 PM.

Simplified Mimulus data posted was the previous entry in this blog.

Project 2 TA help extended is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.