sequence, but the same caution applies even when the predicted values
seem realistic.
From the value of r
2
, the linear model is a very poor fittothedata.In
contrast, the quadratic is a good fit and the cubic model is a slight improve-
ment over the quadratic. There is no point in using a more complex higher-
order polynomial if it does not give a significantly improved fit over a simpler
one, and this can be tested for significance by a straightforward extension of
the ANOVA used to assess the significance of a regression (Chapter 16). Most
statistical packages give a table of results for the ANOVA that tests for
departure from a line with zero slope (Chapter 16), which includes the sum
of squares, degrees of freedom and mean squares for the regression.
Table 21.1(a) gives these for the linear, quadratic and cubic models fitted to
the data in Figures 21.6 to 21.8.
Each expansion of the polynomial is additive (e.g. Equations (21.10) to
(21.13)) and so are their sums of squares. Therefore, the sum of squares for
the improvement (if any) of the quadratic compared to the linear regression
can be obtained by subtracting the sum of squares for the linear model from the
sum of squares for the quadratic, giving the sum of squares for the difference
(SS difference). The number of degrees of freedom for the difference (df differ-
ence) is also calculated by subtraction (Table 21.1(b)). The mean square for the
difference is (SS difference/df difference), and the F statistic is calculated by
dividing this quantity by the error of the higher polynomial (Table 21.1).
The same method is used to assess whether the cubic model is an
improvement compared to the quadratic. In the example in Table 21.1 the
additional variation explained by the quadratic over the linear model is
highly significant, but the cubic model is not a significant improvement over
the quadratic, so the latter is used to describe the relationship.
21.8.1 Polynomial modeling of a spatial sequence: hydrogen
diffusion in a single crystal of pyroxene
There are many common geological phenomena where polynomial approx-
imations are appropriate, particularly spatial data such as gravity models,
porosity, and other fundamental rock properties that vary with depth, shoreline
changes, as well as distortion and translation corrections in image analysis.
For example, different types of diffusion processes are often described with
polynomials. Figure 21.9 shows data from an experiment to measure hydrogen
21.8 More complex regression 315