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) If the M&Ms are packaged in the stated proportions, how many of each color should you expect to get? Create a table of observed and expected counts.
b) To see if your bag was unusual should you test goodness-of-fit, homogeneity, or independence?
c) State the hypotheses
d) How many degrees of freedom are there?
e) Find the chi-square statistic and the p-value
f) Draw a sketch of this distribution and label your chi-square statistic and p-value