Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 34 3 b Solution Created 2026-10-03 Updated 2026-10-07
Set , so . The multinomial logistic regression implies . Normalizing givesMultiply the multinomial likelihoods for conditionally independent groups. The multinomial coefficients are constant in , leavingThe reference constraint identifies the coefficients: a common shift of every category coefficient otherwise leaves all probabilities unchanged. The PDF places the full sum inside the numerator exponent; the TeX breaks that expression.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 4 5J b Solution Created 2026-09-24 Updated 2026-10-05
This is not a valid ordinary R glm family specification. A multinomial distribution is natural for the three damage counts conditional on the row total, but base R's generalized linear model interface does not supply a family named multinomial. Furthermore, the written response is one cell count, not a three-category response or grouped multinomial vector. A properly specified multinomial logistic regression could model category probabilities by group, but it is not the model fit by this command. The independent-count log-linear model in part (a), conditional on the margins, is the appropriate supplied alternative.