
you are here 4 595
the χ
2
distribution
Take a look at how we calculated the degrees
of freedom for a 3x3 table. How do you think
we could generalize this? See if you can work
this out, then turn the page.
Q:
I’m still not sure I understand how
you found the degrees of freedom for the
croupiers. Why are there four degrees of
freedom?
A: We found the degrees of freedom by
looking at how many expected frequencies
we had to calculate, and working out how
many of these we could have calculated by
just looking at the total observed frequencies
for each row and column.
There are three croupiers and three
outcomes. If you use a contingency table to
calculate these, the row and column totals
for the expected frequencies must match
those of the observed frequencies. This
means that once you’ve calculated the first 2
expected frequencies for any row or column,
the final one is determined by the overall
total. Therefore, you only need to calculate
2×2 expected frequencies from scratch. This
gives you your four degrees of freedom.
Q:
Are there any other uses of the χ
2
distribution besides testing goodness of
fit and independence?
A: These are the two main uses of the
χ
2
distribution. The thing to remember is
that you can use it to test the goodness of
fit of virtually any probability distribution. As
an example, you can use it to test whether
observed frequencies fit a particular binomial
distribution.
Q:
Should I test at any particular
level?
A: It depends on your situation. Just as
with other hypothesis tests, the smaller the
level of significance, the stronger you need
your evidence to be before you reject your
null hypothesis.
Testing at the 5% and 1% level of
significance is common.
I wonder what happens
if you have a different size
contingency table? How
do you find the number of
degrees of freedom then?