Thanks so much Matt! "dic.samples" is the function I've been looking for. Now I'm able to calculate partitioned DIC for dependent variables. Best regards, Cindy
Thanks so much Matt! I looked up Chapter 11 but could not get the help I need. Maybe I should better paraphrase my question: WinBUGS/OpenBUGS separately reports the contribution to Dbar, Dhat, pD and DIC for each differently named (scalar, vector, or array) node, together with a Total, which enables the individual contributions from different portions of data to be assessed. By default, JAGS just sums over all data in the model when presenting DIC and pD. So I wonder if JAGS currently offers any...
I'd like to know if there is any way to calculate DIC for dependent variable using JAGS, just like what BUGS would do in the screenshot attached. Thank you so much for your help in advance!
I'd like to know if there is anything to calculate DIC for dependent variable using JAGS, just like what BUGS would do in the screenshot attached. Thank you so much for your help in advance!