Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

M&Ms. The makers of M&Ms claim that the colors of M&Ms are distributed as follow

ID: 1719629 • Letter: M

Question

M&Ms. The makers of M&Ms claim that the colors of M&Ms are distributed as follows: 20% yellow, 20% red, 10% orange, 10% blue, 10% green and the rest are brown.

You buy a bag and get 29 yellow, 23 red, 12 orange, 14 blue, 8 green, and 20 brown.

a. (0.10 points) If the M&Ms are packaged in the stated proportions, how many of each color should you expect to get?

b. (0.10 points) To see if your bag was unusual should you test goodness-of-fit, homogeneity, or independence?

c. (0.10 points) state the hypotheses

d. (0.10 points) how many degrees of freedom are there?

e. (0.30 points) Find the chi-square statistic and the p-value

f. (0.10 points) Draw a sketch of this distribution and label your chi-square statistic and p-value.

g. (0.10 points) state a conclusion

Explanation / Answer

H0: Packages are according to the said proportion

Ha: atleast two are not according to the said proportion

Two tailed chi square test

Goodness of fit to be used

Prepare contingency table as follows:

Chi square = 9.314

df = 6

p value = 0.156674. The result is not significant at p < 0.05.

Accept null hypothesis.

Observed 29 23 12 14 8 20 106 Expected 21.2 21.2 10.6 10.6 10.6 31.8 106 Chi square 2.869811 0.15283 0.184906 1.090566 0.637736 4.378616 9.314465