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, H0, states that the population distribution follows the specified pattern. The alternative hypothesis, Ha, 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=1kEi(Oi−Ei)2. It summarizes the discrepancies between observed and expected counts.
Degrees of freedom
For a goodness-of-fit test with k categories, df=k−1.
Expected-count condition
Every expected count must be at least five for the usual chi-square goodness-of-fit procedure.
Quiz questions
What does the null hypothesis state in a goodness-of-fit test?Answer: The population distribution follows the specified pattern.
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.
At significance level α, when should a goodness-of-fit test reject the null hypothesis based on its p-value?Answer: When the p-value is at most α.
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.
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.