Variogram Explained

In spatial statistics the theoretical variogram, denoted

2\gamma(s1,s2)

, is a function describing the degree of spatial dependence of a spatial random field or stochastic process

Z(s)

. The semivariogram

\gamma(s1,s2)

is half the variogram.

In the case of a concrete example from the field of gold mining, a variogram will give a measure of how much two samples taken from the mining area will vary in gold percentage depending on the distance between those samples. Samples taken far apart will vary more than samples taken close to each other.

Definition

The semivariogram

\gamma(h)

was first defined by Matheron (1963) as half the average squared difference between the values at points (

s1

and

s2

) separated at distance

h

.[1] [2] Formally
\gamma(h)=1
2V

\iiintV\left[f(M+h)-f(M)\right]2dV,

where

M

is a point in the geometric field

V

, and

f(M)

is the value at that point. The triple integral is over 3 dimensions.

h

is the separation distance (e.g., in meters or km) of interest. For example, the value

f(M)

could represent the iron content in soil, at some location

M

(with geographic coordinates of latitude, longitude, and elevation) over some region

V

with element of volume

dV

.To obtain the semivariogram for a given

\gamma(h)

, all pairs of points at that exact distance would be sampled. In practice it is impossible to sample everywhere, so the empirical variogram is used instead.

The variogram is twice the semivariogram and can be defined, equivalently, as the variance of the difference between field values at two locations (

s1

and

s2

, note change of notation from

M

to

s

and

f

to

Z

) across realizations of the field (Cressie 1993):

2\gamma(s1,s2)=var\left(Z(s1)-Z(s2)\right)=E\left[((Z(s1)-Z(s2))-E[Z(s1)-Z(s2)])2\right].

If the spatial random field has constant mean

\mu

, this is equivalent to the expectation for the squared increment of the values between locations

s1

and

s2

(Wackernagel 2003) (where

s1

and

s2

are points in space and possibly time):

2\gamma(s1,s2)=E\left[\left(Z(s1)-Z(s

2\right]
2)\right)

.

In the case of a stationary process, the variogram and semivariogram can be represented as a function

\gammas(h)=\gamma(0,0+h)

of the difference

h=s2-s1

between locations only, by the following relation (Cressie 1993):

\gamma(s1,s2)=\gammas(s2-s1).

If the process is furthermore isotropic, then the variogram and semivariogram can be represented by a function

\gammai(h):=\gammas(he1)

of the distance

h=\|s2-s1\|

only (Cressie 1993):

\gamma(s1,s2)=\gammai(h).

The indexes

i

or

s

are typically not written. The terms are used for all three forms of the function. Moreover, the term "variogram" is sometimes used to denote the semivariogram, and the symbol

\gamma

is sometimes used for the variogram, which brings some confusion.[3]

Properties

According to (Cressie 1993, Chiles and Delfiner 1999, Wackernagel 2003) the theoretical variogram has the following properties:

\gamma(s1,s2)\geq0

, since it is the expectation of a square.

\gamma(s1,s1)=\gammai(0)=E\left((Z(s1)-Z(s

2\right)=0
1))
at distance 0 is always 0, since

Z(s1)-Z(s1)=0

.

w1,\ldots,wN

subject to
N
\sum
i=1

wi=0

and locations

s1,\ldots,sN

it holds:
N
\sum
j=1

wi\gamma(si,sj)wj\leq0

which corresponds to the fact that the variance

var(X)

of
N
X=\sum
i=1

wiZ(xi)

is given by the negative of this double sum and must be nonnegative.

2\gamma(s1,s2)=C(s1,s1)+C(s2,s2)-2C(s1,s2)

C(h)=0

if

h\not=0

), the semivariogram is the constant

var(Z(s))

everywhere except at the origin, where it is zero.

