You are on page 1of 2

ALFORTE, JULIA, B.

BS Psychology 2B
Psychological Statistics 2

Problem: You work at a nut factory, and you are in charge of quality control. The nut factory produces
a nut mix that is supposed to be 50% peanuts, 30% cashews, and 20% almonds. To check that the nut
mix proportions are acceptable, you randomly sample 1000 nuts and find the following frequencies:
Peanuts 621, Cashew 189, and Almonds 190. Should you reject the null hypothesis that the nut mix has
the desired proportions of nuts?
Formula for Chi-Square x2:
where: x2 is the chi square statistics.
Σ is the summation operator
O is the Observed frequency
E is the Expected frequency

Computation:
Nuts Observed Expected 0-E (O - E)^2 (O-E)^2/E

Peanuts 621 50 % = 500 121 14641 29.282


Cashews 189 30 % = 300 -111 12321 41.07
Almonds 190 20% = 200 -10 100 0.5

Calculation of x2 = 29.282 + 41. 07 + 0.5 = 70. 852


Finding the critical value of the chi-square.
df = K – 1
df = 3 -1
df = 2
With the alpha level of 0.5 and degree of freedom (df) of 2 the
critical value of chi-square is 5.991
Decision whether to reject of do not reject the null hypothesis.
- If the chi-square (x2) is greater than the critical value, then the difference between the observed
and desired proportions of nuts is statistically significant.
- Therefore, the answer is yes, I should reject the null hypothesis, and accept that the nut mix
has the desired proportions of nuts.

You might also like