In: Biology
A hungry, but very inquisitive student was taking a break from studying in the library. She went to the vending machine and bought a bag of Skittles. After returning to her table, she dumped them out on the table and noticed that her bag contained 25 red, 13 green, 17 yellow, 12 purple, and 24 orange candies. It seemed like an excess of red and orange and not enough purple or green. Do a χ2 test to determine whether this is in fact a significant deviation from what she expected (an equal number of all colors).
1. How can we use Chi-squared analysis for the skittles problem? - the dependent variable is continuous?
- The indpendent variable is discrete? - both the dependent variable and the independent variable are continous
2. What is the expected number of red skittles in this problem?
3. What is the Chi-squared value for this question?
4. What is the degrees of freedom (df) for this problem?
5. What is the Pvalue?
6. What is the P value testing?
7. Should the hypthesis be rejected?
Please give a thumbs up.
Chi square test is used to calculate and represent the extent of deviation between the expected and calculated values. In the given problem the independent variable is discrete
the expected number of each colour of skittles here in this question would be the sum of all the skittles by 4 which is the average. 25 + 13 + 17 + 12 + 24 =91/4 = 22.75. therefore the expected number of skittles of each colour would be 22 or 23.