Opening your learning space
Starting the app …
Opening your learning space
Starting the app …
The chi-square goodness-of-fit test compares observed frequencies with frequencies expected under an assumed distribution.
Free to browse · flashcards or a multiple-choice quiz · import from Essential
Formula
Dimensionless; observed and expected counts use the same category units.
| Symbol | Meaning | Unit |
|---|---|---|
| Observed frequency in category i | count | |
| Expected frequency under H0 | count | |
| Number of categories | dimensionless | |
| Test statistic | dimensionless |
\chi^2=\sum_{i=1}^k\frac{(O_i-E_i)^2}{E_i}Under H0, the statistic is approximated by a chi-square distribution. If no model parameters are estimated from data, degrees of freedom are usually k−1; estimated parameters reduce them. Expected cell counts should be sufficiently large, classically at least 5. Categories must be mutually exclusive and cover the same observation unit.
Under H0, the statistic is approximated by a chi-square distribution. If no model parameters are estimated from data, degrees of freedom are usually k−1; estimated parameters reduce them. Expected cell counts should be sufficiently large, classically at least 5. Categories must be mutually exclusive and cover the same observation unit.
The chi-square goodness-of-fit test compares observed frequencies with frequencies expected under an assumed distribution.
Contribution of one category
The contribution χ2i is not the whole test statistic.
Rework the example for “Chi-Square Goodness-of-Fit Test” and explain why the check is valid.
For O=(18,32), E=(25,25): χ2=49/25+49/25=3.92.
With two categories and no estimated parameters, df=1.
Check: square each difference, then divide by Ei.
Ignoring an assumption of the formula: Under H0, the statistic is approximated by a chi-square distribution
Check units and model conditions before substitution; then verify the result in the original relation or a limiting case.
Formula cluster
Related relations in the formula sheet: binomialverteilung, normalverteilung, pearson-korrelationskoeffizient.
For O=(18,32), E=(25,25): χ2=49/25+49/25=3.92. With two categories and no estimated parameters, df=1. Check: square each difference, then divide by Ei.
Test whether categorical data fit a specified probability distribution.
Here is how to work through a typical Chi-Square Goodness-of-Fit Test (χ²=Σ(Oᵢ−Eᵢ)²/Eᵢ) task step by step:
Task
Rework the example for “Chi-Square Goodness-of-Fit Test” and explain why the check is valid.
Solution path
For O=(18,32), E=(25,25): χ2=49/25+49/25=3.92.
With two categories and no estimated parameters, df=1.
Check: square each difference, then divide by Ei.
The chi-square goodness-of-fit test compares observed frequencies with frequencies expected under an assumed distribution. The notation χ2=Σ(Oi−Ei)2/Ei shows which quantities are connected. Here, Oi: Observed frequency in category i (count); Ei: Expected frequency under H0 (count); k: Number of categories (dimensionless). Dimensionless; observed and expected counts use the same category units. An application depends on whether the supplied quantities match the definitions and reference directions. Common uses include Test whether categorical data fit a specified probability distribution.. Read the variables and their dimensions before substituting numbers; this often reveals whether the result should be a length, rate, probability, or dimensionless statistic.
Start with a diagram or a list of known quantities, assign each one a symbol, and convert units to a consistent form. Then choose the appropriate equation and substitute values only afterward. Example: For O=(18,32), E=(25,25): χ2=49/25+49/25=3.92. With two categories and no estimated parameters, df=1. Check: square each difference, then divide by Ei. Verification is part of the calculation: Under H0, the statistic is approximated by a chi-square distribution Also compare the magnitude and unit with the context. Round only at the end, since early rounding can affect multi-step calculations, especially when small differences or sums are involved.
Under H0, the statistic is approximated by a chi-square distribution. If no model parameters are estimated from data, degrees of freedom are usually k−1; estimated parameters reduce them. Expected cell counts should be sufficiently large, classically at least 5. Categories must be mutually exclusive and cover the same observation unit. These are not minor footnotes: when assumptions fail, the formula can produce a precise but inappropriate result. Before calculating, identify which values are observed, estimated, or modeled, and whether special cases change the equation. Test whether categorical data fit a specified probability distribution. For numerical methods, also check step size and stability; for statistics, sampling design and distribution; for calculus, differentiability, boundary, and orientation. Use another method when these conditions do not hold.
Both relations belong to the same topic, but answer different questions. “Chi-Square Goodness-of-Fit Test”: The chi-square goodness-of-fit test compares observed frequencies with frequencies expected under an assumed distribution. The companion relation “Binomial Distribution” The binomial distribution gives the probability of exactly k successes in n independent trials with success probability p. Choose based on the quantity sought and the model: Test whether categorical data fit a specified probability distribution. The worked example For O=(18,32), E=(25,25): χ2=49/25+49/25=3.92. With two categories and no estimated parameters, df=1. Check: square each difference, then divide by Ei. shows which quantities actually enter this relation. Compare both formulas using the same data and identify the companion’s extra assumption. This clarifies which relation fits.
A statistic alone proves neither causation nor a hypothesis. Check sampling, independence, denominator and distribution assumptions before interpreting a test or interval. The symbols must also match their definitions exactly: Oi: Observed frequency in category i (count); Ei: Expected frequency under H0 (count); k: Number of categories (dimensionless). Do not calculate mechanically; write the assumption beside the setup, then check dimensions and sign. Also note: Under H0, the statistic is approximated by a chi-square distribution The example For O=(18,32), E=(25,25): χ2=49/25+49/25=3.92. With two categories and no estimated parameters, df=1. Check: square each difference, then divide by Ei. lets you follow these checks directly. If the assumptions do not fit, choose another relation from the chapter instead of forcing values into an unsuitable formula.
Quanta exam set
Curated exam set for "Chi-Square Goodness-of-Fit Test":
Question (front)
Which formula describes Chi-Square Goodness-of-Fit Test?
Answer in your set
Question (front)
How do you rearrange Chi-Square Goodness-of-Fit Test for Contribution of one category?
Answer in your set
Question (front)
Which common mistake happens with Chi-Square Goodness-of-Fit Test?
Answer in your set
+ 7 more cards: units, variables, derivation, example, exam task
The formula set contains 10 cards. After importing, review them and start practicing; your ratings determine later review intervals.
This list names subject references and further reading. A page or section number appears when it is part of the reference; these are not verbatim quotations.
Create a curated FSRS exam set for χ²=Σ(Oᵢ−Eᵢ)²/Eᵢ: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.
Curated formula set · LaTeX · FSRS spaced repetition · import from Essential