Kriging
In statistics, originally in geostatistics, kriging or Gaussian process regression is a method of interpolation for which the interpolated values are modeled by a Gaussian process governed by prior covariances, as opposed say to a piecewise-polynomial spline chosen to optimize smoothness of the fitted values. Under suitable assumptions on the priors, kriging gives the best linear unbiased prediction of the intermediate values. Interpolating methods based on other criteria such as smoothness need not yield the most likely intermediate values. The method is widely used in the domain of spatial analysis and computer experiments. The technique is also known as Kolmogorov Wiener prediction.
The theoretical basis for the method was developed by the French mathematician Georges Matheron based on the Master's thesis of Danie G. Krige, the pioneering plotter of distance-weighted average gold grades at the Witwatersrand reef complex in South Africa. Krige sought to estimate the most likely distribution of gold based on samples from a few boreholes. The English verb is to krige and the most common noun is kriging; both are often pronounced with a hard "g", following the pronunciation of the name "Krige".
Main principles
Related terms and techniques
The basic idea of kriging is to predict the value of a function at a given point by computing a weighted average of the known values of the function in the neighborhood of the point. The method is mathematically closely related to regression analysis. Both theories derive a best linear unbiased estimator, based on assumptions on covariances, make use of Gauss-Markov theorem to prove independence of the estimate and error, and make use of very similar formulae. They are nevertheless, useful in different frameworks: kriging is made for estimation of a single realization of a random field, while regression models are based on multiple observations of a multivariate dataset.
The kriging estimation may also be seen as a spline in a reproducing kernel Hilbert space, with reproducing kernel given by the covariance function.[1] The difference with the classical kriging approach is provided by the interpretation: while the spline is motivated by a minimum norm interpolation based on a Hilbert space structure, kriging is motivated by an expected squared prediction error based on a stochastic model.
Kriging with polynomial trend surfaces is mathematically identical to generalized least squares polynomial curve fitting.
Kriging can also be understood as a form of Bayesian inference.[2] Kriging starts with a prior distribution over functions. This prior takes the form of a Gaussian process: samples from a function will be normally distributed, where the covariance between any two samples is the covariance function (or kernel) of the Gaussian process evaluated at the spatial location of two points. A set of values is then observed, each value associated with a spatial location. Now, a new value can be predicted at any new spatial location, by combining the Gaussian prior with a Gaussian likelihood function for each of the observed values. The resulting posterior distribution is also Gaussian, with a mean and covariance that can be simply computed from the observed values, their variance, and the kernel matrix derived from the prior.
Geostatistical estimator
In geostatistical models, sampled data is interpreted as a result of a random process. The fact that this models incorporate uncertainty in its conceptualization doesn't mean that the phenomenon - the forest, the aquifer, the mineral deposit - has resulted from a random process, but solely allows to build a methodological basis for the spatial inference of quantities in unobserved locations and to the quantification of the uncertainty associated with the estimator.
A stochastic process is simply, in the context of this model, a way to approach the set of data collected from the samples. The first step in geostatistical modulation is the creation of a random process that best describes the set of experimental observed data.[3]
A value spatially located at (generic denomination of a set of geographic coordinates) is interpreted as a realization of the random variable . In the space , where the set of samples is dispersed, exists realizations of the random variables , correlated between themselves.
The set of random variables, constitutes a random function of which only one realization is known - the set of experimental data. With only one realization of each random variable it's theoretically impossible to determine any statistical parameter of the individual variables or the function.
- The proposed solution in the geostatistical formalism consists in assuming various degrees of stationarity in the random function, in order to make possible the inference of some statistic values.[4]
For instance, if a workgroup of scientists assumes appropriate, based on the homogeneity of samples in area where the variable is distributed, the hypothesis that the first moment is stationary (i.e. all random variables have the same mean), than, they are implying that the mean can be estimated by the arithmetic mean of sampled values. Judging an hypothesis like this as appropriate is the same as considering that sample values are sufficiently homogeneous to validate that representativity.
The hypothesis of stationarity related to the second moment is defined in the following way: the correlation between two random variables solely depends on the spatial distance that separates them and is independent of its location:
where
This hypothesis allows to infer those two measures - the variogram and the covariogram - based on the samples:
where
Linear estimation
Spatial inference, or estimation, of a quantity , at an unobserved location , is calculated from a linear combination of the observed values and weights :
The weights are intended to summarize two extremely important procedures in a spatial inference process:
- reflect the structural "proximity" of samples to the estimation location,
- at the same time, they should have a desegregation effect, in order to avoid bias caused by eventual sample clusters
When calculating the weights , there are two objectives in the geostatistical formalism: unbias and minimal variance of estimation.
If the cloud of real values is plotted against the estimated values , the criterion for global unbias, intrinsic stationarity or wide sense stationarity of the field, implies that the mean of the estimations must be equal to mean of the real values.
The second criterion says that the mean of the squared deviations must be minimal, which means that when the cloud of estimated values versus the cloud real values is more disperse, the estimator is more imprecise.
Methods
Depending on the stochastic properties of the random field and the various degrees of stationarity assumed, different methods for calculating the weights can be deducted, i.e. different types of kriging apply. Classical methods are:
- Ordinary kriging assumes stationarity of the first moment of all random variables: , where is unknown.
- Simple kriging assumes a known stationary mean: , where is known.
- Universal kriging assumes a general polynomial trend model, such as linear trend model .
- IRFk-kriging assumes to be an unknown polynomial in .
- Indicator kriging uses indicator functions instead of the process itself, in order to estimate transition probabilities.
- Multiple-indicator kriging is a version of indicator kriging working with a family of indicators. However, MIK has fallen out of favour as an interpolation technique in recent years. This is due to some inherent difficulties related to operation and model validation. Conditional simulation is fast becoming the accepted replacement technique in this case.
- Disjunctive kriging is a nonlinear generalisation of kriging.
- Lognormal kriging interpolates positive data by means of logarithms.
Ordinary kriging
The unknown value is interpreted as a random variable located in , as well as the values of neighbors samples . The estimator is also interpreted as a random variable located in , a result of the linear combination of variables.
In order to deduce the kriging system for the assumptions of the model, the following error committed while estimating in is declared:
The two quality criteria referred previously can now be expressed in terms of the mean and variance of the new random variable :
Unbias
Since the random function is stationary, , the following constraint is observed:
In order to ensure that the model is unbiased, the sum of weights needs to be one.
Minimal Variance: minimize
Two estimators can have , but the dispersion around their mean determines the difference between the quality of estimators.
* see covariance matrix for a detailed explanation
* where the literals stand for .
Once defined the covariance model or variogram, or , valid in all field of analysis of , than we can write an expression for the estimation variance of any estimator in function of the covariance between the samples and the covariances between the samples and the point to estimate:
Some conclusions can be asserted from this expressions. The variance of estimation:
- is not quantifiable to any linear estimator, once the stationarity of the mean and of the spatial covariances, or variograms, are assumed.
- grows with the covariance between samples , i.e. to the same distance to the estimating point, if the samples are proximal to each other, than the clustering effect, or informational redundancy, is bigger, so the estimation is worst. This conclusion is valid to any value of the weights: a preferential grouping of samples is always worst, which means that for the same number of samples the estimation variance grows with the relative weight of the sample clusters.
- grows when the covariance between the samples and the point to estimate decreases. This means that, when the samples are more far away from , the worst is the estimation.
- grows with the a priori variance of the variable . When the variable is less disperse, the variance is lower in any point of the area .
- does not depend on the values of the samples. This means that the same spatial configuration (with the same geometrical relations between samples and the point to estimate) always reproduces the same estimation variance in any part of the area . This way, the variance does not measures the uncertainty of estimation produced by the local variable.
Kriging system
Solving this optimization problem (see Lagrange multipliers) results in the kriging system:
the additional parameter is a Lagrange multiplier used in the minimization of the kriging error to honor the unbiasedness condition.
Simple kriging
this section is very poor and needs to be improved |
Simple kriging is mathematically the simplest, but the least general. It assumes the expectation of the random field to be known, and relies on a covariance function. However, in most applications neither the expectation nor the covariance are known beforehand.
The practical assumptions for the application of simple kriging are:
- wide sense stationarity of the field.
- The expectation is zero everywhere: .
- Known covariance function
Kriging system
The kriging weights of simple kriging have no unbiasedness condition and are given by the simple kriging equation system:
This is analogous to a linear regression of on the other .
Estimation
The interpolation by simple kriging is given by:
The kriging error is given by:
which leads to the generalised least squares version of the Gauss-Markov theorem (Chiles & Delfiner 1999, p. 159):
Properties
this section needs revision. Incorrect or confusing text should be removed. |
(Cressie 1993, Chiles&Delfiner 1999, Wackernagel 1995)
- The kriging estimation is unbiased:
- The kriging estimation honors the actually observed value: (assuming no measurement error is incurred)
- The kriging estimation is the best linear unbiased estimator of if the assumptions hold. However (e.g. Cressie 1993):
- As with any method: If the assumptions do not hold, kriging might be bad.
- There might be better nonlinear and/or biased methods.
- No properties are guaranteed, when the wrong variogram is used. However typically still a 'good' interpolation is achieved.
- Best is not necessarily good: e.g. In case of no spatial dependence the kriging interpolation is only as good as the arithmetic mean.
- Kriging provides as a measure of precision. However this measure relies on the correctness of the variogram.
Applications
this section is very poor and needs to be improved |
Although kriging was developed originally for applications in geostatistics, it is a general method of statistical interpolation that can be applied within any discipline to sampled data from random fields that satisfy the appropriate mathematical assumptions.
To date kriging has been used in a variety of disciplines, including the following:
- Environmental science[5]
- Hydrogeology[6][7][8]
- Mining[9][10]
- Natural resources[11][12]
- Remote sensing[13]
- Real estate appraisal[14][15]
and many others.
Design and analysis of computer experiments
Another very important and rapidly growing field of application, in engineering, is the interpolation of data coming out as response variables of deterministic computer simulations,[16] e.g. finite element method (FEM) simulations. In this case, kriging is used as a metamodeling tool, i.e. a black box model built over a designed set of computer experiments. In many practical engineering problems, such as the design of a metal forming process, a single FEM simulation might be several hours or even a few days long. It is therefore more efficient to design and run a limited number of computer simulations, and then use a kriging interpolator to rapidly predict the response in any other design point. Kriging is therefore used very often as a so-called surrogate model, implemented inside optimization routines.[17]
See also
- Bayes linear statistics
- Gaussian process
- Multiple-indicator kriging
- Spatial dependence
- Variogram
- Multivariate interpolation
References
- ^ Grace Wahba (1990). Spline Models for Observational Data. Vol. 59. SIAM. p. 162.
- ^ Williams, Christopher K.I. (1998). "Prediction with Gaussian processes: From linear regression to linear prediction and beyond". In M. I. Jordan (ed.). Learning in graphical models. MIT Press. pp. 599–612.
- ^ Soares 2006, p.18
- ^ Matheron G. 1978
- ^ Hanefi Bayraktar and F. Sezer. Turalioglu (2005) "A Kriging-based approach for locating a sampling site—in the assessment of air quality, SERRA, 19 (4), 301-305 doi:10.1007/s00477-005-0234-8
- ^ Chiles, J.-P. and P. Delfiner (1999) Geostatistics, Modeling Spatial Uncertainty, Wiley Series in Probability and statistics.
- ^ Zimmerman, D.A. et al. (1998) "A comparison of seven geostatistically based inverse approaches to estimate transmissivies for modelling advective transport by groundwater flow", Water Resources Research, 34 (6), 1273-1413
- ^ Tonkin M.J. Larson (2002) "Kriging Water Levels with a Regional-Linear and Point Logarithmic Drift", Ground Water, 33 (1), 338-353,
- ^ Journel, A.G. and C.J. Huijbregts (1978) Mining Geostatistics, Academic Press London
- ^ Andrew Richmond (2003) "Financially Efficient Ore Selection Incorporating Grade Uncertainty", Mathematical Geology, 35 (2), 195-215
- ^ Goovaerts (1997) Geostatistics for natural resource evaluation, OUP. ISBN 0-19-511538-4
- ^ X. Emery (2005) "Simple and Ordinary Kriging Multigaussian Kriging for Estimating recoverarble Reserves", Mathematical Geology, 37 (3), 295-31)
- ^ A. Stein, F. van der Meer, B. Gorte (Eds.) (2002) Spatial Statistics for remote sensing. Springer. ISBN 0-7923-5978-X
- ^ Barris, J. (2008) An expert system for appraisal by the method of comparison. PhD Thesis, UPC, Barcelona
- ^ Barris, J. and Garcia Almirall,P.(2010) A density function of the appraisal value., UPC, Barcelona
- ^ Sacks, J. and Welch, W.J. and Mitchell, T.J. and Wynn, H.P. (1989). Design and Analysis of Computer Experiments. Vol. 4. Statistical Science. pp. 409–435.
{{cite book}}
: CS1 maint: multiple names: authors list (link) - ^ Attention: This template ({{cite doi}}) is deprecated. To cite the publication identified by doi:10.1007/s12289-008-0001-8, please use {{cite journal}} (if it was published in a bona fide academic journal, otherwise {{cite report}} with
|doi=10.1007/s12289-008-0001-8
instead.
Books
- Abramowitz, M., and Stegun, I. (1972), Handbook of Mathematical Functions, Dover Publications, New York.
- Banerjee, S., Carlin, B.P. and Gelfand, A.E. (2004). Hierarchical Modeling and Analysis for Spatial Data. Chapman and Hall/CRC Press, Taylor and Francis Group.
- Chiles, J.-P. and P. Delfiner (1999) Geostatistics, Modeling Spatial uncertainty, Wiley Series in Probability and statistics.
- Cressie, N (1993) Statistics for spatial data, Wiley, New York
- David, M (1988) Handbook of Applied Advanced Geostatistical Ore Reserve Estimation, Elsevier Scientific Publishing
- Deutsch, C.V., and Journel, A. G. (1992), GSLIB - Geostatistical Software Library and User's Guide, Oxford University Press, New York, 338 pp.
- Goovaerts, P. (1997) Geostatistics for Natural Resources Evaluation, Oxford University Press, New York ISBN 0-19-511538-4
- Isaaks, E. H., and Srivastava, R. M. (1989), An Introduction to Applied Geostatistics, Oxford University Press, New York, 561 pp.
- Journel, A. G. and C. J. Huijbregts (1978) Mining Geostatistics, Academic Press London
- Journel, A. G. (1989), Fundamentals of Geostatistics in Five Lessons, American Geophysical Union, Washington D.C.
- Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP (2007), "Section 3.7.4. Interpolation by Kriging", Numerical Recipes: The Art of Scientific Computing (3rd ed.), New York: Cambridge University Press, ISBN 978-0-521-88068-8. Also, "Section 15.9. Gaussian Process Regression".
- Soares, A. (2000), Geoestatística para as Ciências da Terra e do Ambiente, IST Press, Lisbon, ISBN 972-8469-46-2
- Stein, M. L. (1999), Statistical Interpolation of Spatial Data: Some Theory for Kriging, Springer, New York.
- Wackernagel, H. (1995) Multivariate Geostatistics - An Introduction with Applications, Springer Berlin
Historical references
- Agterberg, F P, Geomathematics, Mathematical Background and Geo-Science Applications, Elsevier Scientific Publishing Company, Amsterdam, 1974
- Cressie, N. A. C., The Origins of Kriging, Mathematical Geology, v. 22, pp 239–252, 1990
- Krige, D.G, A statistical approach to some mine valuations and allied problems at the Witwatersrand, Master's thesis of the University of Witwatersrand, 1951
- Link, R F and Koch, G S, Experimental Designs and Trend-Surface Analsysis, Geostatistics, A colloquium, Plenum Press, New York, 1970
- Matheron, G., "Principles of geostatistics", Economic Geology, 58, pp 1246–1266, 1963
- Matheron, G., "The intrinsic random functions, and their applications", Adv. Appl. Prob., 5, pp 439–468, 1973
- Merriam, D F, Editor, Geostatistics, a colloquium, Plenum Press, New York, 1970
Software related to kriging
- R packages
- BACCO - Bayesian analysis of computer code software
- tgp - Treed Gaussian processes
- DiceDesign, DiceEval, DiceKriging, DiceOptim - metamodeling packages of the Dice Consortium.
- Matlab/GNU Octave
- mGstat - Geostistics toolbox for Matlab.
- DACE - Design and Analysis of Computer Experiments. A matlab kriging toolbox.
- GPML - Gaussian Processes for Machine Learning.
- STK - Small (Matlab/GNU Octave) Toolbox for Kriging for design and analysis of computer experiments.
- scalaGAUSS - Matlab kriging toolbox with a focus on large datasets
- Scilab
- DACE-Scilab - Scilab port of the DACE kriging matlab toolbox
- krigeage - Kriging toolbox for Scilab
- KRISP - Kriging based regression and optimization package for Scilab
- Python
- scikit-learn - machine learning in Python