I trained a model using JAGS and I obtained parameter values. Can I calculate the DIC values for a subset of these data points. The code is
mod=jags.model(textConnection(mod_string), data=data_jags, n.chains=3)
dic= dic.samples(mod, n.iter=1000)
but I want to calculate the DIC for a subset of data_jags
.