Bayesian Kriging (Model-Based Geostatistics)

Statistics
Introduced by
Diggle, Tawn & Moyeed; Handcock & Stein
Year
1993–1998
Type
Bayesian spatial interpolation
Family
GIS / spatial

What does it do?

Bayesian kriging applies the Bayesian framework to kriging-type spatial prediction.

Covariance parameters such as the range and variance receive prior distributions, which the observed data update into a posterior distribution. Predictions at unsampled locations are averaged over this posterior, so the predictive intervals reflect both spatial dependence and uncertainty about the covariance parameters.

The intuition behind the method

Classical kriging fits the covariance parameters, typically from an empirical variogram, and then predicts as if those fitted values were exact. Bayesian kriging treats the parameters as uncertain, describes them with probability distributions, and averages each prediction over the parameter values the data leave plausible. Where data are sparse the parameters are poorly determined, so the predictive intervals widen; where data are dense they narrow toward the plug-in result. These are posterior predictive intervals, not classical confidence intervals, and should be reported as such.

History

Handcock and Stein (1993) analysed best linear unbiased prediction for Gaussian random fields within a Bayesian framework, paying attention to uncertainty in the covariance parameters, and illustrated the approach with topographical data from Davis. Diggle, Tawn and Moyeed (1998) extended the approach to non-Gaussian data in the Journal of the Royal Statistical Society Series C, treating observations as generalised linear model responses given an unobserved spatial process and using MCMC for inference. This framework is known as model-based geostatistics.

When to use it

Choose Bayesian kriging when spatial interpolation is needed and the uncertainty of the predictions matters, especially when the sample is small or irregular so that the covariance parameters are poorly determined. It suits settings with non-Gaussian outcomes such as counts or prevalence, and settings where prior information about the spatial range or variance is available. Avoid it when computation is tightly limited: MCMC becomes slow for large datasets, beyond a few thousand points, unless sparse-matrix or approximation methods such as INLA are used. Also avoid it when the process is clearly non-stationary over a large domain, or when the analysis must be simple enough for non-specialists to reproduce without Bayesian software.

Limitations and considerations

  • MCMC cost rises steeply with the number of observations; the method becomes slow beyond a few thousand points without sparse-matrix or approximation techniques such as INLA.
  • With sparse data the range is weakly identified, so the posterior and the predictions depend on the prior, and a prior sensitivity analysis is needed.
  • The default model is stationary and isotropic; non-stationary extensions add substantial complexity.
  • Implementation requires specialist software (the R packages geoR, spBayes and R-INLA, or Stan for custom models) and Bayesian expertise to specify and check the model.

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

Strengths

  • Carries uncertainty in the covariance parameters into the predictive intervals, rather than conditioning on a single fitted variogram.
  • Allows prior information about the spatial range, variance or nugget, for example from earlier studies, to be stated explicitly.
  • Produces full posterior predictive distributions, so exceedance probabilities can be mapped directly.
  • Extends to non-Gaussian responses such as counts or binomial prevalence through a generalised linear model with a latent spatial process, as in the radioactivity and campylobacter applications of Diggle et al. (1998).
  • Gives a formal treatment of covariance uncertainty when the sample is small and classical variogram fitting is unstable; how much this helps depends on the priors (see limitations).

Applications

  • Environmental contamination: modelling residual radioactivity counts on a South Pacific island, as in Diggle et al. (1998), where counts were conditioned on an unobserved spatially varying intensity.
  • Disease risk mapping: estimating a spatial relative-risk surface for campylobacter infections in north Lancashire and south Cumbria, as in Diggle et al. (1998), treating counts as binomial.
  • Gap-filling and interpolation of environmental or climate measurements from sparse monitoring networks, where predictive intervals are required.
  • Mineral exploration and geological mapping, where probabilistic maps inform decisions under uncertainty about the covariance parameters.

How it works

How it works

1

Prior distributions are assigned to the mean coefficients β, the variance σ², and the spatial range or decay parameter φ of the covariance function. These priors state assumptions about plausible magnitudes before the data are seen, and their influence is strongest when the data are sparse.

Formula
p(\beta, \sigma^2, \phi) \propto p(\beta)\, p(\sigma^2)\, p(\phi)
2

