Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-1/13j/a/solution

Let be the number of ice creams in price category and score category . The fitted Poisson regression assumes that the nine counts are independent random variables with
where the logarithmic link function is used and excellent is the reference level in a regression factor, so . Equivalently,
This is the independence log-linear model for a two-way contingency table: price and score have main effects but no interaction.

New to topics? Read the docs here!