In-Class Exercise 9
Shih Chien University
2026-09-16
Goodness-of-Fit Test with Equal Expected Frequencies
A die is rolled 120 times with the following results.
Test the claim that the die is fair at \alpha=0.05.
qchisq() and d.f.=k-1, then state the decision.chisq.test(observed).Goodness-of-Fit Test with Unequal Expected Frequencies
A company claims that its three product lines account for 40%, 35%, and 25% of sales. Among 300 recent customers, the counts were 100, 125, and 75.
Test the claim at \alpha=0.05.
chisq.test(observed, p = c(0.40, 0.35, 0.25)), then state the conclusion.Assumptions and Degrees of Freedom
Elementary Statistics: A Step by Step Approach