Petroleum Knowledge Base

Variogram

The variogram is the basic tool for measuring the spatial variability of a regionalized variable, defined as half the variance of the difference between values at two points. This entry gives the definition and the stationarity assumptions behind it (intrinsic hypothesis, second-order stationarity), the three key parameters range, nugget and sill, the computation of the experimental variogram, the five common theoretical models, and structural fitting, anisotropy and detrending.

Concept

A geological variable such as porosity, permeability or bed thickness is neither completely random in space nor completely deterministic; it has both randomness and spatial correlation. Such a variable is called a regionalized variable. The basic tool for measuring its spatial variability is the variogram: for a regionalized variable Z(u) and a separation vector h (the lag), the variogram is defined as half the variance of the difference between the values at two points:

gamma(h) = (1/2) x Var[Z(u + h) - Z(u)]

Another textbook states the same definition as half the average of the squared differences between values at points a distance h apart, and notes that it can be computed directly from data without first knowing the mean over the whole area, which is what makes it more convenient than the covariance.

The variogram rests on stationarity assumptions. Two are used in practice: second-order stationarity requires a constant expected value and a covariance that depends only on the lag h, not on absolute position; the intrinsic hypothesis is weaker and requires only that the increment Z(u) - Z(u + h) has zero expectation and that its variance (that is, 2 gamma(h)) depends only on h. A variable that is stationary only within a limited neighborhood is called quasi-stationary, which covers most practical work.

A variogram plot (lag on the horizontal axis, gamma(h) on the vertical) has three key parameters:

  • Range: the maximum distance over which the variable stays correlated. Inside the range the data are correlated; beyond it they are uncorrelated and no longer inform the estimate.
  • Nugget: the discontinuity of the variogram at the origin, arising from measurement error and micro-scale variability below the sampling scale. If values are uncorrelated at any small distance, this is the pure nugget effect.
  • Sill: the plateau the variogram reaches beyond the range, equal to the nugget plus the partial sill, representing the total spatial variability of the variable.

Under second-order stationarity, variogram and covariance are complementary: C(h) = C(0) - gamma(h), with C(0) equal to the sill. The variogram supplies the weights in Kriging and Cokriging and the spatial correlation that stochastic simulation must reproduce.

Calculation Methods

Step 1: compute the experimental variogram. Along a chosen direction, for each lag h, average the squared differences of all point pairs separated by h and take half:

gamma*(h) = [1/(2N(h))] x sum of [Z(x_i) - Z(x_i + h)]^2

where N(h) is the number of pairs at that lag. More pairs mean a more reliable value, and along one direction the lag is generally kept below half the line length. In practice, pairs are accepted within a distance tolerance and an angular tolerance (a 50% lag tolerance, for example, admits points at 0.5 to 1.5 times the step into that step's calculation). For two-dimensional work, first fix the major and minor range directions: the major direction has the largest range and is often taken along the main sediment source or flow direction, with the minor direction perpendicular to it.

Step 2: fit a theoretical model. Experimental variogram points are scattered and are fitted with a theoretical model curve. Five are in common use:

Spherical: gamma(h) = C[1.5(h/a) - 0.5(h/a)^3] for h <= a; gamma(h) = C for h > a
Exponential: gamma(h) = C[1 - exp(-3h/a)]
Gaussian: gamma(h) = C[1 - exp(-3h^2/a^2)]
Power: gamma(h) = C x h^w (0 < w < 2, no sill)
Hole-effect: gamma(h) oscillates periodically, reflecting cyclic structures such as interbedding

Here C is the partial sill and a is the range (for the exponential and Gaussian models a is the practical range, where gamma reaches 0.95C); with a nugget, the constant C0 is added to each model. Another textbook's model set lists spherical, exponential, Gaussian and cubic models with the same parameter meanings (partial sill C, range R).

Step 3: structural fitting (nesting). Variability at several scales and in several directions appears as a superposition of structures; combining them into one theoretical variogram is structural fitting: gamma(h) = gamma_0(h) + gamma_1(h) + ..., each component representing variability at one scale, with micro-scale variability appearing as a nugget effect at larger observation scales.

Handling anisotropy. If the range differs between directions while the sill is the same, the anisotropy is geometric and can be described by a range ellipse (in plan) or range ellipsoid (in 3D) and reduced to isotropy by compressing the distance axis by the anisotropy ratio. If the sill also differs between directions, the anisotropy is zonal and is handled by model superposition. In general, the range along the main flow direction is larger than across it, and the vertical range is far smaller than the areal ranges.

Validation. The fit is checked by cross-validation: each point is re-estimated by kriging from the others, and a good fit gives the smallest mean squared estimation error with the ratio of squared errors to kriging estimation variance close to 1.

Worked Example

Transect example. Eight equally spaced data points lie along a line: lag 1 has 7 point pairs, lag 2 has 6 pairs, and lag 4 (half the line length) has 4 pairs. Computing the experimental variogram lag by lag gives gamma*(1) = 3.00.

Model values. Take a spherical model with C0 = 0, C = 1, a = 100 (normalized parameters): at h = 25, gamma = 0.3672; at h = 50, gamma = 0.6875; beyond the range of 100, gamma stays at the sill of 1. For the same model, the covariance at h = 50 is C(50) = C(0) - gamma(50) = 1 - 0.6875 = 0.3125, so points half a range apart still retain about a third of the zero-lag covariance.

A 3D anisotropy case. Another textbook assembles a three-dimensional variogram as follows: horizontally a range of 1000 m and partial sill 0.0025; vertically a range of only 1.6 m and the same partial sill of 0.0025, both with spherical models. Evaluating the models: at h = 500 m horizontally and h = 0.8 m vertically (each half the range), gamma = 0.001719 in both cases. Equal partial sills with ranges differing by hundreds of times are the variogram expression of sedimentary bodies being far wider than they are thick, the typical form of geometric anisotropy.

Influencing Factors and Considerations

  • The near-origin shape reflects continuity. A parabolic shape near the origin indicates a highly continuous variable (such as bed thickness); a linear shape, average continuity; a discontinuity (a nugget) means large variability over very short distances; and a pure nugget form means the variable is spatially uncorrelated.
  • Trends contaminate the variogram. With a systematic trend, the experimental variogram keeps rising and breaks through the sill (as with an upward-fining porosity grading). Determine the trend first, compute the variogram from the residuals, and add the trend back after estimation or simulation.
  • Beware the well-spacing trap. If the lateral scale of sand-body variation is smaller than the well spacing (a channel 100 m wide with 200 m spacing, for example), the range computed from well data will be far larger than the true range. Use a denser well pattern, or borrow the variogram of a prototype model whose reservoir resembles the study area.
  • Read the geology before fitting. Similar variograms usually mean similar geological origins. Learn the depositional and structural background before fitting, and interpret the fitted variogram geologically afterwards; a large range with a small sill means strong spatial continuity and gentle variation.
  • Data preparation is not optional. Transform skewed variables such as permeability logarithmically first; compute means and variances by facies; and decluster spatially clustered data (reducing the total weight of dense areas), or the experimental variogram will be distorted by locally dense sampling.

References

  1. Wu Shenghe. Reservoir Characterization and Modeling (in Chinese). Petroleum Industry Press, 2010.
  2. E. B. Kovalevskiy; trans. Liu Yingru et al. Geostatistics-Based Geological Modeling (in Chinese). Petroleum Industry Press, 2014.