Answer:
The claim on the M&M’s website is not true.
Explanation:
A Chi-square test for goodness of fit will be used in this case.
The hypothesis can be defined as:
H₀: The observed frequencies are same as the expected frequencies.
Hₐ: The observed frequencies are not same as the expected frequencies.
The test statistic is given as follows:
Here,
= Observed frequencies
= Expected frequency.
The chi-square test statistic value is, 14.433.
The degrees of freedom is:
df = k - 1 = 6 - 1 = 5
Compute the p-value as follows:
*Use a Chi-square table.
The significance level is, α = 0.05.
p-value = 0.013 < α = 0.05.
So, the null hypothesis will be rejected at 5% significance level.
Thus, concluding that the claim on the M&M’s website is not true.