Data used
WinBUGS code
Note: In order to avoid some traps in WinBUGS, the sampling method for log-concave variables has to be changed to slice sampling (see the section “changing MCMC defaults” in WinBUGS user's manual for more details about how to change the sampling methods for certain classes of distributions). |