Polynomial Regression: y A X + A X X X
Polynomial Regression: y A X + A X X X
3 3
R2 = 0.0139 R2 = 0.0836
2.5 2.5
2 2
1.5 1.5
1 1
0.5 0.5
0 0
0 10 20 30 0 10 20 30
3 3
R2 = 0.2566 R2 = 0.7519
2.5 2.5
2 2
1.5 1.5
1 1
0.5 0.5
0 0
0 10 20 30 0 10 20 30
6.3.2 Trend surface analysis
This technique is a particular case of multiple regression, where
the explanatory variables are geographical (x-y) coordinates,
sometimes completed by higher order polynomials. When
applying this method, one generally supposes that the spatial
structure of the observed variable is a result of one or two
generating processes that spread over the whole studied area, and
that the resulting broad-scale structure of the dependent variable
can be modelled by means of a polynomial of the spatial
coordinates of the samples. A simple example follows:
Imagine a soil arthropod, the density of which (let us call it z)
increases from 0 (near a stream) to 100 individuals per square
meter (in a nearby meadow). If this density variation is linear, a
simple linear regression, with the distance to the stream (x) acting
as explanatory variable, is enough to model the arthropod density
in the whole meadow (Figure 44):
zˆ = b0 + b1 x
b0
z =b0 + b1 x x
x
y
z =b 0 + b 1 x +b 2 y
x
Detrending
Despite its problems, trend surface analysis is very useful in one
specific case. It has been said in Section 6.2.5 that, for testing, the
condition of second-order stationarity or, at least, the intrinsic
assumption must be satisfied. Removing a trend from the data at
least makes the mean constant over the sampling area (although it
does not address any problem of heterogeneity of variance).
Furthermore, most methods of spatial analysis are devised to
model the intermediate-scale component of spatial variation and
are therefore much more powerful on detrended data. For these
reasons, trend surface analysis is often used to detrend data: one
fits a plane on the data and proceeds to analyze the finer scale
structure on the residuals of this regression (this is equivalent to
subtract the fitted values from the raw data and to work with what
remains).