- Introduced by
- Developed through contributions of Cressie, Genton, and Rousseeuw in geostatistics and robust statistics
- Year
- 1980s–1990s
- Type
- Spatial interpolation model
- Family
- GIS / spatial
What does it do?
Robust Universal Kriging (RUK) is a geostatistical interpolation method that models a spatially varying mean as a linear function of covariates plus a spatially correlated residual. It uses robust estimators for the variogram and the trend coefficients so that outlying observations have limited influence on both the fitted model and the predicted surface.
The intuition behind the method
Universal kriging assumes that the mean changes across the study area and that the residual is spatially correlated. Classical estimators for the variogram and the trend are sensitive to outliers: a squared-difference variogram lets one large discrepancy dominate its lag class, and that distortion carries into every prediction. RUK replaces these steps with estimators whose influence is limited, so suspect readings contribute less to the fitted model. The method keeps all observations and limits their influence rather than deleting them. Whether this is appropriate depends on whether the outliers are measurement errors or real extremes.
History
Universal kriging extends ordinary kriging to a non-constant mean; its formalisation is usually credited to Matheron in the 1960s. The resistant variogram estimator of Cressie and Hawkins supplies the robust variogram step. Robust trend estimation draws on M-estimation from robust statistics; Genton and Rousseeuw (1995) gives background on change-of-variance curves for such estimators, not a specific kriging method. The combined RUK workflow has no single originating publication; it assembles these established components.
When to use it
Choose RUK for georeferenced continuous measurements, such as soil contamination, temperature, rainfall or pollutant concentrations, where the mean varies with spatial covariates and where some readings may be faulty or heavy-tailed. It is preferable to standard universal kriging when outliers are plausible errors, for example from sensor malfunction or laboratory error. Be cautious with small datasets, where robust variogram estimates become unstable; check the number of pairs in each lag class before relying on them. Do not use it when no reliable covariates exist for the trend; ordinary kriging, which assumes a constant mean, is the appropriate alternative. Avoid it when the extremes are known to be real hotspots, and when the data are known to be clean, since the robust steps add computation without a corresponding gain.
Limitations and considerations
- Robust variogram estimation and robust trend fitting each add computation and need convergence checks; the robust GLS step is not part of the formula shown, so users depend on the software implementation.
- Requires enough spatial replication to estimate the variogram across several lag classes, with enough pairs in each class; small datasets make the robust estimates unstable.
- The tuning constants of robust estimators (breakdown point and influence function shape) control the trade-off between resistance and efficiency, and choosing them requires geostatistical judgement.
- If the extremes are genuine, down-weighting them biases predictions toward lower values at those locations and under-predicts extremes on the map.
- Support varies across software; robust estimation may require scripting in R with gstat or in Python with scikit-gstat.
- Assumes that the residual is stationary under the fitted variogram model (and isotropic, if a direction-independent variogram is used), that the trend covariates are available at every prediction location, and that the variogram model is checked against the data before the kriging variance is interpreted.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Limits the influence of suspect observations on the variogram: the square-root form averages absolute rather than squared differences, so one large discrepancy cannot dominate its lag class.
- Models a spatially varying mean through covariates, so it applies where ordinary kriging's constant-mean assumption fails, such as strong elevation or land-use gradients.
- Keeps the kriging framework: predictions are weighted combinations of the data and come with a kriging variance, so uncertainty is reported alongside the map.
- Keeps all observations in the fit rather than deleting them, so data are not lost when outlier status is uncertain.
- The variogram step draws on the Cressie-Hawkins resistant approach, an established idea in geostatistics.
Applications
- Mapping soil heavy-metal contamination from field samples that may contain laboratory measurement errors.
- Interpolating air-quality or groundwater pollutant concentrations where sensor failures produce occasional outlying readings.
- Generating climate surfaces (temperature, precipitation) from station networks that include faulty gauges.
- Environmental risk assessment where map accuracy near regulatory thresholds matters and data quality is uncertain.
- Mining and resource estimation in ore bodies with assay errors or nugget-effect outliers.
How it works
How it works
The observed value at location s is split into a deterministic trend μ(s) = x(s)ᵀβ, a linear combination of spatial covariates such as coordinates, elevation or land-use class, plus a zero-mean spatially correlated residual δ(s). Allowing the mean to vary with covariates is what distinguishes universal kriging from ordinary kriging, which assumes a constant unknown mean.
Formula
Z(s) = \mu(s) + \delta(s), \quad \mu(s) = x(s)^\top \beta
The formula sums the square roots of absolute differences within each lag class, scaled by 1/(2|N(h)|), rather than squared differences. This limits how strongly a single large discrepancy can move the estimate. The Cressie-Hawkins resistant estimator builds on the same square-root idea but applies further transformation and bias-correction steps, which are not shown in the formula here.
Formula
\hat{\gamma}(h) = \frac{1}{2|N(h)|}\sum_{N(h)}|Z(s_i)-Z(s_j)|^{0.5}The trend coefficients β are estimated by generalised least squares, which weights observations through the inverse of the spatial covariance matrix Σ implied by the fitted variogram. The formula shown is the classical GLS estimator and contains no robust weighting term. Robust variants replace the squared-residual criterion with a bounded influence function (M-estimation); this is the step that makes the trend fit resistant to outliers. The specific robust estimator and its influence function depend on the software in use and should be taken from its documentation. The classical formula shown here is therefore not itself the robust trend step.
Formula
\hat{\beta}_{\text{GLS}} = (X^\top \Sigma^{-1} X)^{-1} X^\top \Sigma^{-1} ZWith the variogram and covariance structure fitted, the universal kriging system is solved for interpolation weights λᵢ at each prediction location. In standard universal kriging this is a linear system that combines covariances among the data locations with covariances between the data and the prediction point, together with constraints that keep the predictor unbiased under the assumed trend. The weights therefore depend on both proximity and the clustering of the data.
The prediction at an unobserved location s₀ is the estimated trend at s₀ plus the weighted sum of the estimated residuals at the observed locations. A kriging variance is also computed to quantify prediction uncertainty.
Formula
\hat{Z}(s_0) = \hat{\mu}(s_0) + \sum_{i=1}^{n} \lambda_i \, \delta(s_i)Common pitfalls
- Treating all extreme observations as outliers without investigating their origin; a legitimate extreme, such as a pollution hotspot, should not be discarded or down-weighted.
- Using a robust variogram but ignoring outlier influence on the trend estimation; both stages need robust treatment for the method to work as intended.
- Fitting the model with too few lag classes or too few pairs per class, which makes the variogram unreliable even before any robust correction.
- Publishing maps without checking predictions at held-out locations; leave-one-out or hold-out validation shows whether down-weighting has degraded accuracy near the points of interest.
- Confusing RUK with simple outlier removal followed by standard kriging; RUK retains all data but limits their influence, which is a different operation.
Frequently asked questions
How is Robust Universal Kriging different from ordinary Universal Kriging?
Standard Universal Kriging uses classical method-of-moments variogram estimation and classical GLS for the trend, both of which are sensitive to outliers. Robust Universal Kriging replaces these with influence-limiting estimators, such as the Cressie-Hawkins variogram and M-estimators for β, so that a small fraction of atypical observations cannot dominate the fitted model.
What robust variogram estimator should I use?
The Cressie-Hawkins estimator is a widely used resistant variogram and is the one described in this method's core text. Other robust variogram estimators exist, and their breakdown behaviour should be checked in the current literature before choosing an alternative.
Can I use Robust Universal Kriging when outliers are genuine extreme values, not errors?
Not without caution. If the extremes are real, such as a genuine contamination hotspot, down-weighting them will bias the map toward lower values at those locations. In that case, consider modelling the data on a transformed scale or using an indicator kriging approach instead.
How many data points do I need?
Robust variogram estimates become unstable on small datasets, so a larger sample is needed before they can be relied on. The required size depends on the spatial spread of the data and the number of pairs in each lag class, so check those counts. With small samples, classical kriging with expert-specified variogram parameters may be preferable.
Which software packages implement Robust Universal Kriging?
Packages such as gstat in R and scikit-gstat in Python are commonly used for geostatistical variogram estimation and kriging. Not all of them implement robust GLS for the trend, so check each package's documentation before relying on a robust option.
Related methods
Sources
Cressie, N. A. C. (1993). Statistics for Spatial Data (revised ed.). Wiley-Interscience, New York.
ISBN: 978-0471002550Genton, M. G., & Rousseeuw, P. J. (1995). The change-of-variance curve and optimal redescending M-estimators. Journal of Computational and Graphical Statistics, 4(4), 411-432.
Open publication reference