Ordinary kriging and the unbiasedness constraint
Learning objectives
- Say why simple kriging needs the mean, and what it does with the weight its wells do not take
- Derive the unbiasedness constraint and the Lagrange row that turns simple kriging's system into ordinary kriging's
- Read the price of not knowing the mean, , and say why it is never negative
- Map the main sand's porosity from the Ogbon field's nine wells both ways, and score the maps and a wrong mean against the truth
When the Mean Is Not Known
Simple kriging (Section 5.1) needs the mean: it puts on that mean whatever weight its wells do not take. Ordinary kriging does not know the mean, so it adds one row to the system, the Lagrange row, which makes its weights sum to 1; far from the wells it falls back on its own estimate of the mean from those wells. The price is a larger variance, by exactly the Lagrange multiplier times the weight simple kriging left on its mean. From the Ogbon field's nine wells, at 2957 ft down the dip of Ogbon-1, simple kriging's weights sum to only 0.207, and ordinary kriging's variance stands 0.0488 p.u.Β² above it. Told the right mean the two map the main sand alike; told a wrong one, simple kriging is wrong wherever the wells are far, and ordinary kriging is not moved.
The Data
The data are the porosity of the main sand at the Ogbon field's nine wells: Ogbon-1, the Petrophysics book's well, and the eight appraisal wells of the Reservoir book, the book's own and hypothetical. Six of them sit within 900 ft of Ogbon-1, up the dip between it and the sealing fault; Ogbon-8 is 1817 ft from Ogbon-1, down the dip, and Ogbon-9 2408 ft to the southwest. The truth is the field's lateral model, synthetic and the book's own, known at every one of its columns, which no real study ever has. It was drawn from a spherical variogram 2000 ft along the dip toward 120 degrees and 1000 ft across, with Ogbon-1's log for its statistics: a mean of 26.01 p.u. and a standard deviation of 0.584 p.u. (a p.u. is a percentage point of porosity). Both krigings here are given that model, so the one thing that differs between them is the mean. The nine wells average 25.81 p.u.; the truth averages 26.03 p.u. over the field's 490 columns.
The Lagrange Row
Both estimators are a weighted sum of the wells, . If every point has the mean , the error has the expectation . Simple kriging knows and kriges the departures from it, , so it is unbiased whatever its weights sum to, and solves , with the covariances between the wells and those from each well to the target. Ordinary kriging does not know , and the error's expectation is zero for every only if : the unbiasedness constraint. It minimises the error variance under that constraint with a Lagrange multiplier , and the system gains one row and one column:
At a well the solution is that well's weight 1 and every other 0, with and no variance: with no nugget, both krigings honour their data. At Ogbon-1 both return its own 26.01 p.u. Pyrcz (2024) adds the same constraint, that the weights sum to 1, with a Lagrange multiplier to complete the system, and with it the mean is calculated locally by the kriging system; the krigekit documentation builds universal kriging and the external drift by adding further constraints of the same kind to this ordinary system (Section 5.3).
Ordinary Against Simple Kriging
Solved at the same target, the two systems differ by one quantity. Simple kriging's weights sum to , and the multiplier is , so
Ordinary kriging's variance is never below simple kriging's: it has to estimate the mean from the same wells it kriges with, and that costs something wherever simple kriging leans on its mean. At 1478 ft down the dip from Ogbon-1 simple kriging's weights sum to 0.683, the multiplier is 0.0246 p.u.Β² and the gap 0.0078 p.u.Β². At 2957 ft, the grid's edge, the sum falls to 0.207, so simple kriging puts 0.793 of its weight on its mean; the multiplier grows to 0.0615 p.u.Β², and ordinary kriging's variance, 0.3753 p.u.Β², stands 0.0488 p.u.Β² above simple kriging's 0.3265 p.u.Β².
What Ordinary Kriging Falls Back On
Past the range of every well , and ordinary kriging returns , the generalised least squares mean of the wells, with the variance of its own. From the nine wells it is 25.98 p.u., closer to the truth's 26.03 p.u. than the wells' plain average: it weighs the seven clustered wells as the few independent readings they are and gives Ogbon-8 and Ogbon-9, alone on the flanks, 0.226 and 0.227 each, while Ogbon-2, screened inside the cluster, takes β0.046. Its variance is 0.0775 p.u.Β², and it is what the price of not knowing the mean comes to far from every well: there the gap is the whole of it.
A Wrong Mean
The mean simple kriging is told is a choice the analyst makes, and the figure lets it be wrong. Told 27.18 p.u., two of the log's standard deviations too high, simple kriging at the grid's edge moves from 25.86 p.u. to 26.78 p.u., and its map misses the truth by 1.082 p.u. RMS over the field instead of 0.604 p.u.; told two too low, by 1.191 p.u. Ordinary kriging never uses a mean it is told, and its map misses by 0.608 p.u. RMS whatever the slider says.
The Map Against the Truth
Told the model's own mean, simple kriging misses the truth by 0.604 p.u. RMS over the field and ordinary kriging by 0.608 p.u.: the right mean, which a study cannot have, buys almost nothing here. Both barely beat a flat map at the truth's own mean, whose error is the truth's spread over the field, 0.651 p.u.: nine wells, seven of them in one cluster, say little about the porosity far from it. Kriged from the four wells nearest each column, ordinary kriging estimates a local mean from four wells at a time, its map shows seams where the four change, and it misses by 0.733 p.u.; simple kriging, whose mean does not change, by 0.605 p.u. A small neighbourhood buys a mean that can follow a trend, and pays for it in noise when there is none to follow.
What Comes Next
Section 5.3 lets the mean change across the field: universal kriging and kriging with an external drift, with one constraint row for each part of the trend.
References
- krigekit 0.3.2 documentation. Universal kriging and kriging with external drift. pykriging.readthedocs.io/en/stable/user_guide/universal_kriging.html.
- Pyrcz, M. J. (2024). Applied Geostatistics in Python: a Hands-on Guide with GeostatsPy [e-book]. Zenodo. doi:10.5281/zenodo.15169133. Chapter: Simple and Ordinary Kriging.