I'm seeing a model that worked with JAGS 1.0.4 have problems in JAGS 2.0. I've

appended the model to the end of the post. I used the model itself to generate

synthetic data for testing (you'll notice the priors are all informative). In

JAGS 1.0.4 I had no problem running the model. In JAGS 2.0., when I try

running the model, beginning with "adapt 1000, by(10)", I get the following

error message:

RUNTIME ERROR:

Error in Slicer: Current value is inconsistent with data

This occurs immediately.

Here is the model. In the data I used N.resp <- 50, N.obs <- 15, N.alt <- 5,

and N.attr <- 20. Also, the X and Y arrays were sized for 500 respondents

instead of 50 in the data file. I've also tried some variations on this, as

you can see from the commented out code for max.util.

model {

for (resp in 1:N.resp) {

for (obs in 1:N.obs) {

for (alt in 1:N.alt) {

log(exp.util) <-

util # - max.util

util <-

inprod(X[V, obs, alt, ], beta)

}

# max.util <- max(util)

Y ~ dcat(exp.util)

}

for (attr.num in 1:N.attr) {

beta ~ dnorm(beta.bar, tau)

}

}

for (attr.num in 1:N.attr) {

tau <- pow(sigma.beta, -2)

sigma.beta ~ dunif(0, max.sigma.beta)

beta.bar ~ dnorm(mu.beta.bar, sigma.beta.bar)

}

}