which is: w
2
7
¼ 144:82, P < 0.001. The distribution of meteorites is signifi-
cantly non-random.
If a chi-square analysis shows the distribution is non-random, you are
very likely to want to know whether it is more even, or more clustered. For a
Poisson distribution, the variance and the mean are numerically the same.
For a regular distribution, the variance will be smaller than the mean and for
a clustered distribution it will be larger.
Box 22.2 The number of degrees of freedom for a chi-square
comparison when the formula for the expected frequencies
includes a sample statistic
The value of chi-square for the comparison of k observed and expected
frequencies derived from the Poisson distribution has k – 2 degrees of
freedom. In Chapter 18 and elsewhere, however, it was explained that the
number of degrees of freedom for a goodness-of- fit test is k – 1. For a
fixed total of observations, the numbers within k – 1 categories are free to
vary, but those in the “final” category to be filled can only be one number,
which is therefore a fixed quantity.
When expected frequencies are derived externally (e.g. an expectation
of 3 : 1 on the basis of some hypothesized property of the system, or 1 : 1 :
1 on the basis of an expectation of equal frequencies, as discussed in
Chapter 18), the degrees of freedom are one less than the number of
categories (Section 18.2).
In example 22.2.1, the expected proportions per category have been
calculated using the Poisson formula (22.2), which used the sample
mean as the best estimate of the population mean. The use of a statistic
taken from the sample being tested will result in the loss of one more
degree of freedom, because for a set sample mean, all but one of the
values of the sampling units contributing to that mean are free to vary.
Therefore, the degrees of freedom for the chi-square test in this example
must be k − 2.
If instead you have an independent estimate of the population mean
(perhaps from a more extensive study), the number of degrees of free-
dom for the chi-square test is k − 1.
340 Introductory concepts of spatial analysis