Bayesian Ordinary Kriging

Statistics
Introduced by
Handcock & Stein (1993); Diggle & Ribeiro (2007)
Year
1993
Type
Bayesian geostatistical interpolation
Family
GIS / spatial

What does it do?

Bayesian Ordinary Kriging is a geostatistical interpolation method that combines ordinary kriging with a Bayesian framework, estimating the spatial covariance parameters together with predictions at unsampled locations.

Rather than fixing these parameters at values estimated in a separate step, it keeps them uncertain and carries that uncertainty into the predictive distribution. This treatment of covariance-parameter uncertainty can give more appropriate prediction uncertainty than plug-in kriging when the data determine those parameters poorly, and calibration should be checked by cross-validation.

The intuition behind the method

Ordinary kriging typically estimates the variogram parameters, the partial sill sigma-squared and the range phi, from the data in a separate fitting step and then treats them as known. With sparse data those estimates can be quite uncertain, but the subsequent predictions ignore that uncertainty. Bayesian Ordinary Kriging places prior distributions on the mean, the variance and the range, and updates them with the observations. Predictions at new locations are then averaged over the plausible parameter values, so when the data say little about the range, the predictive intervals widen accordingly.

History

Spatial interpolation by kriging is usually traced to mining work by Krige and to the later formalisation of the method by Matheron. The Bayesian treatment is represented here by Handcock and Stein (1993), who analysed best linear unbiased prediction for Gaussian random fields within a Bayesian framework. They paid particular attention to how the treatment of covariance parameters affects the quality, both real and perceived, of the predictions, and illustrated the ideas with topographical data from Davis. Diggle and Ribeiro (2007) give a broader treatment of model-based geostatistics.

When to use it

Use Bayesian Ordinary Kriging when you have georeferenced continuous measurements at point locations and need spatial predictions at unsampled sites with reliable uncertainty bounds. It is especially valuable when the sample is small or moderate (fewer than a few hundred points) and variogram parameter estimates would be highly uncertain under classical fitting. It is also appropriate when a prior on spatial structure is available from earlier studies. Avoid it when the dataset is very large (thousands of points) and computational cost from MCMC becomes prohibitive, or when the stationarity assumption (constant mean, stationary covariance) is clearly violated — in that case consider Bayesian Universal Kriging or non-stationary alternatives. Do not use it as a drop-in replacement for ordinary kriging without checking whether the stationarity assumption is reasonable.

Limitations and considerations

  • Computationally intensive: MCMC sampling scales poorly with large datasets due to repeated matrix inversions of the n-by-n covariance matrix.
  • Sensitivity to prior choice can matter substantially with small samples; poorly specified priors on the range parameter can mislead inference.
  • Assumes an unknown constant mean and stationary spatial dependence described by a single covariance function, which may be violated in heterogeneous landscapes.
  • More complex to implement and communicate than classical kriging; requires expertise in Bayesian computation.

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

Strengths

  • Carries variogram parameter uncertainty through to the predictions, so prediction intervals can be better calibrated than those from plug-in ordinary kriging when the data are sparse.
  • Lets prior knowledge about the spatial range or variance from earlier surveys or domain expertise enter the analysis.
  • Provides a full predictive distribution at each location, which supports probabilistic exceedance mapping, such as the probability that a pollutant concentration exceeds a given threshold.
  • Because it is a coherent Bayesian model, competing covariance models can be compared through their marginal likelihoods (Bayes factors). These Bayes factors depend on the priors chosen for each model's parameters, so their sensitivity to prior choice should be checked before drawing conclusions, especially with small samples.
  • Its design targets settings where classical variogram fitting is unstable, namely small samples in which the range and variance are poorly determined by the data.

Applications

  • Environmental monitoring: predicting soil contamination or air-quality concentrations at unmonitored sites, where exceedance probabilities may matter more than a single surface.
  • Hydrology: interpolating rainfall or groundwater levels from sparse gauge networks while propagating parameter uncertainty into the maps.
  • Agriculture: mapping soil properties such as pH or organic matter across a field where sampling is sparse.
  • Public health: producing disease-risk surfaces from sparse surveillance data, with uncertainty bounds reported alongside the estimates.
  • Mining: estimating ore grades where a predictive distribution at each location is wanted rather than a single point estimate.

How it works

How it works

1

