Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ib/paper-3/20h/solution
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 3 20H Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Under the null hypothesis that treatment and recovery are independent, estimate each expected cell count byand form the Pearson chi-squared test of independence statistic . For a table its asymptotic null law is a chi-squared distribution with one degree of freedom. A second-order Taylor expansion of the generalized likelihood-ratio test statistic around the fitted counts gives this Pearson statistic, which explains its asymptotic null distribution.
Writing the four residuals over their fitted counts and simplifying givesFor ,whose one-degree-of-freedom p-value is about . There is no evidence of an effect. One fitted count is only , however, so the chi-squared approximation is questionable; Fisher's exact test would be preferable.
New to topics? Read the docs here!