In this lesson, you will use grocery receipt amounts to investigate whether observed data are consistent with a uniform distribution or an exponential distribution. A chi-square goodness-of-fit test compares observed category counts with the counts expected under a proposed distribution.
Collect 30 receipt totals, either by asking 30 shoppers as they leave a supermarket or by recording the last ten receipt totals from each of three cashiers. Include the express lane if it is open. Record each amount as one observation.
All flashcards
What is a chi-square goodness-of-fit test?
A test that assesses whether observed counts in categories differ significantly from the counts expected under a proposed distribution.
How are expected counts calculated for a category?
Multiply the sample size by the probability that the proposed distribution assigns to that category: Ei=npi.
What is the exponential rate estimate used in the lab?
The reciprocal of the sample mean, λ^=1/xˉ. The estimated rate determines the exponential model used to calculate percentile boundaries and probabilities.
How do you find an exponential percentile boundary?
For cumulative probability p and rate λ, use xp=−ln(1−p)/λ.
What does failing to reject the null hypothesis mean?
The data do not provide sufficient evidence against the proposed distribution at the chosen significance level. It does not prove that the distribution is true.
Quiz questions
Which expression is the chi-square goodness-of-fit statistic for observed counts Oi and expected counts Ei?Answer: ∑i=1kEi(Oi−Ei)2
In the general chi-square goodness-of-fit procedure, what degrees-of-freedom formula accounts for k categories and m estimated parameters?Answer: df=k−1−m
For a chi-square goodness-of-fit test, what probability does the p-value represent?Answer: Under the null model, the probability of a statistic at least as large as the observed one.
What expected-count condition is generally used for the chi-square approximation to be reliable?Answer: Each expected count should generally be at least 5.
If goodness-of-fit tests fail to reject both a uniform model and an exponential model for the same data, what can be concluded?Answer: The data may be consistent with both models; neither is established as uniquely correct.
Based on Introductory Statistics 2e by Barbara Illowsky, Susan Dean (OpenStax), licensed CC BY 4.0. Adapted into a summary, flashcards and quizzes.