I am being asked to complete a chi square analysis given a set of data and a null and alternative hypothesis. We were asked to buy a bag of m&ms and separate them by their color and count how many of each color was in the bag.
Data:
Color | Score |
Red | 21 |
Blue | 34 |
Orange | 30 |
Brown | 33 |
Yellow | 14 |
Hypotheses:
Null: An equal number of M&M's of each color are distributed into the bags.
Alternative: An unequal number of M&M's of each color are distributed into the bags.
What is the Chi square value and the degrees of freedom.
-I am confused because I am unsure as to how to find the expected values in order to complete the chi square analysis and have been unable to find anything on the internet on one-way tables.
Sol:
Total n=132
Expected frequencies=n*1/k=132*1/5=26.4
k=5 (red,blue,orange,brown,yellow)
chi sq test statistic,chi sq=11.257
k=5
degrees of freedom=k-1=5-1=4
=CHISQ.DIST.RT(11.25758,4)
0.023816756
p<0.05
Reject Ho
Accept Ha
An unequal number of M&M's of each color are distributed into the bag
Get Answers For Free
Most questions answered within 1 hours.