PSYC 330: Statistics for the Behavioral Sciences with Dr. DeSouza · LibreTexts
0%
Contents
Text
Size
From LibreTexts, under CC BY-NC-SA 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.
15.3: χ² Statistic
Opening the book…
The calculations for our test statistic in \(\chi^{2}\) tests combine our information from our observed frequencies (\(O\)) and our expected frequencies (\(E\)) for each level of our categorical variable. For each cell (category) we find the difference between the observed and expected values, square them, and divide by the expected values. We then sum this value across cells for our test statistic. This is shown in the formula:
Notice that, for each cell’s calculation, the expected value in the numerator and the expected value in the denominator are the same value. Let’s now take a look at an example from start to finish.