7 Continuous Spatial Variation

7.1 Geostatistical models

Definition 7.1.

Let S(x), x2 be a real-valued random variable. We say that S is a spatial Gaussian process if for any finite collection of points on the plane, x1,,xn2, the joint distribution of the random vector [S(x1),,S(xn)] is multivariate Gaussian.

Definition 7.2.

Let S be a Gaussian process. If in addition,

  1. 1.

    𝔼[S(x)]=m for all x2 and

  2. 2.

    corr[S(x),S(x+u)]=ρ(u)

then S is called a weakly stationary or a second-order stationary Gaussian process. In this chapter, we will refer to S as simply a stationary Gaussian process and we will write,

S(x)SGP{m,σ2,ρ(u)},

where σ2=𝕍[S(x)]. ρ(u) is called the correlation function.

Example 7.1.

An example correlation function is the exponential correlation function

ρ(u;ϕ)=exp(-u/ϕ).

The parameter ϕ controls how quickly the spatial dependence between points at a distance d apart drops off as a function of the distance apart: in a large value of ϕ represents long-range correlations and a very small ϕ means that points close together are nearly independent.

A typical model for measurements {Y1,,Yn} at locations {x1,,xn}, given covariate information, {z1(xi),,zp(xi)} at each xi, is

Yi = μ(xi)+S(xi)+εi, (7.1)
μ(xi) = k=1pzk(xi)βk, (7.2)
εi N(0,τ2),

where m=𝔼[S(xi)]=0. Models of this kind are often called geostatistical models (Cressie, 1991). This is an indirect reference to their historical development in connection with spatial prediction problems in the mining industry.

Example 7.2.

Typical geostatistical problem: use data Yi from locations xi to predict either S(x) itself, or a functional such as the average value of S over region A,

T=1|A|AS(x)dx,

where |A| is the area of region A. Note that prediction locations, x, are often on a regular grid over the observation window of interest: this allows us to produce raster images of the prediction surface.

Example 7.3.

The dataset camg in the geoR package (having loaded the package, simply type data(camg) at the console) is an example of a geostatistical dataset containing, among other things, the concentration of Magnesium in a set of soil samples taken over a geographical region. Figure 7.1 shows the magnesium soil content (0-20cm below surface) measured at various locations in a field.

Figure 7.1: Link, Caption: Magnesium soil content 0-20cm below surface. The polygon denotes the study area and the circles are locations where soil samples were taken; the size of each circle is proportional to the concentration of magnesium observed in each soil sample. In this example, the locations of the samples (incidentally) form a fairly regular grid over the observation window

Figure 7.1 is an example of a typical geostatistical dataset: we observe a quantity of interest (and possibly some covariates) at a set of locations. A key property of geostatistical data is that the locations of the data are fixed by design and are not informative about the underlying spatial process; although it is possible to perform inference for the case where the locations themselves are modelled by a stochastic process (Diggle et al., 2010; Taylor et al., 2015, 2018, 2019, 2020).

How do we go about fitting a geostatistical model? There are three main methods:

Method 1

Use maximum likelihood to obtain estimates of β, σ, ϕ and τ2.

Method 2

Use the variogram (see below) to obtain estimates of β, σ, ϕ and τ2.

Method 3

Use Bayesian methods to obtain estimates of β, σ, ϕ and τ2: write down priors for these parameters and produce inferential statements from the posterior, π(β,σ,ϕ,τ|data). We do not cover Bayesian estimation for Geostatistical models here.

Having obtained estimates of the parameters, we can predict the process Y over the spatial region of interest (i.e. in places where we do not have data). Note that in the case that our model includes covariates {zk(xi)}k=1p at each spatial location xi, we would need to know the values of the covariates at each of the prediction locations in order to be able to predict Y (though predicting S is still possible without covariates). The process of forming predictions of Y (or S) is known as kriging.