Kriging (source code)
= Kriging
{wiki}
<Kriging> predicts an unobserved value of a spatial <random field> by combining observations according to their <covariances>. <Nearest-neighbor interpolation> uses the closest sample; <kriging> also asks how strongly each sample is related to the target and how much information the samples share with one another. Two nearby, highly correlated samples need not provide twice the information of one. The different forms of <kriging> depend on whether the <mean> is known, an unknown constant, or an unknown <regression> drift.
Write $Z=(Z(s_1),\ldots,Z(s_n))^T$ for the observation <random vector>, $z$ for its realized values, and $Z_0=Z(s_0)$ for the prediction target. Assume finite <second moments>, and define
$$
\Sigma_{ij}=\operatorname{Cov}(Z(s_i),Z(s_j)),\qquad
c_i=\operatorname{Cov}(Z(s_i),Z_0),\qquad
v_0=\operatorname{Var}(Z_0).
$$
Here $\Sigma$ is the observation <covariance matrix>, assumed to be a <positive-definite matrix> in the formulas below. A <covariance function> supplies its entries and the target <covariance> vector $c$. For a second-order stationary <random field>, the <covariogram> $C(h)$ depends on displacement, and the <semivariogram> satisfies $\gamma(h)=C(0)-C(h)$. The <intrinsically stationary random field> formulation permits <kriging> using a <semivariogram> even when a stationary <covariogram> is unavailable; the finite <covariance> formulation below is a convenient important case.
For a <linear combination> $w^TZ$ predicting $Z_0$ with zero <bias>, the error <variance> equals its <mean squared error>:
$$
Q(w)=\mathbb E[(w^TZ-Z_0)^2]
=v_0-2w^Tc+w^T\Sigma w.
$$
<Ordinary kriging> and <universal kriging> minimize this <quadratic form> subject to their <mean> constraints. Their optimality is among the specified linear predictors with zero <bias> under the chosen <statistical model>; <covariance> information alone does not establish optimality among arbitrary nonlinear predictors. The <Gaussian random field> interpretation supplies additional conclusions in <simple kriging>.
The reported error <variance> assumes a chosen <covariance function>, its <statistical parameters>, observation locations, and a <mean> structure. It omits uncertainty in fitted <covariance> parameters and does not validate the trend. A repeated-sampling <mean squared error> need not equal the error <variance> conditional on each realized data vector.<Gaussian Processes for Machine Learning by Carl Edward Rasmussen and Christopher K. I. Williams>[chapter 2, equations (2.23)–(2.24), and §2.3 on covariance parameters]{ref}
In 1963, <Georges Matheron> presented <kriging> for estimating average ore grades in mining panels from weighted samples taken inside and outside a panel. This setting in <geostatistics> explains why prediction targets can be averages over regions as well as values at points.<Principles of geostatistics by Georges Matheron>[Matheron, Principles of geostatistics, 1963, p. 1246 introduction and pp. 1259–1261, Kriging]{ref}
Back to article page