All sections
§11.2Reference material onlyIn class Wed, Dec 2

Goodness-of-Fit Test

Introductory Statistics 2e, Chapter 11, p. 565

Reference notes. A concise summary for orientation — not yet a full NoviLearn lesson with practice and mastery tracking.

A goodness-of-fit test asks whether one categorical variable's observed counts match a claimed distribution (e.g., are all days of the week equally likely?).

Key ideas

  • H0H_0H0​: the data fit the claimed distribution; HaH_aHa​: they don't.
  • Expected count for each category = n×n \timesn× (claimed proportion). Each expected count should be at least 5.
  • χ2=∑(O−E)2E\chi^2 = \sum \frac{(O - E)^2}{E}χ2=∑E(O−E)2​ with df=k−1df = k - 1df=k−1 (kkk categories). Right-tailed test.
Chi-square test statistic (counts)
χ2=∑(O−E)2E\chi^2 = \sum \frac{(O - E)^2}{E}χ2=∑E(O−E)2​

Textbook: OpenStax Introductory Statistics 2e (CC BY-NC-SA 4.0). Access for free at openstax.org.