Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/ib/paper-2/6h/solution

Under the null hypothesis of independence between treatment and outcome, the expected counts in each treatment row are one half of the column totals:
The Pearson chi-squared test of independence statistic is
The number of degrees of freedom is
At the 5% level the critical value is . Since , we reject the null hypothesis and find statistically significant evidence that the drug and placebo have different effects.

New to topics? Read the docs here!