Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 2 12D Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2002 ib Paper 2 12H Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 1 10H Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 3 8D Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 1 7C Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2013 ib Paper 4 19H Solution Created 2026-09-24 Updated 2026-10-07
A sufficient statistic is one for which the conditional distribution of the full sample, given its value, is independent of the parameter. For independent observations the likelihood is , depending on the data only through the counts. The factorization criterion for sufficiency therefore makes sufficient. Directly, all ordered samples with given counts have the same probability, so their conditional distribution is uniform over the possible arrangements, independently of the .
The unrestricted maximum-likelihood estimator is . Thus the generalized likelihood-ratio test useswith zero-count terms interpreted by continuity. Reject for small , equivalently large .
Write , so . A Taylor series expansion of gives . Summing cancels the linear terms, and yieldsUnder the null hypothesis, the multinomial central limit theorem places the standardized count deviations in the five-dimensional subspace with coordinate sum zero, with identity covariance on that subspace. Their squared norm consequently tends to the chi-squared distribution with five degrees of freedom. This gives the Pearson chi-squared goodness-of-fit test.
For , the asymptotic p-value is about . The 5% critical value of is approximately . Do not reject at the usual 5% level, or at 10%. A significance level is not specified in the paper, so an unconditional yes-or-no decision is not determined: using this approximation, rejection would require a chosen level at least about .
Past exam of the mathematics course of the University of Cambridge 2014 ib Paper 1 19H Solution Created 2026-09-24 Updated 2026-10-06
Put . Independence gives a likelihood ratioSince , this is strictly increasing in . A threshold chosen between its values at and gives precisely the stated upper-tail critical region, so it is a likelihood-ratio test.
The sum has a Poisson distribution with mean . Thus the size of a statistical test and its statistical power at are
For the grouped-area problem, let , , . The null log likelihood, up to data-only constants, isThe maximum-likelihood estimate is , giving fitted means and in the two groups. Under the alternative, the fitted group means are and .
Use the increasing generalized likelihood-ratio test convention , consistent with the printed positive . The exponential and factorial factors cancel, yielding the likelihood-ratio test of area-proportional Poisson meansTerms with zero count are interpreted as ; if , take . If the inverse ratio is used, the reported test statistic is instead .
Under the null, the regular large-sample Wilks theorem approximation is : the alternative has two rate parameters and the null one. The value far exceeds the usual critical value, about , and has approximate tail probability . Thus reject proportionality of the expected counts to area: the two groups show evidence of different territory densities. The statistic alone does not say which group has greater density; that requires versus . For small counts, an exact conditional test uses under the null instead of the asymptotic calibration.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 4 19H b Solution Created 2026-09-24 Updated 2026-10-06
Put for the unrestricted fit. Under , the best slope is still because the design is centered. Orthogonality of the residuals to the constant vector givesAt either fitted mean, the maximum-likelihood estimator of variance is . The ratio used by the generalized likelihood-ratio test is consequentlySmall likelihood ratios correspond to large . Under , part (a) gives independent and . Thus has the Student's t-distribution with degrees of freedom. The exact size-5% critical region iswhere is the 97.5th percentile of that distribution. The denominator uses the unbiased residual variance estimate, not the likelihood variance denominator .
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 3 20H Solution 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.
Past exam of the mathematics course of the University of Cambridge 2025 ib Paper 4 17H a Solution Created 2026-09-24 Updated 2026-10-03
The unrestricted maximum-likelihood estimates are , while the null fixes both means at zero. HenceUnder the null this is , so the size- generalized likelihood-ratio test rejects exactly when