Chapter 10 Exercises
Students' goals

In Example 10.3.4 (Students' goals),

a) extend the model to allow the gender effect b.boy to vary between schools, giving a random coefficient model. Use the Comparison Tool to compare the odds ratio, and the probabilities that a boy (or a girl) prefers sports, between schools
b) use the DIC to compare this model with the original fixed coefficient model.

c) use conflict p-values (see Section 10.7, Example 10.7.4) to assess whether there are any schools whose effects are inconsistent with the random effects distribution.