Distributions, Estimation, and Statistical Inference

Chapter 2, Statistical Foundations for ML

Learning objectives

  • Compute a sample's mean, median, standard deviation and skew from its central moments, and read a mean far from its median as a skew
  • Explain why deep resistivity is worked in log10: in Ogbon-1's net reservoir it spans decades and is skewed right, and its log is near symmetric
  • Explain why a range of decades is not reason enough for a log: Ogbon-1's permeability is barely skewed and its porosity skewed left, and their logs are skewed further
  • Read a histogram and a normal quantile plot for the shape of a variable

Shape Decides the Transform

A model reads its inputs most easily when their values spread evenly about their middle. The skew measures how far a variable is from that, and it decides whether a log transform helps. In Ogbon-1's net reservoir, 772 samples, deep resistivity spans 2.6 decades and is skewed right, +1.285: its mean, 32.04 ohm.m, is pulled far above its median, 19.95 ohm.m. In log10 its skew is βˆ’0.373, near symmetric, which is why this book works resistivity in log10. Porosity is skewed left, βˆ’0.768, and its log further, βˆ’1.049. Permeability spans 2.3 decades too, yet it is barely skewed, βˆ’0.088, and its log is skewed βˆ’1.049: the range does not decide the transform; the shape does.

Shape Decides The TransformInteractive figure, enable JavaScript to interact.

The Data

This section reads Ogbon-1, the Petrophysics book's well, as the book's own synthetic learning set holds it, and only its net reservoir: the samples whose truth passes the Petrophysics book's shale and porosity cutoffs, shale volume at most 0.40 and porosity at least 0.08, 772 of the well's 1201 samples, 386.0 ft. They are the samples a reservoir model is built on. Resistivity is the deep log as the book's own tool model records it; permeability and porosity are the generator's truth. Section 1.2 found resistivity's mean, 21.424 ohm.m, far above its median, 2.664 ohm.m, over all 1201 samples of Ogbon-1, shale included; the net reservoir alone is skewed less, +1.285 against +1.926, but the same way.

Moments

For nn samples xix_i with mean xΛ‰=1nβˆ‘ixi\bar x = \tfrac{1}{n}\sum_i x_i, the kk-th central moment is mk=1nβˆ‘i(xiβˆ’xΛ‰)km_k = \tfrac{1}{n}\sum_i (x_i - \bar x)^k. The second is the variance and its root the standard deviation, s=m2s = \sqrt{m_2}, the spread. The third, scaled by the spread, is the skew, g1=m3/m23/2g_1 = m_3/m_2^{3/2}: zero when the values balance about the mean, positive when a long tail runs to high values, negative when it runs to low ones. The median is the middle of the sorted samples, and a mean above its median is the mark of a right skew. This section divides by nn, the population form, as the book's kernel does.

Resistivity Is Skewed Right

Ogbon-1's net-reservoir resistivity runs from 0.38 ohm.m to 161.17 ohm.m. The upper and shaly oil sands read medians of 20.95 ohm.m and 36.03 ohm.m; the main sand, most of it below the contact and full of brine, 0.71 ohm.m; and the tight limestone, its oil held in little pore space, 103.25 ohm.m. Those few high readings pull the mean, 32.04 ohm.m, above the median, 19.95 ohm.m, and the standard deviation, 38.42 ohm.m, is larger than the mean.

The Log Transform

log⁑10\log_{10} gives each decade the same room: 1 to 10 ohm.m takes as much of the axis as 10 to 100 ohm.m. It shrinks large values more than small ones, so it pulls in a long right tail. In log10 resistivity's skew is βˆ’0.373, its mean 0.990 and its median 1.300, and 100.99010^{0.990} is 9.78 ohm.m, the geometric mean. The log does not make one hump of two: the brine-filled main sand still sits more than a decade below the oil sands, and that gap is what the models of Section 4.1 use to call pay. A change of unit would multiply every value by one number and leave the skew as it is; a log is not a change of unit.

Spanning Decades Is Not Enough

Permeability in the net reservoir runs from 4.0 md to 833.6 md, 2.3 decades. As measured its skew is only βˆ’0.088; in log10 it is βˆ’1.049, skewed further than before: the log stretches the tight limestone's few millidarcies into a long left tail. The reason is in the build. Ogbon-1's permeability is Timur's law of its porosity at one irreducible water saturation, so log⁑10K\log_{10} K is a straight line of log⁑10Ο•\log_{10}\phi and carries its shape: log10 K and log10 PHI have the same skew, βˆ’1.049. That is a property of the book's generator, not a finding about rock: Ogbon-1 has no core, and the Petrophysics book shows its permeability is a single curve of porosity by construction, where real core scatters about such a curve (Section 9.3 of that book). A measured permeability can be shaped otherwise, and its own skew, not this well's, decides its transform.

Porosity

Porosity is skewed left, βˆ’0.768: the sands hold 0.160 to 0.270 v/v, and the tight limestone, 156 of the 772 samples, 0.080 to 0.100 v/v, a tail down to the cutoff. Its mean, 0.203 v/v, lies below its median, 0.232 v/v. A log would skew it further, so porosity is read as measured.

Reading a Shape

A histogram shows a shape; a normal quantile plot tests it. It sets the samples in order, standardized, against the quantiles a normal sample of the same size would have: a normal sample falls on the line, and a skewed one bends away from it at its long tail. Plate (b) draws it for the chosen variable, and the figure's exercises walk each of the three.

What These Shapes Are

These are the shapes of one well's net reservoir, a mixture of four beds, each with nearly one porosity. A shape describes the samples in hand; how far a number read from them could move if the samples were drawn again is the question of Section 2.2.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.