- Introduced by
- Matheron, G. (trend/drift kriging); local neighborhood approach standard in geostatistical practice
- Year
- 1969/1997
- Type
- Spatial interpolation model
- Family
- GIS / spatial
What does it do?
Local Universal Kriging is a geostatistical interpolation method for a variable that has a spatially varying deterministic trend and a stochastic residual. Each prediction uses only the observations inside a defined search neighborhood.
The drift, expressed as a polynomial in the coordinates or as a function of external covariates, is estimated together with the kriging weights under an unbiasedness constraint, so the trend and the spatial correlation of the residuals are handled in one system. It extends local ordinary kriging by explicitly modelling the drift instead of assuming a constant mean.
The intuition behind the method
Imagine a terrain where elevation gradually rises from south to north: a clear trend, but also irregular local bumps. Universal Kriging models that broad trend (the drift) together with the spatial correlation of the leftover variation, and uses nearby measured points to interpolate that random component. The 'local' part means only the closest observations in a search window are used for each prediction, which keeps the model adaptive and computationally efficient even on large spatial datasets. The result is a smooth surface that honors both the regional gradient and local data patterns.
History
Universal kriging is generally credited to Georges Matheron, who extended ordinary kriging to a non-stationary mean (drift). Local neighborhood implementations are the usual practice in applied geostatistics, and the standard textbook treatments are Goovaerts (1997) and Chiles and Delfiner (1999).
When to use it
Choose Local Universal Kriging when the variable shows a clear deterministic trend or gradient, such as elevation, temperature or precipitation changing with latitude or altitude, and the residuals still display spatial autocorrelation. It is suited to datasets large enough that a local search window is needed for efficiency, and to processes whose mean structure is non-stationary. When a clear trend is present and can be estimated reliably within the local window, universal kriging can reduce the bias that local ordinary kriging incurs from a systematic gradient; if the trend is weak or poorly estimated, this advantage may disappear. It is preferred to global universal kriging when the trend itself varies across the study region. Do not use it when no spatial trend is detectable, since ordinary kriging is then sufficient. Also avoid it when the trend model is highly uncertain or misspecified, or when local windows contain too few points to estimate both the trend and the variogram parameters.
Limitations and considerations
- Requires an explicit trend model. A misspecified trend can introduce systematic error across the whole interpolated surface.
- Trend parameters and variogram parameters are estimated from the same data, and this joint estimation can be unstable when the local window is small.
- More computationally demanding than local ordinary kriging, because the kriging system is expanded with the drift terms.
- Assumes second-order stationarity of the residuals after the trend is removed, which may not hold in every application.
- Performance depends on the size and shape of the search neighborhood. A window that is too small may not provide enough data for reliable estimation.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Explicitly models a non-stationary mean (trend or drift), which avoids the bias that ordinary kriging can introduce when the data contain a systematic gradient.
- The local search neighborhood limits the size of each kriging system, which makes the method feasible for large spatial datasets.
- Produces a kriging variance at every prediction location, which supports probabilistic mapping and identifies poorly constrained areas.
- Flexible drift specification: a polynomial in the coordinates, or a regression on external covariates, as in kriging with external drift.
- Predictions are unbiased under the assumed drift and covariance model, provided the unbiasedness constraints are included in the kriging system, because the kriging weights are constrained to satisfy unbiasedness with the drift terms included.
Applications
- Interpolating elevation or digital terrain models where a regional slope trend coexists with local topographic variation.
- Mapping climate variables (temperature, precipitation) that exhibit latitudinal or altitudinal gradients.
- Environmental contamination mapping where pollutant concentration follows a source-distance gradient plus spatially correlated noise.
- Petroleum reservoir characterization using porosity or permeability data with a structural depth trend.
- Agricultural yield mapping on fields with gradient soil properties such as drainage or organic matter.
- Urban heat island studies where temperature trends with distance from city center are modeled alongside local variation.
How it works
How it works
A local search neighborhood, defined either by a fixed radius or by the nearest n points, is set around each prediction location. Only observations inside this window enter the kriging system. This keeps the trend and covariance estimates locally relevant and reduces computational cost.
A deterministic drift function mu(s) is specified and estimated. It is typically a polynomial in the spatial coordinates or a function of external covariates, and it represents the systematic large-scale variation in the variable of interest.
Formula
\mu(s) = \sum_{k=0}^{K} a_k f_k(s)A variogram model is fitted to the residuals after the trend has been removed. It describes the spatial autocorrelation of the random component, and it determines how spatial similarity decays with distance within the local window.
The predictor combines the trend at the prediction location with a weighted sum of the residuals at the neighboring observations, using weights lambda_i. This compact predictor form does not by itself define the weights. They are obtained from a universal kriging system in which the drift functions enter as constraints that require the weighted drift at the data to reproduce the drift at the prediction location, which enforces unbiasedness. The result is the best linear unbiased predictor under the assumed trend and covariance model.
Formula
\hat{Z}(s_0) = \mu(s_0) + \sum_{i=1}^{n} \lambda_i [Z(s_i) - \mu(s_i)]The kriging variance is computed together with each prediction and gives a location-specific measure of interpolation uncertainty. It depends on the distance to the conditioning data and on the spatial correlation structure in the local neighborhood.
Common pitfalls
- Using a polynomial trend whose degree is high relative to the number of local observations. This overfits the trend and leaves little signal for the residual interpolation.
- Fitting a variogram without checking the residuals for remaining trend or non-stationarity. The resulting spatial correlation estimates are then misleading.
- Choosing a search neighborhood that contains fewer observations than the number of unknowns in the kriging system (the drift terms plus the kriging weights), which leaves the system under-determined.
- Reading the kriging variance as a full probability distribution without checking that the residuals are approximately Gaussian.
- Confusing Local Universal Kriging with geographically weighted regression. Both adapt locally, but GWR estimates coefficients that vary over space, whereas Local Universal Kriging models the spatial covariance of the residuals to predict values at unsampled locations.
Frequently asked questions
What is the difference between Local Universal Kriging and Local Ordinary Kriging?
Ordinary kriging assumes a constant but unknown mean and estimates it implicitly. Universal kriging explicitly models a spatially varying mean (trend) using polynomial coordinates or external covariates, which is appropriate when the data show a systematic gradient or drift that ordinary kriging cannot capture.
How do I choose the search neighborhood size?
The neighborhood must contain enough observations to estimate the kriging system, which means more points than the number of trend parameters. Balance local adaptivity (a smaller window) against estimation stability (a larger window), and compare candidate sizes with cross-validation, for example using mean squared prediction error.
Can external covariates be used as the trend instead of coordinates?
Yes. When the trend is a function of a secondary variable, for example elevation used as a covariate to interpolate temperature, the approach is called Kriging with External Drift (KED). It is a subcase of universal kriging and uses the same local implementation.
Does local universal kriging reproduce the observed values exactly at the data points?
Under the standard model without a nugget effect, the predictor is an exact interpolator: at a sample location inside its own neighborhood, the predicted value equals the observed value. If the variogram includes a nugget effect, the predictor no longer reproduces the data exactly and instead smooths over the measurement error.
When should I prefer Geographically Weighted Regression over Local Universal Kriging?
Geographically weighted regression (GWR) suits analyses whose main goal is to understand how relationships between a response and its predictors vary across space. Local Universal Kriging suits analyses whose main goal is optimal spatial prediction of a variable with a trend, using the spatial autocorrelation of the residuals to reduce prediction variance.
Related methods
Sources
Goovaerts, P. (1997). Geostatistics for Natural Resources Evaluation. Oxford University Press.
ISBN: 9780195115383Chiles, J.-P., & Delfiner, P. (1999). Geostatistics: Modeling Spatial Uncertainty. Wiley.
ISBN: 9780471083153