Helen C. answered 01/21/21
Emphasis on Individual - Secondary Mathematics and Statistics Tutor
a) Chi-square goodness of fit test, chi-square independence test, or chi-square homogeneity test is only one direction of testing. Chi-square is a single number and that number is representing the difference between observed counts and expected counts -- test statistic is squared
Recall that in other testing, say the mean, you are testing whether the test value is higher or lower (directions) from the mean which would imply a one tail testing for two different directions.
b) The sum of the expected frequencies should be the same as the sum of the observed frequencies, both are the sample size. There might be a difference in how the counts are distributed but the frequencies of both are the same, see table below There is a data entry error if they are not the same.
This is data from an experiment where rats are sent down a ramp, n = 90. And the observed count is for how many rats entered respective doors in the experiment.*
_________________________________________________
Door
________________________
1 2 3
Observed Cell Frequencies n1 = 23 n2 = 36 n3=31
Expected Cell Frequencies (30) (30) (30)
- Mathematical Statistics with Applications, Mendenhall, Wackerly, and Scheaffer, p. 645