Question: 3. Consider again the binary dugong modeling of Example 4.4. Suppose we wished to obtain side-by-side boxplots of the posteriors of the effect of log-age,
3. Consider again the binary dugong modeling of Example 4.4. Suppose we wished to obtain side-by-side boxplots of the posteriors of the effect of log-age, β1, across all three link functions (logit, probit, and cloglog).
Modify the WinBUGS code given in that example so that the comparison tool on the Inference menu can be used to obtain this display.
(Hint: Use three copies of the dataset, one for each link function. This will also enable computation of three separate DIC pD scores, since the DIC tool in WinBUGS will then decompose DIC by the three observation variable names.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
