Biostatistics Study NotesFrom concepts and derivations to interpretation

CHAPTER 05 · TOPIC 05

Yates’ Continuity Correction

Understand the 0.5 continuity correction for chi-square approximations in 2×2 tables, including its effects and limitations.

On this page
  1. Where does 0.5 come from?
  2. From Pearson statistics to Yates correction
  3. Simplified formula for 2×2 table
  4. How to Interpret “Expected Count Less Than 5”
  5. Strengths and Limitations

Yates' continuity correction is a correction that reduces the difference by 0.5 when approximating the discrete frequencies in a 2×2 table with a continuous chi-square distribution. The purpose is to prevent the uncorrected Pearson test from becoming too significant in small samples.

Where does 0.5 come from?#

discrete eventsP(X8)P(X\geq8)
continuous approximationP(X8)P(Y7.5)P(X\geq8)\approx P(Y\geq7.5)
moving boundaries87.5=0.58-7.5=0.5

The interval centered on the integer 8 is from 7.5 to 8.5, so approximating 8 or more with a continuous distribution moves the boundary to 7.5. This half unit is the continuity correction.

From Pearson statistics to Yates correction#

Uncorrected PearsonχP2=(OE)2E\chi_P^2=\sum\frac{(O-E)^2}{E}
Yates correctionχY2=(OE0.5)2E\chi_Y^2=\sum\frac{\left(|O-E|-0.5\right)^2}{E}

Simplified formula for 2×2 table#

χY2=N(ADBCN/2)2(A+B)(C+D)(A+C)(B+D)\chi_Y^2=\frac{N\left(|AD-BC|-N/2\right)^2}{(A+B)(C+D)(A+C)(B+D)}
methodsimplified molecule
Uncorrected Pearson(AD−BC)²
Yates correction(|AD−BC|−N/2)²
χY2χP2pYpP\chi_Y^2\leq\chi_P^2\quad\Longrightarrow\quad p_Y\geq p_P

How to Interpret “Expected Count Less Than 5”#

The target of judgment is not the observed count O, but the expected count E below H₀. However, it is not a mechanical rule that says, ``If even one cell has E<5, it will always be Yates.'' Consider the expected frequencies for the entire table, the sample design, the purpose of the inference, and the available exact methods.

Strengths and Limitations#

Strong Pointslimit
Reduce errors in approximating discrete distributions with continuous distributionsOften overly conservative and reduces power
Easy to calculate and widely usedIt is not an exact test itself.
Easier to reduce false positives than uncorrected PearsonIf the sample is sufficient, the need for correction is small.