Mathematics and Statistics · Ch 13 — Bivariate Frequency Distribution and Chi-Square Statistic
The Chi-Square Statistic and Its Interpretation
The Chi-Square Statistic and Its Interpretation
Once every cell has an observed frequency and an expected-under-independence frequency , a single number is needed to summarise how far apart the whole observed table is from what independence would predict. Simply adding the differences is useless — they always cancel to zero, because reproduces the same totals as . Squaring each difference removes the cancellation, and dividing by scales each squared gap relative to how large that cell was expected to be. Adding these up over every cell gives the chi-square statistic.
Chi-Square Statistic
the sum running over every cell of the contingency table, where is the observed frequency and is the expected frequency of that cell.
The symbol is the Greek letter chi (pronounced 'kai'), and is read 'chi-square'. Its value is interpreted by size:
- occurs only when every equals its . This is exact agreement with independence, so the two attributes are taken to be independent (unassociated).
- , and the larger it is, the further the observed table lies from independence — that is, the stronger the association between the two attributes. A small positive points to a weak association; a large points to a strong one.
Because is a sum of terms each of which is zero or positive, the statistic can never be negative — a negative is always an arithmetic error. Its size also grows with the size of the table (more cells means more non-negative terms added), which is why comparing a value against a formal threshold to decide significance uses the table's degrees of freedom, for an table.
Scope of this chapter (an honest boundary) …
A single number measuring how far an observed contingency table departs from independence, summed over all cells; it is always , equals only when the attributes are independent, and grow …
For an contingency table, the quantity ; it governs how a chi-square value is compared against a threshold in a formal test of significance …