StatisticsLesson 1 of 2 in the course The Chi-Square Distribution

Chi-Square Goodness-of-Fit Tests for Categorical Counts

5 flashcards · 5 quiz questions · 5 match pairs · 5 fill-in sentences · English

Lesson progress
0 / 5

Your progress is kept in this browser only.Sign up to save it

Summary

A goodness-of-fit test uses the chi-square distribution to assess whether observed categorical data are consistent with a distribution specified by a theory, prediction, or population model. It helps distinguish ordinary sampling variation from differences large enough to question the proposed distribution.

The null hypothesis, H0H_0, states that the population distribution follows the specified pattern. The alternative hypothesis, HaH_a, states that the distribution does not follow that pattern. These hypotheses can be written in words or as statements about category probabilities.

All flashcards

Chi-square goodness-of-fit test
A hypothesis test comparing observed categorical counts with counts expected under a specified distribution.
Observed and expected counts
Observed counts are recorded in the data; expected counts are predicted by the null hypothesis.
Goodness-of-fit test statistic
χ2=∑i=1k(Oi−Ei)2Ei\chi^2=\sum_{i=1}^{k}\frac{(O_i-E_i)^2}{E_i}. It summarizes the discrepancies between observed and expected counts.
Degrees of freedom
For a goodness-of-fit test with kk categories, df=k−1df=k-1.
Expected-count condition
Every expected count must be at least five for the usual chi-square goodness-of-fit procedure.

Quiz questions

  1. What does the null hypothesis state in a goodness-of-fit test?Answer: The population distribution follows the specified pattern.
  2. All expected counts in a goodness-of-fit test are at least five, but one observed count is below five. What follows from the expected-count condition?Answer: The expected-count condition is met; a low observed count alone does not violate it.
  3. At significance level α\alpha, when should a goodness-of-fit test reject the null hypothesis based on its p-value?Answer: When the p-value is at most α\alpha.
  4. If observed counts are close to their expected counts across categories, what is generally true of the chi-square statistic?Answer: It tends to be small.
  5. A goodness-of-fit test has an expected count below five. What is an appropriate response?Answer: Do not use the usual procedure as is; consider justified category combining or another method.

Based on Introductory Statistics 2e by Barbara Illowsky, Susan Dean (OpenStax), licensed CC BY 4.0. Adapted into a summary, flashcards and quizzes.

All Statistics lessons