Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ib/paper-1/6h/b/solution

The null hypothesis is that mortality is independent of carbolic-acid use, equivalently that the two mortality probabilities are equal. The two-sided alternative is that they differ.
Use the Chi-squared test of independence, equivalently the likelihood-ratio statistic, with Pearson's statistic
where are the fitted counts under independence using the observed row and column totals. Under the null, is asymptotically . A size- test rejects when

New to topics? Read the docs here!