Answer:
Explanation:
From the information given:
![\mathbf{H_o: there \ is \ no \ significanr \ difference \ between \ observed \ and \ expected \ value }](https://img.qammunity.org/2022/formulas/mathematics/college/7cjieho4bqpl1gti2bkmra5x2jj0j92lpe.png)
![\mathbf{H_a: there \ is \ significanr \ difference \ between \ observed \ and \ expected \ value }](https://img.qammunity.org/2022/formulas/mathematics/college/9ukefcg3dbj4t81mvpqqdj2gyo8t80fjfp.png)
The characteristic of the comparison is a uniform distribution.
Since there are three categories from the data, then: the data obeys a U(0,3) distribution. However, supposed it happened that different food had the same appeal, thus, there will be uniform distribution in the preference score.
![Degree \ of \ freedom \ df = n - 1 \\ \\ df = 3 - 1 = 2](https://img.qammunity.org/2022/formulas/mathematics/college/6gemzbs09xk51vtlusxu20oes81xhbkgnm.png)
At 0.05;
Thus, at 0.05 and df of 2, the cutoff sample score at which
will be reject is the critical value
![\mathbf{X_(0.05,2)^2 \ which \ is \ = 5.991}](https://img.qammunity.org/2022/formulas/mathematics/college/j3g43d74cokzauyrwotjnv6wk2ybyivq8b.png)
Prefered Observed Expected Expected (O - E) (O - E)²/ E
frequency frequency proportions
Cup cakes 16 20 0.333 -4.00 0.800
Candy bars 26 20 0.333 6.00 1.800
Dried apricots 18 20 0.333 -2.00 0.200
Total 60 20 1 -2.00 2.800
Thus the sample score is
![\mathbf{X^2_(observed) = 2.800}](https://img.qammunity.org/2022/formulas/mathematics/college/cvg26lkafm1luendj38azk9wg0okr3g30o.png)
Decision rule: To reject the null hypothesis if the observed test statistic is higher than the critical value.
Conclusion: We fail to reject the null hypothesis and conclude that different foods have the same appeal to different people.