ArticleslgStudy

mathematics

Yates's correction for continuity

Yates's correction for continuity is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Yates's correction for continuity rather than just read about it. In short: In statistics, Yates's correction for continuity (or Yates's chi-squared test) is a statistical test commonly used when analyzing count data organized in a contingency table, particularly when sample sizes are small. It is specifically designed for testing whether two categorical variables are related or independent of each other.

Key takeaways

  • Yates's correction for continuity belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Yates's correction for continuity to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Yates's correction for continuity from memory before moving on to harder problems.

Reference excerpt

In statistics, Yates's correction for continuity (or Yates's chi-squared test) is a statistical test commonly used when analyzing count data organized in a contingency table, particularly when sample sizes are small. It is specifically designed for testing whether two categorical variables are related or independent of each other. The correction modifies the standard chi-squared test to account for the fact that a continuous distribution (chi-squared) is used to approximate discrete data. Almost exclusively applied to 2×2 contingency tables, it involves subtracting 0.5 from the absolute difference between observed and expected frequencies before squaring the result. Unlike the standard Pearson chi-squared statistic, Yates's correction is approximately unbiased for small sample sizes. It is considered more conservative than the uncorrected chi-squared test, as it increases the p-value and thus reduces the likelihood of rejecting the null hypothesis when it is true. While widely taught in introductory statistics courses, modern computational methods like Fisher's exact test may be preferred for analyzing small samples in 2×2 tables, with Yates's correction serving as a middle ground between uncorrected chi-squared tests and Fisher's exact test. The correction was first published by Frank Yates in 1934.

Correction for approximation error Using the chi-squared distribution to interpret Pearson's chi-squared statistic requires one to assume that the discrete probability of observed binomial frequencies in the table can be approximated by the continuous chi-squared distribution. This assumption is not quite correct, and introduces some error. To reduce the error in approximation, Frank Yates, an English statistician, suggested a correction for continuity that adjusts the formula for Pearson's chi-squared test by subtracting 0.5 from the difference between each observed value and its expected value in a 2 × 2 contingency table. This reduces the chi-squared value obtained and thus increases its p-value. The effect of Yates's correction is to prevent overestimation of statistical significance for small data. This formula is chiefly used when at least one cell of the table has an expected count smaller than 5.

∑i=1NOi=20 The following is Yates's corrected version of Pearson's chi-squared statistics:

χYates2=∑i=1N(|Oi−Ei|−0.5)2Ei where:

Oi = an observed frequency Ei = an expected (theoretical) frequency, asserted by the null hypothesis N = number of distinct events

2 × 2 table As a short-cut, for a 2 × 2 table with the following entries:

χYates2=N(|ad−bc|−N/2)2(a+b)(c+d)(a+c)(b+d). In some cases, this is better.

χYates2=N(max⁡(0,|ad−bc|−N/2))2NSNFNANB. Yates's correction should always be applied, as it will tend to improve the accuracy of the p-value obtained. However, in situations with large sample sizes, using the correction will have little effect on the value of the test statistic, and hence the p-value.

See also Continuity correction Wilson score interval with continuity correction

References

Worked examples

Example 1 — a first encounter with Yates's correction for continuity

Start with the simplest possible case. Write down what Yates's correction for continuity claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Yates's correction for continuity before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Yates's correction for continuity ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Yates's correction for continuity

In research
Yates's correction for continuity appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Yates's correction for continuity in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Yates's correction for continuity is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational statistics, Statistical hypothesis testing, Theory of probability distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Yates's correction for continuity outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Yates's correction for continuity” →

How to study Yates's correction for continuity in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Yates's correction for continuity means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Yates's correction for continuity out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Yates's correction for continuity in simple terms?

In statistics, Yates's correction for continuity (or Yates's chi-squared test) is a statistical test commonly used when analyzing count data organized in a contingency table, particularly when sample sizes are small. It is specifically designed for testing whether two categorical variables are rela…

Why does Yates's correction for continuity matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Yates's correction for continuity?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Yates's correction for continuity.

Tags

  • Computational statistics
  • Statistical hypothesis testing
  • Theory of probability distributions

Keep exploring