Print

Print


Dear list

I am running BUGS to estimate a two-parameter IRT model. The discrimination (a) parameters are defined as follows:

for(j in 1:L) {
    a[j] ~ dlnorm(0,0.001) I(0,5)
}

My understanding (I took this code from an article) is that the "I(0,5)" prevents the value of the a's from going negative. I initialized each of the a parameters with a value of 1. When I ran the script, I obtained a "cannot bracket slice for node a[3]" error message. Any ideas as to what might cause this?

Thanks

Barth

------------------------------------------------------------------- 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