The observations Y are modelled as multivariate Gaussian with mean Xβ and covariance σ²Σ(φ), where Σ(φ) is a parametric spatial correlation matrix (for example Matérn or exponential) encoding the spatial autocorrelation. For non-Gaussian outcomes such as counts, Diggle et al. (1998) replace this likelihood with a generalised linear model conditional on an unobserved spatial process.

Formula
\mathbf{Y} \mid \beta, \sigma^2, \phi \sim \mathcal{N}(X\beta,\; \sigma^2 \Sigma(\phi))
3

Bayes' theorem combines the likelihood and the priors into the joint posterior of all parameters. This posterior generally has no closed form, so it is usually sampled by MCMC (for example Metropolis-Hastings or Hamiltonian Monte Carlo) or approximated by integrated nested Laplace approximation (INLA). Sampler convergence must be checked before the posterior is used.

Formula
p(\beta, \sigma^2, \phi \mid \mathbf{Y}) \propto p(\mathbf{Y} \mid \beta, \sigma^2, \phi)\, p(\beta, \sigma^2, \phi)
4

Here θ denotes the full parameter vector (β, σ², φ). The predictive distribution at a new location Y0 is the conditional distribution given the data and θ, averaged over the posterior p(θ | Y). This averaging carries parameter uncertainty into the prediction, so the intervals are wider than those from a plug-in prediction that fixes θ at a point estimate.

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

The output is a posterior predictive distribution at each target location. Point predictions are taken as the posterior mean or median, and credible intervals (for example 95%) are read from posterior samples or the approximation. The intervals are only as reliable as the chosen priors and covariance model, so sensitivity to these choices should be checked.

Formula
Y_0^{(k)} \sim p(Y_0 \mid \mathbf{Y}, \theta^{(k)}), \quad k = 1, \dots, K; \qquad \hat{Y}_0 = \operatorname{mean}_k\, Y_0^{(k)}; \qquad \text{CI}_{95\%} = \big[\operatorname{quantile}_{\alpha/2}(Y_0^{(k)}),\ \operatorname{quantile}_{1-\alpha/2}(Y_0^{(k)})\big], \; 1-\alpha = 0.95

Common pitfalls

  • Using vague or improper priors on the range can make the posterior improper or cause poor MCMC mixing.
  • Accepting MCMC output without checking trace plots, R-hat and effective sample size.
  • Fitting the stationary isotropic model without checking for directional anisotropy or large-scale spatial trend, which violates its assumptions.
  • Reporting posterior predictive intervals as classical confidence intervals, or the reverse; the two have different interpretations.

Frequently asked questions

How does Bayesian Kriging differ from ordinary kriging?

Ordinary kriging treats the fitted variogram parameters as known constants when predicting. Bayesian kriging treats them as uncertain and averages predictions over their posterior distribution, giving wider predictive intervals, most noticeably when data are sparse.

What software can I use for Bayesian Kriging?

Options include the R packages geoR, spBayes and R-INLA, and Stan for fully custom models. Check each package's documentation for the model classes it supports.

When should I use INLA instead of MCMC for Bayesian Kriging?

INLA is generally much faster than full MCMC for large spatial datasets (thousands to tens of thousands of observations) and is accurate for latent Gaussian models. MCMC offers more modelling flexibility and is preferable when the Gaussian latent-field assumption does not hold.

Can Bayesian Kriging handle non-Gaussian outcomes such as count data?

Yes. The model-based geostatistics framework replaces the Gaussian likelihood with a Poisson, binomial, or other exponential-family distribution linked to a Gaussian spatial latent field, enabling interpolation of disease counts, prevalence proportions, or similar outcomes.

How sensitive are results to the choice of prior on the spatial range?

The range parameter is often poorly identified in small datasets, so results can be sensitive to its prior. Run sensitivity analyses with different priors and, where possible, elicit informative priors from domain knowledge or pilot studies.

Related methods

Sources

  1. Diggle, P. J., Tawn, J. A., & Moyeed, R. A. (1998). Model-based geostatistics. Journal of the Royal Statistical Society: Series C (Applied Statistics), 47(3), 299–350.

    Open DOI reference
  2. Handcock, M. S., & Stein, M. L. (1993). A Bayesian analysis of kriging. Technometrics, 35(4), 403–410.

    Open DOI reference