All revision notes topics

Yates' correctionAQA A-Level Further Maths: Revision notes

Section 1

Why a correction is needed

The chi-squared test statistic ∑(O−E)2E\sum\frac{(O-E)^2}{E} is only an approximation: the observed frequencies are discrete whereas the chi-squared distribution is continuous. When the degrees of freedom are small this approximation tends to make the statistic too large, so the test rejects H0H_0 too often. Yates' correction (continuity correction) reduces this effect.

Key termsYates' correctioncontinuity correction

Section 2

When to apply it

Apply Yates' correction when the table is a 2×22\times2 contingency table, so that ν=(2−1)(2−1)=1\nu=(2-1)(2-1)=1. For larger tables (ν>1\nu>1) it is not used. The convention that every expected frequency should be greater than 5 still applies.

Key terms$2\times2$ table
Common mistake

Using Yates' correction on a 2×32\times3 or 3×33\times3 table. It is only for ν=1\nu=1.

Section 3

How to apply it

X2=∑(∣Oi−Ei∣−0.5)2Ei.X^2=\sum\frac{(|O_i-E_i|-0.5)^2}{E_i}. Find each expected frequency as usual, take the modulus of O−EO-E, subtract 0.50.5, then square and divide by EE. In a 2×22\times2 table all four values of ∣O−E∣|O-E| are equal, which gives a quick check. Compare the result with the critical value for ν=1\nu=1: 3.8413.841 at 5%5\% and 6.6356.635 at 1%1\%.

Exam tip

In a 2×22\times2 table, ∣O−E∣|O-E| is the same in every cell, so work it out once and reuse it.

Section 4

Worked example

Method X: 17 pass, 8 fail. Method Y: 10 pass, 15 fail. Totals: 27 pass, 23 fail, N=50N=50.

  • E=25×2750=13.5E=\frac{25\times27}{50}=13.5 (pass), 25×2350=11.5\frac{25\times23}{50}=11.5 (fail), for each method.
  • ∣O−E∣=3.5|O-E|=3.5 in every cell.
  • Corrected: 32(213.5+211.5)=2.903^2\left(\frac{2}{13.5}+\frac{2}{11.5}\right)=2.90.
  • 2.90<3.8412.90<3.841, so do not reject H0H_0. Without the correction the statistic would be 3.953.95, which would wrongly reject H0H_0.

Section 5

Interpreting the result

Yates' correction always gives a smaller statistic than the uncorrected formula, so it is more cautious about claiming an association. State the conclusion in context, for example 'there is insufficient evidence that the pass rate depends on the training method'. If the corrected statistic is close to the critical value, say that the result is borderline and that more data would help.

Common mistake

Subtracting 0.50.5 from the final statistic. The 0.50.5 is subtracted inside the bracket, from each ∣O−E∣|O-E|.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Yates' correction

  1. A gardener compares germination for 60 seeds given fertiliser and 60 seeds given none. Of the seeds given fertiliser, 42 germinate. Of the seeds given none, 30 germinate. A chi-squared test for association between treatment and germination is to be carried out.
    State the degrees of freedom of the test statistic and explain why Yates' correction is applied.2 marks
  2. A survey of 50 people records which of two products, A or B, each prefers. Of the 30 men, 20 prefer A and 10 prefer B. Of the 20 women, 6 prefer A and 14 prefer B.
    Calculate the value of the test statistic with Yates' correction applied.2 marks
  3. A trial compares two treatments for a skin condition. Of 20 patients given treatment A, 14 were cured. Of 20 patients given treatment B, 8 were cured.
    Calculate the value of the test statistic with Yates' correction applied.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).