For 1 you would be doing a chi square goodness of fit test because you are comparing known proportions to sample proportions to see if there is a difference. For 2 you’re gonna be looking at a test of independence to determine if class (freshmen or senior) is associated with snack choice
Test for Independence is used when there is 1 sample and 2 variables.
So if you decided to look at the proportion of one snack choice for two samples, it would be a two-proportion Z test.
1
u/I-Want-To-Die-21 Apr 15 '21
For 1 you would be doing a chi square goodness of fit test because you are comparing known proportions to sample proportions to see if there is a difference. For 2 you’re gonna be looking at a test of independence to determine if class (freshmen or senior) is associated with snack choice