Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2008/iii/paper-46/2/a/solution

Treat the two retrieved sets of positive tests as independent binomial samples, each of size 500, and use a two-sided test at significance level . The normal-approximation sample size for comparing two proportions, with equal numbers in each group, is
For , , this gives , or 356 per group. Thus 500 positives in each period are sufficient for 80% power under these assumptions.
More explicitly, a pooled two-proportion test rejects when
where pools the maximum-readout successes. At the proposed alternative, the difference has mean and standard deviation . The planning null critical difference is , giving approximate power
This compares the readout percentage among positive tests. It assumes comparable measurement rules and independent observations; a change in that percentage alone does not identify its causal explanation or the prevalence of drug use in the full tested population.

New to topics? Read the docs here!