Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 37 3 i Solution Created 2026-10-03 Updated 2026-10-14
Under the proposed exposure-only model, suppose a unit of infectious exposure has the same probability of producing an ascertained onset in either cohort. Conditional on the total of onsets, the allocation is a binomial distribution with younger-cohort probabilityThus the expected cohort counts are and , respectively, whereas the observed allocation is reversed. The Pearson chi-squared goodness-of-fit test givesWith one degree of freedom its approximate p-value is ; the exact upper binomial distribution tail is approximately . These are exceptionally incompatible with proportional allocation. Equivalently, the observed onset count per exposure unit is four times larger in the younger cohort:Under the stated common-risk exposure model, the observed counts are not consistent with the early exposure period as their sole explanation. This does not identify the source of the discrepancy, or prove a particular later exposure caused it. The inference also requires comparable ascertainment and a common fraction of exposure-derived cases manifesting by the observation date. Age-independent incubation periods alone do not guarantee that fraction when the two cohorts' exposure profiles within the decade differ; decade totals omit that timing information. The reasoning concerns the hypothetical historical BSE/vCJD model, not an estimate of current disease risk.
Past exam of the mathematics course of the University of Cambridge 2003 ib Paper 4 3H Solution Created 2026-09-24 Updated 2026-10-14
Use the Pearson chi-squared goodness-of-fit test. Under the null hypothesis, each count has the specified binomial distribution, and no parameter is estimated from the data. The seven mutually exclusive classes give degrees of freedom. Their expected counts are all at least five, so the usual chi-squared asymptotic approximation does not require pooling. The computed statistic isSince , do not reject fairness at the 5% level. The approximate -value is . This conclusion concerns agreement with the specified independent fair-coin count model; a nonrejection is not proof of fairness.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 6 d Solution Created 2026-10-03 Updated 2026-10-14
Use the prespecified excess-sharing alternative: affected full siblings linked to a disease genetic locus are expected to share more marker copies identical by descent. The total sharing count is , so . Under the no-linkage null, independent sibling pairs have and , giving the mean allele-sharing test for affected siblingsThe upper 5% standard normal critical value is approximately , so there is evidence of excess sharing, and hence linkage, at the one-sided 5% level. The normal approximation gives upper-tail p-value .
The conclusion depends on the intended directional test. A two-sided test of the sharing mean uses , so it would not reject at 5%. An omnibus Pearson chi-squared goodness-of-fit test of the three counts against gives with two degrees of freedom and also would not reject. The directional mean-sharing test targets the scientifically specified excess-sharing alternative; these different tests should not be selected after seeing which rejects. Independence of the 200 pairs is assumed: if pairs overlap within families, the standard error needs adjustment.
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 1 7D Solution Created 2026-09-24 Updated 2026-10-14
Under the null hypothesis of equal population probabilities, the three counts have a multinomial distribution with probabilities and expected counts each. The Pearson chi-squared goodness-of-fit test usesNo probabilities have been estimated from the data, and the three counts sum to a fixed total. Hence the null reference chi-squared distribution has statistical degrees of freedom. The supplied upper critical value is , and . At the 5% significance level there is insufficient evidence to reject equal popularity.
The asymptotic P-value is . The expected counts are all large, so the approximation is appropriate if the sampled choices are independent and representative of this branch. The conclusion depends on the chosen significance level; for instance, a test would reject. Nonrejection does not establish the null hypothesis, and a survey at one branch does not by itself justify a population claim about every branch.
Past exam of the mathematics course of the University of Cambridge 2006 ib Paper 3 8C a Solution Created 2026-09-24 Updated 2026-10-14
Under the null hypothesis the three preference probabilities for girls are each . Conditional on their total of sixty, the counts have a multinomial distribution, giving expected counts . The Pearson chi-squared goodness-of-fit test statistic isNo probabilities have been fitted, so the asymptotic null distribution is chi-squared distribution with degrees of freedom. All expected counts are comfortably large for this approximation. For two degrees of freedom its upper-tail probability is , soAt the conventional five-percent or one-percent significance level, reject equal attractiveness: there is substantial evidence against the null distribution. No level was specified, so reporting the p-value makes the decision rule explicit. The test assumes independent responses and a sampling interpretation appropriate to the children surveyed.
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 3 8C Solution Created 2026-09-24 Updated 2026-10-14
Under the null hypothesis, the defect count in each packet has a binomial distribution with parameters . The likelihood, apart from factors independent of , isThe maximum-likelihood estimate is thereforeThe fitted binomial distribution probabilities for counts are , yielding expected packet counts . The Pearson chi-squared goodness-of-fit test usesFor binomial goodness-of-fit with an estimated parameter, there are statistical degrees of freedom: the category counts have a fixed total, and one parameter was estimated. At the conventional level the chi-squared distribution with two statistical degrees of freedom has upper critical value , so the data do not reject the independent common-defect-probability model. The approximate p-value is ; even at , the critical value exceeds the observed statistic.
This is a goodness-of-fit conclusion rather than proof that individual bulbs are independent. The last expected count is only , so the chi-squared asymptotic approximation is somewhat marginal in that cell. The stated calibration is the usual asymptotic test with all four cells retained; if more accurate small-count inference is required, calibrate the fitted statistic under the binomial distribution model. Pooling cells would require a corresponding treatment of parameter fitting and test calibration.
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 2024 ib Paper 2 6H ii Solution Created 2026-09-24 Updated 2026-09-25
For observed counts and null expected counts , the Pearson chi-squared goodness-of-fit test usesWhen the null cell probabilities are specified and the expected counts grow, its limiting null distribution isHere , so the limit is .
After pooling, there are eight categories: . Their frequencies have one constraint because they sum to , and one model parameter was fitted. Thus the reference chi-squared distribution hasdegrees of freedom. The reported statistic satisfies , the stated upper cutoff for six degrees of freedom. Therefore reject the Poisson model at the 0.1% significance level under the independence and common-mean assumptions. The discrepancy is especially pronounced in the zero-count class, but the test assesses the whole fitted distribution. The conclusion uses the approximate Pearson chi-squared goodness-of-fit test, not an exact finite-sample tail probability.
Pearson's chi-squared test Created 2026-10-14 Updated 2026-11-05
The Pearson chi-squared test compares observed categorical counts with null expected counts using the displayed statistic. Its applications include Pearson chi-squared goodness-of-fit test for specified probabilities and Pearson chi-squared test of independence for contingency tables; the fitted restrictions determine the limiting degrees of freedom.