Measurements were repeated in the same subject twice in each of 2,777
subjects. where i=2,777 and j=2.
I tried to fit the model (see below), but I am getting an error message:
" for node z[1,1]--error-- unable to choose update method for node"
I tried to reduce the sample size to 100 and still getting the same error
message.
I would apprecaite it any thought on this.
Many thanks
Nezahat
Model
{
for(i in 1:subj) {
for(j in 1:tim){
y[i,j] ~ dnorm(mu[i,j], tau.add);
mu[i,j] <- a[i]*exp(z[i,j]);
z[i,j] ~ dnorm(0, tau.mul)
}
a[i] ~ dnorm(theta, tau.a);
}
theta ~ dnorm(0.0,1.0E-6);
tau.mul ~ dgamma(1.0E-3,1.0E-3);
tau.a ~ dgamma(1.0E-3,1.0E-3);
tau.add~ dgamma(1.0E-3,1.0E-3);
}
-------------------------------------------------------------------
This list is for discussion of modelling issues and the BUGS software.
For help with crashes and error messages, first mail [log in to unmask]
To mail the BUGS list, mail to [log in to unmask]
Before mailing, please check the archive at www.jiscmail.ac.uk/lists/bugs.html
Please do not mail attachments to the list.
To leave the BUGS list, send LEAVE BUGS to [log in to unmask]
If this fails, mail [log in to unmask], NOT the whole list
|