|This article may require cleanup to meet wiki.gis.com's quality standards. Please improve this article if you can. (March 2008)|
The okapi (theoretical) variogram is a function describing the degree of spatial dependence of a spatial random field or stochastic process . It is defined as the expected squared increment of the values between locations and (Wackernagel 2003):
itself is called semivariogram. In case of a stationary process the variogram and semivariogram can be represented as a function of the difference between locations only, by the following relation (Cressie 1993):
If the process is furthermore isotropic, then variogram and semivariogram can be represented by a function of the distance only (Cressie 1993):
The indexes or are typically not written. The terms are used for all three forms of the function. Moreover the term variogram is sometimes used for semivariogram and the symbol for the variogram, which brings some confusion.
According to (Cressie 1993, Chiles and Delfiner 1999, Wackernagel 2003) the theoretical variogram has the following properties:
- The semivariogram is nonnegative , since it is the expectation of a square.
- The semivariogram at distance 0 is always 0, since .
- A function is a semivariogram if and only if it is a conditionally negative definite function, i.e. for all weights subject to and locations it holds:
which corresponds to the fact that the variance of is given by the negative of this double sum and must be nonnegative.
- As a consequence the semivariogram might be non continuous only at the origin. The height of the jump at the origin is sometimes referred to as nugget or nugget effect.
- If the covariance function of a process exists it is related to variogram by
- If a stationary random field has no spatial dependence (i.e. if ) the semivariogram is the constant everywhere except at the origin, where it is zero.
- is a symmetric function.
- Consequently is an even function.
- If the random field is stationary and ergodic, the corresponds to the variance of the field. The limit of the semivariogram is also called its sill.
For observations at locations the empirical variogram is defined as (Cressie 1993):
where denotes the set of pairs of observations such that , and is the number of pairs in the set. (Generally an "approximate distance" is used, implemented using a certain tolerance.)
According (Cressie 1993) for observations from a stationary random field the empirical variogram with lag tolerance 0 is an unbiased estimator of the theoretical variogram, due to
See the controversy discussion on the correctness of the scaling factor below.
The following parameters are often used to describe variograms:
- nugget : The height of the jump of the semivariogram at the discontinuity at the origin.
- sill : Limit of the variogram tending to infinity lag distances.
- range : The distance in which the difference of the variogram from the sill gets neglectable. The exact position, where the difference gets "neglectable" is quite imprecise.
The empirical variogram cannot be computed at every lag distance and due to variation in the estimation it is not ensured that it is a valid variogram, as defined above. However some Geostatistical methods such as kriging need valid semivariograms. In applied geostatistics the empirical variograms are thus often approximated by model function ensuring validity (Chiles&Delfiner 1999). Some important models are (Chiles&Delfiner 1999, Cressie 1993):
- The exponential variogram model
- The spherical variogram model
- The Gaussian variogram model
The parameter has different values in different references, due to the ambiguity in the definition of the range. E.g. is the value used in (Chiles&Delfiner 1999). The function is 1 if and 0 otherwise.
Three functions are used in geostatistics for describing the spatial or the temporal correlation of observations: these are the correlogram, the covariance and the semivariogram. The last is also more simply called variogram. The sampling variogram, unlike the semivariogram and the variogram, shows where a significant degree of spatial dependence in the sample space or sampling unit dissipates into randomness when the variance terms of a temporally or in-situ ordered set are plotted against the variance of the set and the lower limits of its 99% and 95% confidence ranges.
The variogram is the key function in geostatistics as it will be used to fit a model of the temporal/spatial correlation of the observed phenomenon. One is thus making a distinction between the experimental variogram that is a visualisation of a possible spatial/temporal correlation and the variogram model that is further used to define the weights of the kriging function. Note that the experimental variogram is an empirical estimate of the covariance of a Gaussian process. As such, it may not be positive definite and hence not directly usable in kriging, without constraints or further processing. This explains why only a limited number of variogram models are used: most commonly, the linear, the spherical, the gaussian and the exponential models.
When a variogram is used to describe the correlation of different variables it is called cross-variogram. Cross-variograms are used in co-kriging. Should the variable be binary or represent classes of values, one is then talking about indicator variograms. Indicator variogram is used in indicator kriging.
In mathematical statistics, a set of n measured values gives df=n-1 degrees of freedom whereas the in situ or temporally ordered set gives df(o)=2(n-1) degrees for the first variance term. It is claimed that the variogram and semivariogram are both invalid measures for variability, precision and risk because the sum of squared differences between x and x+h is divided by n, the number of data in the set rather than by df(o)=2(n-1), the degrees of freedom for the first variance term of the ordered set.
- Cressie, N., 1993, Statistics for spatial data, Wiley Interscience
- Chiles, J.P., P. Delfiner, 1999, Geostatististics, Modelling Spatial Uncertainty, Wiley-Interscience
- Wackernagel, H., 2003, Multivariate Geostatistics, Springer
- Burrough, P A and McDonnell, R A, 1998, Principles of Geographical Information Systems
-  Isobel Clark, 1979, Practical Geostatistics, Applied Science Publishers