M&Ms Project!!
M&Ms Project!!
Simpson
ccording to their website, Mars Inc. (the maker of M&M’s) claims that each package of
A
M&M’s should have the following distribution:
3% Brown
1
14% Yellow
13% Red
24% Blue
20% Orange
16% Green
ne way one can determine if the Mars Inc. claim is true is to sample M&M’s and to
O
perform a goodness-of-fit test. This test will help determine if any differences between
our observed measurements from our sample and our expected values are simply due
to chance (sample error) or some other reason.
. Determine the number of M&Ms in your sample and the number of M&Ms
2
of each color. List your results in the spaces below:
rown
B _9_____
_
Yellow ____6___
Red ___7____
Blue ___15____
Orange ___10____
Green __9_____
Total _____56__
rown
B ___7.28___
_
Yellow _____.7.84__
Red ____7.28___
Blue ______11.20_
Orange ____11.20___
Green _____8.96`__
4. Perform theχ2goodness-of-fit usingα=.05level of significance. Make sure to write
ut your hypotheses and make a conclusion once the test has been performed.
o
Rejecting (or failing to reject) the null hypothesis isnotenough.
H0= the M&M distribution in the sample matches Mars.inc s claim of how the colors are
to be distributed
Ha: the M&M color distribution in the sample does not match the color distribution claim
from Mars inc.
bserved
O 9 6 7 15 10 9
frequency
xpected
E .13(56) = .14(56)= .13(56) = .20(56)= .20(56)= .16(56)=
frequency 7.28 7.84 7.28 11.2 11.2 8.96