Past exam of the mathematics course of the University of Cambridge 2006 ib Paper 3 8C b Solution Created 2026-09-24 Updated 2026-10-14
Use the Pearson chi-squared test of homogeneity for two multinomial samples. Under equal preference distributions, estimate the common probabilities from pooled counts, giving . With row totals forty and sixty, the expected table isThe Pearson chi-squared statistic for contingency tables isThere are degrees of freedom, after fitting the common category probabilities. All expected counts exceed five. ThusAt five percent, do not reject the common preference distribution. These data are consistent with that hypothesis; failure to reject does not prove equality. This conclusion differs from part a because a common nonuniform distribution, especially an overall preference for chocolate, is allowed here.
Past exam of the mathematics course of the University of Cambridge 2014 ib Paper 2 8H Solution Created 2026-09-24 Updated 2026-10-06
Let and be the underlying full-recovery probabilities. The two-sided statistical hypothesis test isUse the Pearson chi-squared test of homogeneity for the two independent groups. Under , the pooled recovery estimate is , so each row has expected counts 28 recovered and 22 not recovered. All expected counts comfortably exceed five. The Pearson chi-squared statistic for contingency tables isThe asymptotic reference distribution is a chi-squared distribution with degree of freedom. Since , do not reject equal recovery probabilities at the 5% level. The observed recovery proportions, 0.50 and 0.62, do not provide statistically significant evidence of a difference in this trial. This conclusion does not prove that the procedures have identical recovery probabilities.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 2 8H Solution Created 2026-09-24 Updated 2026-10-06
Under the null hypothesis the three outcome probabilities are the same in the two independent samples. The pooled row totals are , and both column totals are , out of a total of . Thus the expected counts in each column are . These exceed the usual small-count threshold for the asymptotic Pearson chi-squared test of homogeneity.
The Pearson chi-squared statistic for contingency tables isUnder the null, its asymptotic chi-squared distribution has degrees of freedom. Equivalently, the two independent three-category samples have four probability parameters unrestricted and two under the common-probability null. The upper-tail critical value is .
Since , do not reject the equal-effect hypothesis at the 1% level. For two degrees of freedom, the approximate p-value is , just above . This is a decision at the specified significance level, not evidence that the two outcome distributions have been proved identical.
Pearson chi-squared test of homogeneity Created 2026-10-06 Updated 2026-10-14
The Pearson chi-squared test of homogeneity tests whether several independent categorical samples have the same category probabilities. Under the null, expected cell counts equal the product of the corresponding row and column totals divided by the total sample size. The Pearson chi-squared statistic for contingency tables has an asymptotic chi-squared distribution with degrees of freedom, when expected counts are sufficiently large. The sampling design differs from a Pearson chi-squared test of independence, though the statistic has the same form.