A bag of M&Ms claims the color distribution is 24% blue, 20% orange, 16% green, 14% yellow, 13% red, 13% brown. A student samples 200 candies and records the counts.
Which test is most appropriate?
- Acheck_circle
Chi-square goodness-of-fit test
- B
Two-sample z-test for proportions
- C
Chi-square test of homogeneity
- D
Chi-square test of independence
Explanation
A single categorical variable (color) is being compared to a claimed/hypothesized distribution from one sample. This is the chi-square goodness-of-fit test.