
Respuesta :
Answer:
Step-by-step explanation:
From the information given:
[tex]\mathbf{H_o: there \ is \ no \ significanr \ difference \ between \ observed \ and \ expected \ value }[/tex]
[tex]\mathbf{H_a: there \ is \ significanr \ difference \ between \ observed \ and \ expected \ value }[/tex]
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.
[tex]Degree \ of \ freedom \ df = n - 1 \\ \\ df = 3 - 1 = 2[/tex]
At 0.05;
Thus, at 0.05 and df of 2, the cutoff sample score at which [tex]H_o[/tex] will be reject is the critical value [tex]\mathbf{X_{0.05,2}^2 \ which \ is \ = 5.991}[/tex]
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 [tex]\mathbf{X^2_{observed} = 2.800}[/tex]
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.