- Introduced by
- Noel Cressie & Douglas M. Hawkins
- Year
- 1980
- Type
- Robust geostatistical interpolation
- Family
- GIS / spatial
What does it do?
Robust kriging is a geostatistical interpolation method that uses the kriging prediction framework but estimates the variogram with an outlier-resistant estimator, such as the Cressie-Hawkins estimator.
Because the variogram sets the spatial weights used for prediction, a more stable variogram estimate means predictions are less distorted by a few extreme observations.
The intuition behind the method
Kriging depends on a variogram, a function describing how dissimilarity between observations grows with separation distance, and this function is estimated from the data. The classical method-of-moments estimator averages squared differences between pairs, so a single extreme value can dominate many pairs and shift the whole curve. The Cressie-Hawkins estimator instead takes the square root of absolute differences before averaging, which compresses large differences, and then applies a power and a correction term to the average. The kriging step then proceeds as usual, using this more stable variogram.
History
The Cressie-Hawkins robust variogram estimator was introduced by Noel Cressie and Douglas M. Hawkins in their 1980 paper 'Robust estimation of the variogram: I', published in the Journal of the International Association for Mathematical Geology, as an alternative to the classical method-of-moments estimator.
When to use it
Choose robust kriging for continuous, georeferenced measurements where a small number of extreme or erroneous values could distort the variogram, such as geochemical sampling, pollution surveys or ecological field records. It is a reasonable option when the empirical variogram looks erratic or shows a large nugget that may come from contamination rather than real small-scale variation. Do not use it when the data appear well behaved, since classical ordinary kriging is then equally valid and simpler. Avoid it also when the extreme values are the phenomenon of interest, such as real hotspots, because downweighting them would understate the signal; those values need separate analysis.
Limitations and considerations
- The estimator limits the influence of each large pairwise difference, but a cluster of contaminated points produces many large differences that still move the estimate, so clustered outliers and masking effects can remain a problem.
- Fitting a theoretical model to the robust estimates still requires choices about model family and lag binning, and these choices can change the predictions.
- The method assumes spatial dependence is stationary across the study area. If the mean or variance changes systematically with location, robust variogram estimation does not correct for this, and a trend model is needed.
- Robustness is applied only at the variogram estimation stage. The kriging system still uses all observations, so a contaminated value still enters the prediction with its own weight.
- The method assumes intrinsic stationarity of differences between observations: the variogram depends on separation rather than location, and the data contain no unmodelled trend. Estimating the variogram from the data also adds uncertainty that the kriging variance does not fully capture.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The variogram estimator is less sensitive to isolated extreme values than the classical method-of-moments estimator, because the square-root transform compresses large differences before averaging.
- Kriging predictions and kriging variances are computed in the same form as in classical kriging, so the output is interpreted in the same way by users already familiar with it.
- Contaminated data can be used without deleting the flagged values, since they still enter the prediction step with their own weights.
- Implementations exist in common geostatistical software; the gstat package in R is one example that provides a robust variogram option.
Applications
- Geochemical exploration mapping, where soil or rock samples often contain extreme concentration values from mineralisation or contamination.
- Environmental pollution surveys, interpolating heavy-metal or pollutant concentrations in soil or groundwater where outliers are suspected.
- Ecological field data, where sampling errors or rare species counts can produce heavy-tailed distributions.
- Hydrogeological mapping of aquifer properties such as hydraulic conductivity, which often has a skewed distribution.
- Climate and meteorological gridding when instrument malfunctions produce anomalous readings at specific stations.
- Mining resource estimation in deposits with high-grade outliers that distort classical variogram models.
How it works
How it works
The Cressie-Hawkins estimator takes the square root of the absolute difference between each pair of observations separated by lag h, averages these values over the pairs in N(h), raises the average to the fourth power, and halves the result. It then divides by a bias-correction term, 0.457 plus 0.494 divided by the number of pairs, which depends on how many pairs fall in the lag class. Because the square root compresses large differences before averaging, a few extreme values have much less effect than under the classical estimator.
Formula
\hat{\gamma}(h) = \frac{1}{2} \left( \frac{1}{|N(h)|} \sum_{N(h)} |Z(s_i) - Z(s_j)|^{1/2} \right)^4 / (0.457 + 0.494/|N(h)|)A theoretical variogram model, such as spherical, exponential, Gaussian or Matérn, is fitted to the robust empirical estimates. This yields the nugget, sill and range that describe spatial dependence. Fitting is commonly done by weighted least squares, and the choice of model and of the lag binning used for the empirical estimates affects the fitted values.
At each prediction location, the weights λ are obtained by solving the linear system C λ = c0, where C holds covariances among the observed locations and c0 holds covariances between the observations and the prediction location, both derived from the fitted model. The equation shown is the simple kriging form. Ordinary kriging additionally imposes an unbiasedness constraint so that the weights sum to one; that constraint is not part of the stated equation.
Formula
\lambda = C^{-1} c_0The predicted value at an unsampled location is a weighted linear combination of the observed values. Weights are determined by the spatial covariance structure from the robust variogram, ensuring nearby observations contribute more than distant ones.
Formula
\hat{Z}(s_0) = \sum_{i=1}^{n} \lambda_i Z(s_i)The kriging variance is the sill variance σ² minus the term c0ᵀC⁻¹c0, which is the part of the variance explained by the observations. Because it is computed from the fitted model, it is only as reliable as that model, so a poor variogram fit gives a misstated uncertainty. The form shown is the simple kriging variance; ordinary kriging adds a term for the unbiasedness constraint.
Formula
\sigma^2_K = \sigma^2 - c_0^\top C^{-1} c_0Common pitfalls
- Treating the robust variogram as a verdict on the outliers. Downweighting extreme values does not explain them; an extreme reading may be a real spatial anomaly that deserves separate analysis.
- Estimating lag classes from too few pairs. The bias-correction term depends on the number of pairs in each lag class, and sparse lag classes give unstable estimates. Check the empirical variogram and the pair count for each lag class, and treat lags with few pairs with caution.
- Fitting the variogram to data with an unmodelled trend. The variogram is computed from differences between observations and assumes dependence depends on separation rather than location, so a strong trend can bias the estimate. Remove or model the trend first, for example with universal kriging or regression kriging.
- Judging the method by the variogram alone. A better-behaved variogram does not guarantee better predictions. Hold out part of the data and compare robust and classical predictions at those held-out locations.
- Assuming the estimator is outlier-proof. The square-root transform reduces but does not remove the effect of contamination when many pairs are affected at once. Inspect the empirical variogram and the prediction residuals for patterns that persist after the robust estimator is applied.
Frequently asked questions
What is the key difference between robust kriging and ordinary kriging?
The difference lies in the variogram estimation step. Ordinary kriging is usually paired with the classical method-of-moments estimator, which is strongly affected by outliers. Robust kriging uses an outlier-resistant estimator (such as the Cressie-Hawkins estimator) to obtain a more reliable variogram, and the fitted variogram then drives the kriging prediction. The prediction equations shown on this page are the simple kriging form; ordinary kriging additionally imposes an unbiasedness constraint.
Does robust kriging remove or ignore outliers?
No. Robust kriging downweights the influence of outliers during variogram estimation but uses all observations in the final prediction step. The outliers remain in the dataset and contribute to the prediction, but their distorting effect on the variogram, and hence on the spatial weights, is reduced.
When should I prefer robust kriging over log-transforming my data?
Log transformation stabilises variance for strictly positive skewed data and then allows classical kriging on the transformed scale. Robust kriging may be preferable when extreme values are suspected to be contamination rather than real features, when zero values are present (log is undefined), or when back-transforming to the original scale introduces bias. Both approaches can be combined. Extreme values that represent real hotspots need separate analysis either way.
Which software supports robust kriging?
The gstat package in R provides a Cressie-Hawkins robust variogram option. Support in other geostatistical packages varies, so check their documentation before relying on a specific option.
How many data points do I need for robust kriging?
No fixed minimum sample size is established for this method. What matters more is whether each lag class has enough pairs for a stable estimate, judged from the empirical variogram. With small samples, ordinary kriging with careful outlier inspection may be more practical.
Related methods
Sources
Cressie, N., & Hawkins, D. M. (1980). Robust estimation of the variogram: I. Journal of the International Association for Mathematical Geology, 12(2), 115–125.
Open DOI referenceCressie, N. A. C. (1993). Statistics for Spatial Data (Revised ed.). Wiley-Interscience.
ISBN: 978-0471002550