Space-Time Ordinary Kriging

Statistics
Introduced by
Kyriakidis & Journel (seminal review); Cressie & Huang (covariance models)
Year
1999
Type
Geostatistical interpolation
Family
GIS / spatial

What does it do?

Space-Time Ordinary Kriging (STOK) is a geostatistical interpolation method that predicts a continuous, spatially and temporally varying variable at unsampled space-time locations.

It assumes an unknown but locally constant mean and uses a joint space-time covariance or variogram model to weight nearby observations. Under second-order stationarity and a correctly specified covariance model, the predictor is the best linear unbiased predictor and comes with a kriging variance.

The intuition behind the method

Think of measurements recorded at weather stations across a region over many days. You want to estimate temperature at a location and time where no station recorded data. STOK treats space and time together: nearby stations that measured recently count more than distant stations or older readings. It uses a joint space-time variogram that describes how correlation decays with geographic distance and temporal lag, and combines neighbouring observations with weights that make the prediction unbiased and minimise its estimation error variance, provided the model assumptions hold. The output is a space-time surface with an associated uncertainty map.

History

Ordinary kriging belongs to classical geostatistics. Kyriakidis and Journel (1999) reviewed geostatistical space-time models, including space-time kriging approaches. The gstat R package provides space-time interpolation tools for applied users.

When to use it

Choose STOK when you have georeferenced, time-stamped measurements of a continuous variable and need values or maps at unobserved space-time locations. It fits when the mean is unknown but can reasonably be treated as constant within the local space-time neighbourhood, when covariance depends mainly on separation, and when both spatial and temporal correlation are present. Avoid it when the mean follows a systematic trend with coordinates, time or covariates; use space-time universal kriging in that case, or space-time regression-kriging when informative covariates are available. Also avoid it when the variable is categorical or binary, when the domain is strongly non-stationary, or when temporal correlation is negligible and purely spatial kriging is sufficient.

Limitations and considerations

  • Assumes second-order stationarity (constant mean and covariance structure); a spatial or temporal trend or non-stationary variance violates this and biases predictions.
  • Fitting a valid joint space-time variogram is demanding, and a mis-specified model directly distorts the kriging weights and therefore the predictions.
  • Solving the kriging system involves a covariance matrix of size n, so computational cost grows roughly with n cubed; large datasets require a local search neighbourhood.
  • The space-time search neighbourhood (radius in space and lag in time) strongly influences results and must be tuned.
  • Does not incorporate auxiliary covariates; when informative covariates are available, space-time regression-kriging or co-kriging is preferable.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Under second-order stationarity and a correctly specified covariance model, it gives the best linear unbiased predictor, which has minimum mean-squared error among linear unbiased predictors.
  • Models spatial and temporal dependence through one joint space-time variogram, so spatial and temporal lags interact in the weights rather than being treated separately.
  • Returns a kriging variance for each prediction, so the uncertainty varies with the local configuration of observations.
  • Does not require a parametric trend model for the mean; the constant mean is handled implicitly through the unbiasedness constraint.
  • Implemented in the gstat R package, which provides space-time interpolation tools for applied users.

Applications

  • Interpolating daily or hourly air quality measurements (PM2.5, ozone) from a monitoring network to a continuous space-time grid.
  • Reconstructing missing values in a rain-gauge network for hydrological modelling.
  • Mapping soil moisture dynamics across agricultural fields over a growing season.
  • Estimating sea-surface temperature fields from sparse in-situ buoy and ship measurements.
  • Predicting groundwater levels between observation wells through time for aquifer management.
  • Filling gaps in urban heat island monitoring networks for climate impact assessments.

How it works

How it works

1

A joint space-time variogram gamma(h, u) is estimated from the data, where h is the spatial separation vector and u is the temporal lag. It is obtained from the covariance function as gamma(h, u) = C(0, 0) - C(h, u). Valid parametric models (for example product-sum, metric or separable forms) are fitted to capture how spatial and temporal correlation decay jointly.

Formula
\gamma(\mathbf{h}, u) = C(\mathbf{0},0) - C(\mathbf{h},u)
2

The field Z(s, t) is written as an unknown constant mean mu plus a zero-mean residual delta(s, t) with space-time correlation. Unlike space-time universal kriging, no trend in coordinates or time is included, so the mean must be approximately constant within the neighbourhood used for prediction.