A parametric covariance (variogram) function characterises how spatial correlation decays with distance h. Parameters include the partial sill sigma-squared and the range phi controlling the rate of decay. The correlation function rho(h; phi) must be chosen from a parametric family, for example exponential, spherical or Matérn. Each family relates phi to the decay of correlation in its own way, and the Matérn family also includes a smoothness parameter. The choice of family affects the predictions and should be reported.

Formula
\gamma(h) = \sigma^2 \left[1 - \rho(h; \phi)\right]
2

Prior distributions are placed on the mean mu, variance sigma-squared, and the range parameter phi. Vague or weakly informative priors are commonly used when domain knowledge is limited; informative priors can encode known spatial structure.

Formula
p(\mu, \sigma^2, \phi) \propto p(\mu) \cdot p(\sigma^2) \cdot p(\phi)
3

The vector of observed values Y is modelled as a multivariate normal with constant mean mu and a covariance matrix sigma-squared times the correlation matrix R(phi). The likelihood links the observed data to the unknown parameters.

Formula
\mathbf{Y} \mid \mu, \sigma^2, \phi \sim \mathcal{N}(\mu \mathbf{1}, \sigma^2 R(\phi))
4

Bayes' theorem combines the likelihood and the priors to give the posterior distribution of all parameters given the data. Because the posterior typically has no closed form when phi is unknown, it is usually explored by MCMC sampling, for example Metropolis-Hastings or slice sampling.

Formula
p(\mu, \sigma^2, \phi \mid \mathbf{Y}) \propto L(\mathbf{Y} \mid \mu, \sigma^2, \phi) \cdot p(\mu, \sigma^2, \phi)
5

Predictive inference at a new location s0 integrates over the posterior parameter distribution. This produces a full predictive distribution rather than a single point estimate, capturing both spatial interpolation uncertainty and parameter uncertainty.

Formula
p(Y(s_0) \mid \mathbf{Y}) = \int p(Y(s_0) \mid \mathbf{Y}, \theta) \, p(\theta \mid \mathbf{Y}) \, d\theta

Common pitfalls

  • Using flat (improper) priors on all parameters simultaneously can lead to improper posteriors or poor mixing; use proper priors, particularly on the range parameter, and compare results under alternative prior specifications.
  • Treating MCMC output as converged without checking trace plots and diagnostics (Gelman-Rubin R-hat); poor mixing produces unreliable predictions.
  • Applying Bayesian Ordinary Kriging when the spatial mean is clearly non-constant across the domain — check residual maps and consider adding covariates (Universal Kriging) instead.
  • Ignoring cross-validation: always compare predictive performance at held-out locations against simpler models before trusting spatial interpolations.

Frequently asked questions

How does Bayesian Ordinary Kriging differ from ordinary kriging?

Classic ordinary kriging estimates variogram parameters (the partial sill and range) by fitting the experimental variogram and then treats them as fixed and known. Bayesian Ordinary Kriging places probability distributions on these parameters and integrates over them during prediction. This produces wider, more honest prediction intervals, especially when the sample is small.

What priors should I use for the variogram parameters?

No single prior family is prescribed here. Priors on the range and variance should be proper and chosen on the scale of the data. Informative priors from earlier studies of the same region can substantially sharpen inference with sparse data. Because results can depend on this choice when samples are small, compare the posterior predictions under a few alternative prior specifications.

When should I choose Bayesian Universal Kriging instead?

Ordinary kriging assumes a single unknown constant mean across the domain. If that mean changes systematically across the study area, for example with elevation from coast to mountains, Bayesian Universal Kriging models the mean through covariates instead. Check residual patterns before choosing between the two.

How do I handle the computational cost with large datasets?

Standard MCMC with full covariance matrices is O(n^3) per iteration and becomes impractical beyond a few thousand observations. Approximate methods such as nearest-neighbour Gaussian processes (NNGP), fixed-rank kriging, or SPDE/INLA approaches can scale Bayesian spatial models to much larger datasets while retaining most of the inferential benefits.

How do I validate the predictions?

Use leave-one-out or k-fold cross-validation: withhold each observation in turn, predict it from the rest, and compare the predictive interval coverage to the nominal level (e.g., 90% of observations should fall inside the 90% predictive interval). Poor coverage indicates mis-specified covariance structure or priors.

Related methods

Sources

  1. Diggle, P. J., & Ribeiro, P. J. (2007). Model-Based Geostatistics. Springer.

    ISBN: 978-0387329079
  2. Handcock, M. S., & Stein, M. L. (1993). A Bayesian analysis of kriging. Technometrics, 35(4), 403-410.

    Open DOI reference