Fitting a Variogram to Data
Learning objectives
- Fit a variogram model to an experimental variogram by weighted least squares, and say what the weights are
- Read how many pairs stand behind a fit, and what they can and cannot say about the range
- Compare a fitted range with the range the model was built with, on nine wells and on every column
- Judge a fit by its misfit against range, not by its best point alone
- Report a fit with its lags, its pairs and its weights
From Dots to a Model
The experimental variogram of Section 5.1, Spatial Correlation and the Variogram, is a handful of dots, one for each lag, each the half mean squared difference of the pairs of data about that far apart. Kriging and simulation do not use the dots. They need the variogram at every separation, from a model that is valid, so the last step of variogram analysis is to fit one: a shape, and the nugget, sill and range of Section 5.2, Range, Sill, and Nugget. This section fits a variogram to the porosity of the Ogbon field and asks the question every fit raises: how well do the data fix the answer?
The Data, and the Answer We Know
A real variogram is fitted blind, because nobody knows the true one. Here the answer is known. The book builds its own porosity model, the lateral model of Chapter 5 (the book's own, not a measurement): in each of Ogbon-1's four reservoir beds, the upper oil sand, the shaly oil sand, the tight limestone and the main sand, a Gaussian field with a spherical variogram, no nugget, a range of 2000 ft along the dip and 1000 ft across it, and the bed's mean and variance from Ogbon-1's log. Data taken from that field can be fitted, and the fit checked against the model's own range, 2000 ft in every bed.
Three sets of data are offered. The nine wells are Ogbon-1, the only logged well, and the eight appraisal wells of the book's model, Ogbon-2 to Ogbon-9, which are hypothetical. The other two are every third column of the field's grid and every column, 62 and 490 columns of 211 ft. Distances across the dip are doubled, the ratio of the two ranges (Section 5.3, Anisotropy), so that one isotropic range describes the model; nine wells could not measure that ratio, and the figure takes it from the model. The experimental variogram has 8 lags of 330 ft, out to 2640 ft, half the side of the field: the figure's own choice, a lag wider than the spacing of the columns.
Fitting by Weighted Least Squares
A model has a nugget , a partial sill , a range and a shape, spherical, exponential or Gaussian, three of the families of Section 4.1 of the Geostatistics book, Permissible model families (spherical, exponential, Gaussian). The fit chooses the numbers to minimise a weighted sum of squared differences between the dots and the curve. With the pair counts as weights, a lag with many pairs counts for more. Cressie (1985) weights each lag by its pair count divided by the square of the model's variogram, a scheme that, in the words of his abstract, "automatically gives most weight to early lags and down-weights those lags with a small number of pairs". The figure offers both. For a range and a nugget share held fixed the best sill has a closed form, so the kernel searches the range, from one lag to the side of the field, and the share. Section 4.5 of the Geostatistics book, Fitting strategies: by eye, by WLS, by likelihood, sets this method beside fitting by eye and by likelihood.
What Nine Wells Can Say
The nine wells make 36 pairs, 27 of them within 2640 ft, and in the main sand they fall in the eight lags as 1, 4, 8, 3, 2, 4, 3 and 2. The first lag holds one pair, the closest, 327 ft apart, so the nugget rests on that pair. The best spherical fit has a range of 1688 ft, 16 % under the model's own, a nugget of 0.00 %² and a sill of 0.34 %² (the bed's own variance, from the log, is 0.34 %²). It looks like a fit. But the misfit is flat: every range from 300 ft to 5100 ft has at most 1.35 times the best fit's misfit, and the model's own 2000 ft has 1.02 times that misfit. These data cannot tell 2000 ft from the best fit, or from a range 2.5 times as long.
Four beds, one variogram, four answers. With the nine wells the best spherical fit of the upper oil sand has no structure, the shaly oil sand 501 ft, the tight limestone a range at the end of the search (5280 ft) and the main sand 1688 ft; the model's own is 2000 ft in all four. A fit whose range runs to the end of the search, or whose structure is under 5 % of its sill, is reported as having no range, because that is what the data say. Each bed is a separate draw from the same variogram, and the nine wells see each through the same 27 pairs.
What Many Pairs Can Say
Every column of the main sand gives 37,819 pairs, and the same fit gives 2124 ft, 6 % over the model's own, with a nugget of 0.04 %² and a sill of 0.40 %². The minimum is now sharp: a range of 1000 ft has 90 times the best fit's misfit, and even the model's own 2000 ft has 1.88 times. In the four beds the ranges are 2442 ft, 1815 ft, 2489 ft and 2124 ft, each within 24 % of 2000 ft. They are not exactly 2000 ft because the data are one draw from the model, a simulation that searches only 12 neighbours: the 490 columns of the main sand have a variance of 0.42 %², where the model's is 0.34 %². Dense data fix the range of the field that was drawn, which is not quite the model's. Every third column, 520 pairs, is the case between the two, and plate (d) tabulates its fits beside theirs.
The Shape and the Weights
With every column, the spherical shape has the smallest misfit in three of the four beds and the Gaussian in the shaly oil sand; the exponential has it in none, and the model is spherical. Shapes do not share a definition of range: the exponential curve only approaches its sill, and the kernel's exponential range is the distance at which it reaches 95 % of it. So the exponential fit of the main sand, 3680 ft against the spherical 2124 ft, does not mean a longer correlation; its misfit, 6.1 times the spherical's, says it describes these data worse. The weights matter less: with every column the pair counts and Cressie's weights give ranges within 4 % of each other in all four beds, and on the nine wells of the main sand 1654 ft and 1688 ft.
Before You Trust a Fit
Report what stands behind a fit: the pairs in each lag, the lag width and the weights, as the figure does. Read the nugget from the first lag and ask how many pairs it holds. Look at the misfit against range, as plate (b) does, before quoting a range from its best point, and set the range beside what the geology allows. The Geostatistics book (Section 4.5) adds leave-one-out cross-validation as a test of a fit. Section 6.1, Facies Come First, opens Chapter 6 with the populations within which a property is modelled, because a variogram fitted across two populations may describe neither.
References
- Cressie, N. (1985). Fitting variogram models by weighted least squares. Journal of the International Association for Mathematical Geology, 17(5), 563-586.