- Introduced by
- Georges Matheron (formalised geostatistics)
- Year
- 1963
- Type
- Geostatistical spatial interpolation
What does it do?
Kriging is a geostatistical method that predicts the value of a continuous variable at unmeasured locations from nearby measurements, using the spatial correlation structure captured by a variogram.
Formalised by Georges Matheron in 1963, it is a best linear unbiased predictor (BLUP) under its model assumptions. Its common forms are Ordinary, Universal, and Co-Kriging, and other variants, such as regression kriging and external-trend kriging, are also used in practice.
The intuition behind the method
Imagine you have rainfall measured at a scatter of weather stations and want the rainfall at a point in between. Kriging treats nearby stations as more informative than distant ones, but instead of guessing how fast that influence fades it learns it from the data itself, by measuring how much values differ as the distance between locations grows. It then forms a weighted average of the observations whose weights make the prediction as accurate as possible on average — and it tells you how uncertain each prediction is.
History
The name honours the South African mining engineer Danie Krige, whose work on ore-grade estimation inspired the method. Georges Matheron gave it its formal foundation in 1963 in Principles of Geostatistics, which established geostatistics as a field. Cressie's Statistics for Spatial Data is a standard later treatment of variogram-based spatial prediction.
When to use it
Use kriging when a continuous variable has been measured at scattered locations with known coordinates (x, y) and you want predictions at unmeasured points or on a grid. Ordinary kriging assumes an unknown but constant mean over the study area and a variogram that depends only on the separation h between locations, not on their absolute position (intrinsic stationarity). Its predictions also depend on a variogram model that fits the empirical variogram. When sampling is clustered, apply declustering before fitting, because clustering biases the variogram. If the mean follows a clear spatial trend, universal kriging is the more suitable variant. If spatial correlation differs by direction, an anisotropic variogram model is needed. Do not use kriging when coordinates are unavailable; a standard regression predictor is the appropriate alternative in that case.
Limitations and considerations
- Requires geographic coordinates; with no coordinates kriging cannot be applied at all.
- Quality hinges on choosing and fitting an appropriate variogram model (spherical, exponential, Gaussian, Matérn) — a poor fit gives misleading predictions.
- Assumes intrinsic stationarity, which can fail under strong trends; clustered sampling can bias the variogram unless declustering is applied.
- Beyond the range of the fitted variogram, predictions revert to the mean, so distant unsampled points add little information.
- Kriging weights can be negative, which may produce predictions outside the range of the observed values.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Best linear unbiased predictor (BLUP) for spatially correlated data — it exploits the measured spatial structure rather than assuming one.
- Returns a prediction variance at every location, quantifying the uncertainty of each interpolated value, conditional on the fitted variogram and model assumptions.
- Flexible family: Ordinary, Universal, and Co-Kriging handle constant means, spatial trends, and auxiliary correlated variables.
Applications
- Mining and geology: estimating ore grades across a deposit from drill-hole samples.
- Environmental science: mapping rainfall, pollution, soil properties, or groundwater levels from monitoring stations.
- Producing continuous prediction surfaces, with uncertainty, from scattered point measurements.
How it works
How it works
The predicted value at an unsampled location s0 is a weighted average of the observed values Z(si) at the sampled locations, with weights λi that sum to one so the predictor stays unbiased. Closer and more informative points receive larger weights.
Formula
\hat{Z}(s_0) = \sum_{i=1}^{n} \lambda_i \, Z(s_i), \quad \sum_{i=1}^{n} \lambda_i = 1The spatial dependence is summarised by the variogram 2γ(h), which describes how the variance of the difference between two values grows with the separation distance h. A theoretical model (spherical, exponential, Gaussian, or Matérn) is fitted to the empirical variogram, and the kriging weights are chosen to minimise the prediction error variance subject to the unbiasedness constraint — giving the best linear unbiased predictor.
Formula
2\gamma(h) = \operatorname{Var}\big(Z(s+h) - Z(s)\big), \qquad \min_{\lambda} \; \operatorname{Var}\big(\hat{Z}(s_0) - Z(s_0)\big)Common pitfalls
- Accepting a default variogram model without inspecting the empirical variogram and its fit.
- Ignoring sampling clusters, which bias the variogram and the predictions — apply declustering first.
- Applying ordinary kriging when a clear spatial trend is present; use universal kriging instead.
- Reporting kriged maps without their prediction-variance surface, hiding where estimates are unreliable.
- Kriging strongly skewed variables without transformation; use a log or other transformation, or indicator kriging for threshold-based questions, and check the back-transformed results.
- Skipping cross-validation; leave-one-out cross-validation of the fitted variogram model checks whether predictions match held-out observations.
Frequently asked questions
What is a variogram and why does kriging need it?
The variogram measures how much the difference between two values grows as the distance between their locations increases. It encodes the spatial correlation structure, and kriging uses a fitted variogram model to decide how much weight each nearby observation should receive.
How is kriging different from inverse-distance weighting?
Inverse-distance weighting fixes in advance how influence fades with distance, whereas kriging learns that decay from the data through the variogram and chooses weights that minimise the prediction error variance. Kriging also returns a prediction variance, which inverse-distance weighting does not.
What are Ordinary, Universal, and Co-Kriging?
Ordinary kriging assumes an unknown but constant mean over the area; universal kriging models a spatial trend in the mean. Co-kriging brings in one or more correlated auxiliary variables to improve prediction of the target. It requires modelling the cross-variogram between the target and each auxiliary variable, and it gains accuracy mainly when the variables are strongly correlated and the auxiliary variable is sampled more densely than the target.
What can I do if my points are clustered?
Clustered sampling biases the empirical variogram and the predictions. Applying declustering — down-weighting densely sampled areas — corrects this bias before the variogram is fitted.
Related methods
Sources
Matheron, G. (1963). Principles of Geostatistics. Economic Geology, 58(8), 1246–1266.
Open DOI referenceCressie, N. (1993). Statistics for Spatial Data (Revised ed.). Wiley.
ISBN: 978-0471002550Applied Spatial Statistics and Econometrics: Data Analysis in R (Kopczewska, 2021), Table 8.2 (R packages for spatial interpolation), p. 457