Sarah is running a chisquared goodness of fit test to test w
Sarah is running a chi-squared goodness of fit test to test whether the claimed prooportions of candy colors in assorted bags of candy are different than claimed by the company. She takes a random sample of 300 pieces of candy from assorted bags. The company claims the following proportions of colors in assorted bags:
What are the expected results of each color?
| Green | Yellow | Red | Blue |
| 0.2 | 0.3 | 0.3 | 0.2 |
Solution
Sarah is running a chi-squared goodness of fit test to test whether the claimed prooportions of candy colors in assorted bags of candy are different than claimed by the company. She takes a random sample of 300 pieces of candy from assorted bags. The company claims the following proportions of colors in assorted bags:
Green
Yellow
Red
Blue
0.2
0.3
0.3
0.2
What are the expected results of each color?
expected results
Green
Yellow
Red
Blue
0.2*300 =60
0.3*300=90
0.3*300=90
0.2*300=60
| Green | Yellow | Red | Blue |
| 0.2 | 0.3 | 0.3 | 0.2 |