Formula
Z(\mathbf{s},t) = \mu + \delta(\mathbf{s},t)
3

The prediction at a target location s0 and time t0 is a weighted linear combination of the n observations Z(si, ti) in the space-time neighbourhood. The weights lambda_i are obtained by solving the ordinary kriging system built from the space-time covariance matrix.

Formula
\hat{Z}(\mathbf{s}_0,t_0) = \sum_{i=1}^{n} \lambda_i Z(\mathbf{s}_i,t_i)
4

The weights are constrained to sum to 1, which makes the predictor unbiased for any value of the unknown constant mean mu. The constraint is imposed in the kriging system through the Lagrange multiplier psi.

Formula
\sum_{i=1}^{n} \lambda_i = 1
5

The kriging variance sigma^2_OK is computed from the covariance at the origin, the covariances between the target and the sampled points, and the Lagrange multiplier psi. The ordinary kriging system with the unbiasedness row is: for each neighbour i, the sum over j of lambda_j C(s_i - s_j, t_i - t_j) + psi = C(s_i - s_0, t_i - t_0), together with the sum of lambda_i equal to 1. In this convention psi enters the system with a plus sign, and the variance formula subtracts it, as written above. The variance depends on the assumed covariance structure and on the configuration of neighbours rather than on the observed values, so it is lower where neighbours are dense or strongly correlated with the target.

Formula
\sigma^2_{OK}(\mathbf{s}_0,t_0) = C(\mathbf{0},0) - \sum_{i=1}^{n}\lambda_i C(\mathbf{h}_i,u_i) - \psi

Common pitfalls

  • Using a purely separable variogram when the true space-time interaction is non-separable; the goodness of fit of the chosen model class should be checked against the empirical variogram.
  • Ignoring anisotropy between the space and time axes, or failing to rescale time to comparable units before fitting a metric model, which can distort the variogram.
  • Choosing a space-time search neighbourhood that is too small, leaving too few data points, or too large, which violates local stationarity.
  • Treating the kriging variance as a full predictive interval. It is a second-order quantity computed from the assumed covariance model and does not account for uncertainty in the fitted variogram parameters, so intervals built from it need additional distributional assumptions and checking.
  • Applying STOK to data with a visible spatial or temporal trend without detrending first; the constant-mean assumption is then violated and estimates may be biased.

Frequently asked questions

What is the difference between Space-Time Ordinary Kriging and Space-Time Universal Kriging?

Ordinary kriging assumes an unknown but constant (stationary) mean across the space-time domain and estimates it implicitly via the unbiasedness constraint. Universal kriging allows the mean to vary as a known function of spatial coordinates or time, making it more flexible but requiring specification of a drift model. When the mean is clearly non-stationary (e.g., a temperature gradient with latitude), universal kriging is preferred.

How do I choose a space-time variogram model?

Common choices are the separable model (product of a purely spatial and purely temporal variogram), the product-sum model (adds a joint component), and the metric model (uses a rescaled Euclidean distance combining space and time). Fit each to the empirical variogram and compare residual sums of squares. The product-sum model often captures non-separable dependence better than the separable model.

Can Space-Time Ordinary Kriging handle irregular temporal sampling?

Yes. Because kriging is a point-wise method that uses the variogram evaluated at any arbitrary space-time separation, it naturally handles irregular sampling in both space and time without requiring a regular grid of observations.

How large a dataset can Space-Time Ordinary Kriging handle?

Direct inversion of the full covariance matrix is O(n^3), so it becomes impractical beyond a few thousand observations. In practice, a local search neighbourhood (e.g., the 20-50 nearest space-time neighbours) is used, which reduces cost and also enforces local stationarity. For very large datasets, covariance tapering or fixed-rank approximations are alternatives.

Does the method account for measurement errors?

Adding a nugget effect to the variogram model absorbs both short-range variability and measurement noise. The kriging predictor then does not honour the data exactly (no exact interpolation), which can be beneficial when observations contain noise.

Related methods

Sources

  1. Kyriakidis, P. C., & Journel, A. G. (1999). Geostatistical space-time models: a review. Mathematical Geology, 31(6), 651-684.

    Open DOI reference
  2. Gräler, B., Pebesma, E., & Heuvelink, G. (2016). Spatio-temporal interpolation using gstat. The R Journal, 8(1), 204-218.

    Open publication reference