Hi, I am trying to run a zero inflated poisson model using winBUGS. I am getting the error: update error for p[1] algorithm UpdaterSlice.Interval error cannot sample node too many iterations. I looked in the manual and did a goole search, but I cannot find any reference to this error. Does anyone know what this means? model{ for(i in 1:N){ lambda[i]<-exp(beta[1]+beta[2]*x[i]) delta[i]<-equals(y[i],0) p[i]~dbeta(a,b) eta[i]<-p[i]/(1-p[i]) C<-10000 logL[i]<-delta[i]*log( eta[i]+exp(-lambda[i]) )+(1-delta[i])*( y[i]*log(lagbda[i])-lamda[i] ) - log(1+eta[i]) - (1-delta[i])*logfact(y[i]) zeros[i]<-0 phi[i]<- -logL[i]+C zeros[i]~dpois(phi[i]) } for(i in 1:2){ beta[i]~dnorm(0,.001) } ) Thanks, Elizabeth Lawson --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ------------------------------------------------------------------- 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