Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 13J a Solution Created 2026-09-24 Updated 2026-10-03
No intercept should be included unless the ordering of the two teams has an external meaning such as home advantage. Ifthen reversing the teams gives , so the logistic model automatically givesAn intercept would not change sign when the teams are swapped and would violate this required symmetry. Thus an intercept does not make sense in the stated model.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 218 3 a Solution 2026-09-28
For word-count vector , the fitted logistic model isHolding other counts fixed, one additional occurrence of "dollar" multiplies the fitted spam odds by .
The logistic classifier isThe coefficients maximize the Bernoulli logistic-regression model likelihood over the training emails.