- Introduced by
- Kyriakidis & Journel (1999); foundations in Matheron's geostatistics
- Year
- 1999
- Type
- Spatiotemporal geostatistical interpolation
- Family
- GIS / spatial
What does it do?
Space-Time Universal Kriging (STUK) is a geostatistical method that interpolates a variable observed at irregular points in space and time while explicitly modelling a deterministic trend.
It extends Universal Kriging to the joint space-time domain and returns best linear unbiased predictions, with kriging variances, at unobserved space-time locations. These optimality properties hold under the fitted trend and covariance model.
The intuition behind the method
Imagine monitoring air quality at a set of stations over several months. Pollution levels follow a spatial gradient (e.g., higher near cities) and a temporal trend (e.g., seasonal cycles) — neither of which a purely spatial or purely temporal model can capture simultaneously. Space-Time Universal Kriging fits a smooth trend surface over both dimensions, then uses the residual space-time correlation structure (captured by the variogram) to borrow information from nearby stations and nearby time points, filling gaps with the most accurate possible interpolated values and honest uncertainty bounds.
History
Georges Matheron introduced Universal Kriging in the late 1960s as an extension of Ordinary Kriging that allows a non-stationary mean. Kyriakidis and Journel (1999) reviewed geostatistical space-time models, a body of work on which space-time kriging methods such as STUK build. Practical implementations in R are available through the gstat package.
When to use it
Use Space-Time Universal Kriging when you have point-referenced observations collected at irregular space-time locations and need interpolated maps or time-series at unsampled locations, and when the variable has a discernible spatial or temporal trend (e.g., temperature gradient, temporal seasonality) that must be accounted for rather than assumed away. It is well-suited for environmental monitoring, climate reanalysis, air quality mapping, and epidemiological surveillance with moderately sized datasets. Avoid it when the trend is poorly specified or highly nonlinear (prefer nonparametric alternatives), when data are gridded and abundant (machine-learning or deep-learning interpolators may be faster), when the dataset is very large (the n x n kriging system becomes computationally prohibitive without approximations), or when observations are not spatially referenced.
Limitations and considerations
- Computationally expensive: solving the kriging system scales as O(n^3) in the number of observations, which makes the full system impractical for large datasets without approximations such as local neighbourhoods.
- The space-time variogram needs sufficient data density across both space and time; sparse coverage in either dimension leaves the joint covariance weakly identified.
- The kriging weights are constrained to reproduce the chosen trend terms, so a misspecified trend passes directly into the predictions as systematic bias.
- Assumes second-order stationarity of the residual process, which may not hold in heterogeneous landscapes.
- With only a constant mean term, the universal kriging system reduces to the ordinary kriging system, so omitting the trend is a model choice within the same framework rather than a separate method.
- The fitted variogram is valid only if the residual process is intrinsically or second-order stationary in space and time. The product model further implies that spatial and temporal dependence are separable, and the product-sum and metric forms impose their own assumptions on how space and time interact.
- The trend must be identifiable from the sampling design. If the design makes trend terms collinear, for example a temporal trend sampled at only one or two dates or a spatial gradient sampled along a single transect, the trend coefficients cannot be separated from the residual structure and the trend estimate is unreliable.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Under the fitted model, the weights minimise prediction variance subject to reproducing the trend terms, which gives best linear unbiased predictions at unsampled space-time locations. These optimality properties hold only if the trend and covariance model are correctly specified.
- Each prediction comes with a kriging variance, so an uncertainty surface accompanies the interpolated values. This variance depends on the chosen covariance model and is not a model-free error estimate. It does not include the error from estimating the trend coefficients and covariance parameters.
- A non-constant mean is modelled through trend terms in space and time, so a spatial gradient or a seasonal cycle does not have to be removed before interpolation.
- The space-time covariance can take product, product-sum or metric forms, so the joint dependence can be matched to the data, although each form makes different assumptions about how space and time interact.
- Implemented in the R package gstat, which provides space-time variogram modelling and kriging.
Applications
- Interpolating air pollutant concentrations (PM2.5, NO2) across monitoring networks to produce daily gridded exposure maps.
- Reanalysing meteorological variables (temperature, precipitation) at unobserved locations by combining station records and time series.
- Mapping soil moisture or groundwater levels from sparse sensor networks over multiple seasons.
- Epidemiological surveillance: estimating disease incidence rates at unsampled administrative units across time.
- Ocean and atmosphere sciences: reconstructing sea surface temperature or salinity fields from satellite and in-situ observations.
- Urban heat island studies combining spatial location data with temporal temperature records.
How it works
How it works
A joint space-time covariance function C(h, u) describes how dependence between observations changes with spatial separation h and temporal lag u. In universal kriging this function applies to the residual process delta(s,t) after the trend has been removed. The covariance of Z itself is not stationary when the trend is non-constant. The structure is estimated from the residuals using a space-time variogram or covariance model (e.g., product, product-sum or metric model).
Formula
C(\mathbf{h}, u) = \text{Cov}[Z(\mathbf{s}, t), Z(\mathbf{s}+\mathbf{h}, t+u)]A deterministic mean function m(s,t) is specified as a linear combination of known spatial and temporal basis functions f_k (e.g., coordinates, time index, seasonal harmonics). The trend coefficients beta_k are estimated from the data, for example by generalised least squares or restricted maximum likelihood. The space-time covariance is then fitted to the residuals from this trend.
Formula
m(\mathbf{s}, t) = \sum_{k} \beta_k f_k(\mathbf{s}, t)The observed value Z(s,t) is decomposed into the trend m(s,t) plus a zero-mean spatiotemporal residual process delta(s,t) whose covariance structure follows the fitted space-time variogram.
Formula
Z(\mathbf{s}, t) = m(\mathbf{s}, t) + \delta(\mathbf{s}, t)The prediction at an unobserved target (s0, t0) is a weighted sum of the available observations, either all of them or a local neighbourhood. The weights lambda_i are chosen to minimise prediction variance while ensuring unbiasedness, which is the classic Best Linear Unbiased Predictor (BLUP) criterion. This optimality holds under the fitted trend and covariance model.
Formula
\hat{Z}(\mathbf{s}_0, t_0) = \sum_{i=1}^{n} \lambda_i Z(\mathbf{s}_i, t_i)Unbiasedness is enforced by a set of linear constraints: the weights must reproduce the trend exactly at the target location, one constraint per trend term k. These constraints are imposed with one Lagrange multiplier per trend term, which gives an extended linear system. Solving this system yields the optimal weights and the kriging variance.
Formula
\sum_{i} \lambda_i f_k(\mathbf{s}_i, t_i) = f_k(\mathbf{s}_0, t_0),\; \forall kCommon pitfalls
- Specifying a trend that is too complex (overfitting) or too simple (leaving systematic bias in residuals). Check residual variograms after trend removal.
- Fitting a purely spatial or purely temporal variogram and ignoring the joint structure, which leads to poor predictions at locations and times far from observations.
- Using the kriging variance as an absolute measure of uncertainty, without acknowledging that it is conditional on a fixed, possibly misspecified variogram model.
- Estimating the trend coefficients and the variogram from the same data and then judging performance only on that data. Leave-out or hold-out checks are needed before the interpolated surfaces are used for decisions.
- Applying the method to a very large number of observations without local neighbourhood restrictions, which causes excessive memory and computation costs.
Frequently asked questions
How does Space-Time Universal Kriging differ from Space-Time Ordinary Kriging?
Ordinary Kriging assumes a constant but unknown mean and enforces a single unbiasedness constraint (weights sum to 1). Universal Kriging assumes a spatiotemporal trend modelled by known basis functions and adds one unbiasedness constraint per trend term. STUK should be preferred when a clear gradient or trend is visible in the data; if the mean appears stationary, Ordinary Kriging is simpler and equally valid.
What space-time variogram models are commonly used?
The most common choices are the product model (spatial and temporal variograms multiply, so space and time dependence are separable), the product-sum model (combines spatial and temporal components together with their product term, allowing separate and interacting dependence), and the metric model (combines space and time into a single scaled distance). The product-sum form is more flexible than the product form. Which form fits best depends on the data and is best compared by cross-validation.
How large a dataset is too large for this method?
The full kriging system grows with the number of observations, so large datasets become slow without local neighbourhood approximations. Most implementations therefore use a moving window (local kriging) that retains only the nearest observations, reducing computation at the cost of some loss of global optimality.
Can I use Space-Time Universal Kriging for forecasting future time points?
Extrapolation to future time points can be attempted only if the trend extrapolation is justified, for example by a fitted polynomial or harmonic term that remains credible beyond the observation window, and the variogram is fitted to historical data. Kriging variance grows with temporal distance from the observations, but it understates true uncertainty because it ignores the error in the trend extrapolation and the error from estimating the covariance parameters. For long-range forecasting, dynamic spatiotemporal models (e.g., state-space or machine-learning-based) are often preferred.
What software implements Space-Time Universal Kriging?
The R package gstat, with the spacetime package for data handling, provides space-time variogram modelling, fitting and kriging. Other environments may offer related functions, but their support for space-time kriging with trend should be checked against their documentation before use.
Related methods
Sources
Kyriakidis, P. C., & Journel, A. G. (1999). Geostatistical space-time models: A review. Mathematical Geology, 31(6), 651-684.
Open DOI referenceGraler, B., Pebesma, E., & Heuvelink, G. (2016). Spatio-temporal interpolation using gstat. The R Journal, 8(1), 204-218.
Open publication reference