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.