Question: q1 chisquare test for goodness of fit 10 points two...
Q1) Chi-Square Test for Goodness of Fit (10 points)
Two employees at an ice cream store were discussing the popularity of four of the ice cream flavors they have: Vanilla, Chocolate, Mint, and Strawberry. Employee A thought that the four flavors are equally popular but employee B didn’t think so. To settle their debate, they decided to tally the number of customers asking for those flavors for a whole day.
There were 40 customers that day:
- 5 asked for vanilla
- 15 asked for chocolate
- 14 asked for Mint
- 6 asked for strawberry
Conduct a Chi-Square Test for Goodness of Fit to answer the research question of whether the four flavors are equally popular, using a = .05 as the significance level.
a. What is the variable in this test? What type of variable is it (nominal, ordinal, or continuous)? (2 points total: 1 for each answer)
b. State the null and alternative hypotheses in words (2 points total: 1 for each hypothesis)
c. Calculate X2 statistic (3 points total: give 2 if process is correct but final answer is wrong)