Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2012/iii/paper-37/3/a/solution

Index independent experimental vials by , write for the observed total eaten and for the number of other-species eggs eaten. The grouped-binomial logistic regression uses
Here and identify day and adult species, and the free effects are . There is no day-species interaction. The weights in the binomial generalized linear model are the denominators , so fitting the proportions gives this binomial likelihood, not 23 Bernoulli observations. The dispersion is fixed at one. This is a model for the composition of eggs eaten conditional on the total, rather than a model for the total appetite.

New to topics? Read the docs here!