\gamma(s1,s2)=E\left[|Z(s1)-Z(s

2\right]=\gamma(s
2,s

1)

is a symmetric function.

\gammas(h)=\gammas(-h)

is an even function.

\limh\to\gammas(h)=var(Z(s))

corresponds to the variance of the field. The limit of the semivariogram is also called its sill.

Parameters

In summary, the following parameters are often used to describe variograms:

n

: The height of the jump of the semivariogram at the discontinuity at the origin.

s

: Limit of the variogram tending to infinity lag distances.

r

: The distance in which the difference of the variogram from the sill becomes negligible. In models with a fixed sill, it is the distance at which this is first reached; for models with an asymptotic sill, it is conventionally taken to be the distance when the semivariance first reaches 95% of the sill.

Empirical variogram

Generally, an empirical variogram is needed for measured data, because sample information

Z

is not available for every location. The sample information for example could be concentration of iron in soil samples, or pixel intensity on a camera. Each piece of sample information has coordinates

s=(x,y)

for a 2D sample space where

x

and

y

are geographical coordinates. In the case of the iron in soil, the sample space could be 3 dimensional. If there is temporal variability as well (e.g., phosphorus content in a lake) then

s

could be a 4 dimensional vector

(x,y,z,t)

. For the case where dimensions have different units (e.g., distance and time) then a scaling factor

B

can be applied to each to obtain a modified Euclidean distance.[4]

Sample observations are denoted

Z(si)=zi

. Samples may be taken at

k

total different locations. This would provide as set of samples

z1,\ldots,zk

at locations

s1,\ldots,sk

. Generally, plots show the semivariogram values as a function of sample point separation

h

. In the case of empirical semivariogram, separation distance bins

h\pm\delta

are used rather than exact distances, and usually isotropic conditions are assumed (i.e., that

\gamma

is only a function of

h

and does not depend on other variables such as center position). Then, the empirical semivariogram

\hat{\gamma}(h\pm\delta)

can be calculated for each bin:

\hat{\gamma}(h\pm\delta):=

1
2|N(h\pm\delta)|

\sum(i,j)\in|zi-z

2
j|

Or in other words, each pair of points separated by

h

(plus or minus some bin width tolerance range

\delta

) are found. These form the set of points

N(h\pm\delta)\equiv\{(si,sj):|si,sj|=h\pm\delta;i,j=1,\ldots,N\}

. The number of these points in this bin is

|N(h\pm\delta)|

. Then for each pair of points

i,j

, the square of the difference in the observation (e.g., soil sample content or pixel intensity) is found (

|zi-z

2
j|
). These squared differences are added together and normalized by the natural number

|N(h\pm\delta)|

. By definition the result is divided by 2 for the semivariogram at this separation.

For computational speed, only the unique pairs of points are needed. For example, for 2 observations pairs [<math>(z_a,z_b),(z_c,z_d)</math>] taken from locations with separation

h\pm\delta

only [<math>(z_a,z_b),(z_c,z_d)</math>] need to be considered, as the pairs [<math>(z_b,z_a),(z_d,z_c)</math>] do not provide any additional information.

Variogram models

The empirical variogram cannot be computed at every lag distance

h

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):

\gamma(h)=(s-n)(1-\exp(-h/(ra)))+n1(0,infty)(h).

\gamma(h)=(s-n)\left(\left(3h-
2r
h3
2r3

\right)1(0,r)(h)+1[r,infty)(h)\right)+n1(0,infty)(h).

\gamma(h)=(s-n)\left(1-\exp\left(-h2
r2a

\right)\right)+n1(0,infty)(h).

The parameter

a

has different values in different references, due to the ambiguity in the definition of the range. E.g.

a=1/3

is the value used in (Chiles&Delfiner 1999). The

1A(h)

function is 1 if

h\inA

and 0 otherwise.

Discussion

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 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 visualization 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.

Applications

The empirical variogram is used in geostatistics as a first estimate of the variogram model needed for spatial interpolation by kriging.

Related concepts

The squared term in the variogram, for instance

(Z(s1)-

2
Z(s
2))
, can be replaced with different powers: A madogram is defined with the absolute difference,

|Z(s1)-Z(s2)|

, and a rodogram is defined with the square root of the absolute difference,

|Z(s1)-

0.5
Z(s
2)|
. Estimators based on these lower powers are said to be more resistant to outliers. They can be generalized as a "variogram of order α",

2\gamma(s1,s2)=E\left[\left|Z(s1)-Z(s

\alpha\right]
2)\right|
,

in which a variogram is of order 2, a madogram is a variogram of order 1, and a rodogram is a variogram of order 0.5.[8]

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 variograms are used in indicator kriging.

Further reading

External links

Notes and References

  1. Matheron. Georges. Principles of geostatistics. Economic Geology. 58. 8. 1963. 1246–1266. 1554-0774. 10.2113/gsecongeo.58.8.1246.
  2. Web site: The Empirical Variogram . Ford . David . faculty.washington.edu/edford . 31 October 2017 .
  3. Bachmaier . Martin . Backes . Matthias . Variogram or semivariogram? Understanding the variances in a variogram . Precision Agriculture . Springer Science and Business Media LLC . 9 . 3 . 2008-02-24 . 1385-2256 . 10.1007/s11119-008-9056-2 . 173–175.
  4. Nguyen. H.. Osterman. G.. Wunch. D.. O'Dell. C.. Mandrake. L.. Wennberg. P.. Fisher. B.. Castano. R.. A method for colocating satellite XCO2 data to ground-based data and its application to ACOS-GOSAT and TCCON. Atmospheric Measurement Techniques. 7. 8. 2014. 2631–2644. 1867-8548. 10.5194/amt-7-2631-2014. 2014AMT.....7.2631N. free.
  5. Arregui Mena . J.D. . etal . 2018 . Characterisation of the spatial variability of material properties of Gilsocarbon and NBG-18 using random fields . Journal of Nuclear Materials . 511 . 91–108. 10.1016/j.jnucmat.2018.09.008. 2018JNuM..511...91A . free .
  6. Schiappapietra. Erika. Douglas. John. April 2020. Modelling the spatial correlation of earthquake ground motion: Insights from the literature, data from the 2016–2017 Central Italy earthquake sequence and ground-motion simulations. Earth-Science Reviews. en. 203. 103139. 10.1016/j.earscirev.2020.103139. 2020ESRv..20303139S.
  7. Sokolov. Vladimir. Wenzel. Friedemann. 2011-07-25. Influence of spatial correlation of strong ground motion on uncertainty in earthquake loss estimation. Earthquake Engineering & Structural Dynamics. en. 40. 9. 993–1009. 10.1002/eqe.1074.
  8. Book: Olea, Ricardo A. . Geostatistical Glossary and Multilingual Dictionary . 47, 67, 81 . 9780195066890 . Oxford University Press . 1991.