I have a question about this problem related to a Chi-squared test.
For professor B, how do they come up with 3 degrees of freedom? Also, what test statistic did they use? I'm not really sure what they were testing.
I have a question about this problem related to a Chi-squared test.
For professor B, how do they come up with 3 degrees of freedom? Also, what test statistic did they use? I'm not really sure what they were testing.
Copyright © 2021 JogjaFile Inc.

For B: there are $k = 4$ categories with observed frequencies $X = (19,10,9,21).$ Under $H_0$ that all categories are equally likely all expected cell counts are $E = 59/4.$ Then $Q = \sum_{i=1}^4 (X_i - E)^2/E$ is approximately distributed as $Chisq(df = k-1 = 3).$ But $Q = 7.644$ does not (quite) exceed the critical value 7.815 for a test at the 5% level. So we cannot use the current data to establish that Prof B is wrong (using the 5% level of significance). Good for him that we're not using the 6% level.