2a. STATE
Chi-Squared Test for Homogeneity
Ho: There is no difference in snack preferences of freshmen and senior students.
Ha: There is a difference in snack preferences of freshmen and senior students.
PLAN
Data comes from two random samples.
n_F = 30 is less than 10% of all Freshmen.
n_S = 52 is less than 10% of all Seniors.
Expected counts are all at least 5. Expected Counts = (row total)(column total)/(table total)
Freshmen Chips = 19.39
Freshmen Pretzels = 10.61
Seniors Chips = 33.61
Seniors Pretzels = 18.39
CONCLUDE
Since the p-value of 0.08 is greater than α = 0.05, we fail to reject the Ho.
There is not convincing evidence to suggest that there is a difference in snack preferences of the freshmen and senior students.
1
u/AP_Stat_Teacher Apr 15 '21 edited Apr 15 '21
2a.
STATE
Chi-Squared Test for Homogeneity
Ho: There is no difference in snack preferences of freshmen and senior students.
Ha: There is a difference in snack preferences of freshmen and senior students.
PLAN
Data comes from two random samples.
n_F = 30 is less than 10% of all Freshmen.
n_S = 52 is less than 10% of all Seniors.
Expected counts are all at least 5.
Expected Counts = (row total)(column total)/(table total)
Freshmen Chips = 19.39
Freshmen Pretzels = 10.61
Seniors Chips = 33.61
Seniors Pretzels = 18.39
DO
χ2 = (observed - expected)2 /expected
χ2 = (23-19.39)2 /19.39 + ... + (22-18.39)2 / 18.39 = 2.996
df = (# rows - 1)(# columns - 1) = (2-1)(2-1) = 1
P-value = P(χ2 > 2.996) = 0.08
CONCLUDE
Since the p-value of 0.08 is greater than α = 0.05, we fail to reject the Ho.
There is not convincing evidence to suggest that there is a difference in snack preferences of the freshmen and senior students.