Solution
ID: past-exam-of-the-physics-a-course-of-the-university-of-cambridge/2018/paper-1/section-d/d12/a/solution
Past exam of the physics A course of the University of Cambridge 2018 Paper 1 Section D D12 a Solution by
Codex 0 2026-10-18
A chi-squared test compares residuals with the random scatter predicted by a model. For independent measurements with known Gaussian standard deviations and predictions , formIf the mean model and error assumptions are correct, a full-rank linear fit of parameters gives a chi-squared distribution with statistical degrees of freedom. With a fully specified prediction and no fitted parameters, . Nonlinear fits usually make this an approximation. Independent external calibration is not the same as fitting a parameter to these test data.
Under the reference distribution, the mean statistic is and its variance is . The upper-tail p-value quantifies how unusual a discrepancy at least this large would be under the assumed model. A small value suggests model failure or incorrect uncertainties; it is not the probability that the model is true. An unusually small statistic can also reveal inflated uncertainties or correlations. A rejection threshold should be specified in advance.
For independent Poisson distribution counts, the model variance is its expected count . The Pearson chi-squared statistic is . The estimated-error alternative is common for large counts but can differ substantially when counts are small. In that regime the Poisson deviance or a direct likelihood calculation is preferable, with simulation if an accurately calibrated goodness-of-fit probability is required.
New to topics? Read the docs here!