Geostatistical Interpolations
Geostatistical Interpolations
Geostatistical Interpolations
INTERPOLATIONS
HISTOGRAM MODELING
GAUSSIAN ANAMORPHOSIS
2
Gaussian Anamorphosis
A continuous variable Z could be considered as the
transform of a standard Gaussian variable Y (mean 0,
variance 1), through an anamorphosis function Φ
3
The Gaussian Anamorphosis
Transforming a non Gaussian distribution into a Gaussian
distribution (“anamorphosis” means “transformation”)
F G
1 1
F( z) = G ( y)
0.5 0.5
0 0
0 10 20 z 30 40 Z -3 -2 -1 0 y 1 2 3 Y
4
Point Anamorphosis
Experimental
Experimental
anamorphosis
anamorphosis
The anamorphosis links the
raw distribution to a
gaussian one. Raw values: Z
The experimental
anamorphosis is modeled Model
Model
by a continuous function. anamorphosis
anamorphosis
=Φ
Gaussian values: Y
Hermite polynomials
The experimental distribution is modeled by Hermite
polynomials:
=Φ
Note that : = =
=
Gaussian Anamorphosis Modeling Now
7
Normal score transform
8
HISTOGRAM MODELING
VARIOGRAPHY FOR SKEWED DISTRIBUTIONS
Introduction
In case of skewed distributions or with outliers the
variograms may be difficult to interpret.
300
200
Y (m)
0.5
1000
0.4
0.3 0
0 10 20 30 40 50 60 70 80 90 100
0.2 Distance (m)
0.1
0.0
0 100 200
simu lognormal
Page 10
Introduction
1.00
0.75
0.50
0.25
0.00
0 10 20 30 40 50 60 70 80 90 100
Distance (m)
Page 11
Variographic analysis
In the gaussian discrete model the structure of
ℎ = , +ℎ
Page 12
Variographic analysis
Gaussian Anamorphosis with 30 polynomials
1500
1000
simu lognormal
500
Variogram : gaussian
957
898
0.75 757
-5 -4 -3 -2 -1 0 1 2 3 4 5 743
Gaussian values 607
0.50 473
324
217
100 0.25 84
90 32
80
0.00
0 10 20 30 40 50
70
Frequencies (%)
Distance (m)
60 Isatis
Grids/Blocks 1x1(sampling 10x10)
50 - Variable #1 : gaussian
Variogram : in 1 direction(s)
40 D1 :
Angular tolerance = 90.00
30 Lag = 2.0000m, Count = 25 lags, Tolerance = 50.00%
Model : 1 basic structure(s)
20 S1 - Spherical - Range = 30.0000m, Sill = 1
10
0
0 50 100 150 200 250 Variograms on the normal
simu lognormal
score transforms
Page 13
Workflow
Page 14
KRIGING
Limitations on variables
• The variables must be additive
• Data must have same (or similar) support
E.g. length, diameter, volume
The reason comes from the linearity of the kriging interpolator
16
Linear Interpolation
The estimated value is a weighted sum of values at sampled
locations:
Z = å λα Zα
Z0 * : estimated value
* Za: value at locations a
0 λ a : weight at locations a
α
Z3
Z2
λ3 λ2
Z0
λ1
Z1
17
Regression – Data Configuration
The variable at a given location can be estimated from data:
• Unbiased:
∗
− =0
• Optimal: the error between the estimated value and the true but
unknown value is minimized.
∗
−
19
Global unbiasedness
20
Global unbiasedness
Let’s introduce a constant value to the estimator:
∗
= +
− − =0
⇒ = × 1−
21
Simple Kriging
∗
= + × 1−
22
What type of Kriging?
∗ ∗
= + × =
23
Kriging optimality
• Kriging is said the Best Linear Unbiased Estimator
(BLUE)
∗
− → =0
24
Variance of error
The variance of error can be calculated using the
covariance:
∗
− = −
∗
− = + − .
∗
− = + − .
25
Minimisation of variance SK
To minimize the variance
∗
• Let the variance : − =
= + − 2.
⟹ =
Simple Kriging
System
26
Simple Kriging, covariances
In matrix notations the kriging system is:
⋯
⋮ ⋱ ⋮ × ⋮ = ⋮
⋯
∗
− = = −
27
Minimization of variance OK
= + + .
= + + . + −
28
Lagrange Multiplier method
: − ∗ = × −
⟺ =
is the Lagrange Multiplier, it takes negative values, but we
expect it to be close to 0.
29
Ordinary Kriging, 2nd order stationarity
Under second order stationarity, minimizing the estimation
variance gives:
Φ + =
=0
⇒ Ordinary
Φ Kriging System
=0 =1
With :
∗
− =
= − −
30
Ordinary Kriging, intrinsic stationarity
Intrinsic stationarity implies the use of the variogram, the
kriging system using the variogram is expressed:
Φ − + =−
=0
⇒ Ordinary
Φ Kriging System
=0 =1
With :
∗
− =
= −
31
Ordinary Kriging, covariances
In matrix notations the kriging system is:
⋯
⋮ ⋱ ⋮ ⋮ × ⋮ ⋮
=
⋯
…
32
Ordinary Kriging (points)
In matrix notations the kriging system is:
− ⋯ − −
⋮ ⋱ ⋮ ⋮ × ⋮ ⋮
=
− ⋯ − −
…
− ∗
= = −
33
KRIGING
PROPERTIES OF KRIGING WEIGHTS
How Kriging Works
γ(h), C(h) Sill = 1 Range = 6
Y Z0
Z1 h0-1=2
1
4 h0-2=4
h0-3=4
3
ì 3 h 1 h3
ï
C(h) = í1- 2 r + 2 r3 if h < r
0.52
2 h1-2=3
1 h1-3=5 0.31 ïî 0 if h ³ r
Z2 Z3 h2-3=4 0.15
0.04
1 2 3 4 5
X 1 2 3 4 5 6 7 8 h
3 h3 1 h33 » 0.31
Z*0
35
How Kriging Works
3 h3 1 h33 » 0.31
1 h1-3=5 3 2 1 23 » 0.52
C0 -1 = C(2) = 1 - ´ + ´ 3
Z2 Z3 h2-3=4 2 6 2 6
1 2 3 4 5
X 3 4 1 4 3 » 0.15
C0 - 2 = C0 - 3 = C(4) = 1 - ´ + ´ 3
2 6 2 6
-1
C11-1 0.31 C1-3 1
C1-2 0.04 λ1 0.52
C0-1 λ1 C11-1 0.31 C1-3 1
C1-2 0.04 0.52
C0-1
C2-1 C1
0.31 C2-3 1
2-2 0.15 λ2 0.15
C0-2 λ2 C2-1 C1
0.31 C2-3 1
2-2 0.15 C0-2
0.15
x = Þ = x
C3-1 0.15
0.04 C3-2 C13-3 1 λ3 0.15
C0-3 λ3 C3-1 C
0.04 3-2 C1
0.15 3-3 1 C0-3
0.15
1 1 1 0 μ 1 μ 1 1 1 0 1
36
How Kriging Works
λ1=0.65 Z
Y 0 l1 + l2 + l3 = 0.65 + 0.28 + 0.07 = 1
Z1 h0-1=2
4 h0-2=4 Z 0* = l1Z1 + l2 Z 2 + l3 Z 3
h0-3=4 = 0.65 ´ Z1 + 0.07 ´Z 2+0.28 ´ Z 3
3 λ2= 0.07 λ3= 0.28
2 h1-2=3
h1-3=5 s k2 = C( 0 ) - å la Cao - m
1 a
Z2 Z3 h2-3=4 = C( 0 ) - l1 ´ C( 2 ) - l2 ´ C( 4 ) - l3 ´ C( 4 ) - m
1 2 3 4 5
X = 1 - 0.68 ´ 0.52 - 0.07 ´ 0.15 - 0.28 ´ 0.15 + 0.16
= 0.75
-1
λ1 C11-1 0.31
C1-2 C 1-3 1
0.04 0.52 0.65
λ2 C2-1 C1
0.31 2-2 C 2-3 1
0.15 0.15 0.07
= x =
λ3 C3-1 0.15
0.04 C3-2 C13-3 1 0.15 0.28
μ 1 1 1 0 1 -0.16
37
Properties of Kriging: respects symmetry
100 m
200 m
38
Properties of Kriging: respects symmetry
100 m
200 m
39
Properties of Kriging: respects symmetry
100 m
200 m
40
Properties of Kriging: accounts for anisotropy
41
Properties of Kriging : Stable Position
Same model, different data configuration
σ 2k = 0.45 σ 2k = 0.68
42
Properties of Kriging: declustering effect
Over-sampling
43
Negative weights
Theoretically weights can be negative, as the only
constraints applied on the unit sum:
• Negative weights are attributed to samples with very
weak relationship to the target
• They help recovering variability and prevent smoothing
• But they can lead to inconsistent results (negative
grade, above 100%, …)
44
Properties of kriging: Screen Effect
Adding one extra sample
45
Influence of the Nugget Effect
46
Influence of nugget on estimation
variance
Kriging with a
Spherical Model
Map of Porosity
Kriging Error
Model
47
Influence of nugget on estimation
variance
Kriging with
Spherical Model plus
Nugget: the kriging
error increases
Map of Porosity
Kriging Error
Model
48
Comparing kriging to IDW
Inverse Distance Weighting
• Weights do not reflect the spatial structure of the data
- No reference to a spatial model
- Particularly problematic in high nugget situation
49
BLOCK KRIGING
INTRODUCTION : SUPPORT EFFECT
Support effect
• Support: volume
- Point support
- SMU (block) support
- Panel support
51
Support effect – Krige’s relationship
Page 52
Support effect – Krige’s relationship
, is the
average point
variogram inside
the block.
It measures the
variability absorbed
inside the block.
= 10 = 10
̅, = 6.09 ̅, = 0.67
Page 53
Support effect – Krige’s relationship
, is the
average point
variogram inside
the block.
It measures the
variability absorbed
inside the block.
= 10 = 10
̅, = 6.09 ̅, = 0.67
= 3.91 = 9.33
For every estimation method the support effect is taken into account through
the block variance calculated by the Krige’s relationship:
= − ̅
( , )
Page 54
Block Variance
ℎ : ( )= ( )− ̅
( , )
̅
( , )→0 ̅, → ( )
( )→ ( ) ( )→
How to calculate ?
̅ , is the average variogram value within one block.
To calculate it, the block is discretized:
To sample every distance, a random secondary
set of 3x3 points is used :
Ex: discretization 3x3 Each variogram value between a regular point and a
random point is assessed. The average of these values
is ̅ , . For a 3x3 discretization :
, = ∑ ∑ ,
Page 56
Experimental ( , )
How many points of discretization ?
Guidelines:
• For a continuous variogram, a small number of discretisation
points is sufficient to converge.
• For an erratic variogram, a higher number is advised.
Support Change Consequences
l A sample taken inside a block may be quite different
from the block value.
∗ =
60
Block kriging
61
Block kriging
The variability between one data and one block is given
by a point-block variogram. It is derived automatically
for each configuration:
( )
( )
, = ,
62
Ordinary Kriging (blocks)
In matrix notations the kriging system is:
− ⋯ − − ,
⋮ ⋱ ⋮ ⋮ × ⋮ ⋮
=
− ⋯ − − ,
…
Variogram values between data Weights Variogram values between
points, pair by pair data and target block
63
Block kriging variance
The Kriging block variance has the
following expression:
= , − , −
ℎ = − ,
Note that: , =
64
Example Block estimation
= − , −
Simple Kriging
= , = , =
Ordinary Kriging
=− = = , = , = −
Legend
red squares are selected samples for the
estimation
values above are the kriging weights,
values below are data values
66
Block kriging with discretization
4x4 discretization
The weights are calculated differently
Legend
red squares are selected samples for the
estimation
values above are the kriging weights,
values below are data values
67
Block kriging with discretization
68
Block kriging with discretization
Example 1:
₋ long range variogram
₋ vertical composites of 2 m
Example 2:
₋ small range variogram
₋ vertical composites of 2 m
à discretization of 6x6x2
69
Polygon kriging
The POINT-to-BLOCK
covariance must be
calculated for each
polygon, by discretization
70
KRIGING
KRIGING PROPERTIES
Indications of kriging quality
Characteristics of estimated points or blocks to be checked:
• Conditional bias
slope of regression E[Z|Z*]
• Precision
estimation variance or standard deviation sk
• Smoothness
dispersion variance of the kriged estimates Var[Z*]
72
Kriging outputs
• Three linked random variables are used to define Kriging
outputs : Z, Z* and Z-Z*
= =
∗
= − −
∗
, = − −
∗ , ∗
, =
∗
73
Kriging system
∗
∗
−
= ∗
≥ ∗
∗
−
∗
,
∗
,
∗
∗
( , )
= ∗
∗ ∗ = 0
− ∗=
/
74
Kriging system -> refaire le nuage !
∗
∗
−
= ∗
≥ ∗
∗
−
∗
,
∗
,
∗
∗
( , )
= ∗
∗ ∗ = 0
− ∗=
/
75
Synthetic case : a view of kriging outputs
For one block, a distribution is re-estimated using Kriging of 100 realizations of a
random function. Two drillholes sampling are tested:
Dense sampling
Loose sampling
[
E Z0 Z = Z *
] *
77
Slope of regression
The linear regression between the true and estimated grades, with the
local condition of search ellipsoïd and variogram model
78
Kriging variance
• It depends only on the variogram model and the data configuration
0.9
- The grade histogram is Gaussian and 0.8
0.7 Kriging
- The block(s) are well estimated and 0.6 standard
fr e q u e n c y
0.5 deviation
- The stationary assumption is fulfilled 0.4
0.3
0.2
0.1
0
0 10 20 30 40 50 60 70 80 90 100
Possible Z values
79
Weight of the mean
• In Simple Kriging
- The mean ‘m’ is considered to be known (and invariant)
- It is used determine weights
- A specific weight lm is assigned to the mean
- When local estimation is of poor quality the weight assigned to the mean
is high
• In Ordinary Kriging
- Local mean is considered to be unknown (local stationarity only)
- It is determined by the local search ellipsoid
- The weight of the mean can be calculated (by SK) as a test to quantify the
uncertainty of the OK
80
Variance of Z*
Kriging provides an estimate of the dispersion variance of the estimator.
It is a global parameter locally estimated.
Low variance of Z* means the estimate is smoothed (range < sampling distance)
High variance of Z* means the local estimate is good and allows high selectivity
∗ = − −
81
Lagrange Parameter
is between 0 and -1 .
82
Dispersion variance
l The dispersion variance (Var Z*) describes the smoothing
effect of Kriging:
- High variance : no smoothing effect, the estimate can potentially take
values between high and low grades.
- Low variance : smoothing effect, the estimate will be close to the average
grade.
∗ = − −
Estimate Z* Var Z*
Page 83
Smoothing effect of kriging
How is the variogram calculated on kriged values compared to the variogram of
the data?
The variogram computed on the kriging grid has a sill that is much lower than the
variogram computed on the real data. (2 times lower)
The range is highest on the variogram computed on the kriging estimation.
84
Kriging efficiency
If the KE is negative, it means that the quality of the average
estimation, characterized by is too poor, and that there is a clear
conditional bias.
∗ ∑
− + +
= = =
0.75
0.50
V KE
0.25
∗
Good estimates : ≈ 0.00
Bad estimates : ≈
-0.25
85
KRIGING
NEIGHBORHOOD
Neighborhood
2 types of neighborhood can be used:
Unique:
- all data are used for each target estimate
- applicable only for small datasets
Moving:
Each time a new point/block needs to be kriged, a new set of
limited number of data receiving weights will be performed.
87
Unique Neighborhood
88
Moving Neighborhood
• Compulsory for large datasets or when stationarity not fulfilled
at any scale
• How to optimize?
89
Moving Neighborhood
Search ellipse parameters depend
upon:
• Stationarity extension
• Data density
• Variogram parameters
⁻ spatial scale
⁻ anisotropy ratio
⁻ azimuth
90
Moving neighborhood parameters
• Range: ellipsoid radius should be slightly greater than
variogram range
₋ High variance model (high nugget, short range) and/or scarce data: large
ellipsoid is advised
₋ High continuous model (low nugget, large range) and/or numerous data:
large ellipsoid is not required.
₋ Definition of ellipsoid size and shape should be consistent with the
stationary hypothesis
91
Anisotropic distances
When neighborhood
ellipse is parallel to
variogram anisotropy:
Using anisotropic
distances during data
selection phase
increases selection of
data points in
direction of maximum
continuity
93
How to choose the model?
• The variogram model should not contradict the
naturalist interpretation
94
COKRIGING
Ordinary Cokriging
• Principle: Estimate Z1 using a linear combination of Z1
and Z2 measured at scattered data points
Z *
1 = åa l 1a Z a
1 + åa l a2 Z a
2
Z1,x
Z2,y
96
Ordinary Cokriging
• Principle: Estimate Z1 using a linear combination of Z1
and Z2 measured at scattered data points
Z *
1 = åa l 1a Z a
1 + åa l a2 Z a
2
97
Ordinary Cokriging
Matrix notation
é l 11 ù é C 10Z 1 ù
é C Z1
L C Z1
C Z 1Z 2
L C Z 1Z 2
1 0ù ê ú ê ú
ê
11 1n 11 1n
ú ê M ú ê M ú
ê M M M M M Mú ê n ú ê C nZ 01 ú
l2
ê C nZ11 L C nnZ 1 C Z 1Z
L C nnZ 1 Z 2 1 0 ú ê n ú ê Z 1Z 2 ú
ú êl2
2
ê Z 1Z 2 ú ê C 10 ú
n1
ê C 11 L C 1Zn1 Z 2 C Z 2
L C 1Zn 2 0 1ú ê ú = ê ú
11
´ M M
ê M M M M M M ú ê ú ê Z 1Z 2 ú
ú ê l1
n
ê Z 1Z 2 Z 1Z Z 2 Z 2 ú êC n0 ú
ê C n1 L C nn
2
C n1 L C nn 0 1ú êm ú ê 1 ú
1
ê 1 L 1 0 L 0 0 0ú ê ú ê ú
ê ú êm 2 ú ê 0 ú
ë 0 L 0 1 L 1 0 0û ê ú
ê ú
ë û ë û
Covariances between samples and variables Unknown Covariances
weights between the
data and the
n ´ N equations + 2 target
10 samples, 10 variables Þ 102 equations regarding the
variable of
interest
98
No spatial correlation between
variables: self krigeable
• When variables Z1 and Z2 are not at all correlated,
- Correlation coefficient is 0
- Cross variogram is flat and equal to 0
• Therefore Z1 is self-krigeable
• There is no benefit in cokriging Z1 and Z2
Cross variogram
99
Perfect linear correlation: self krigeable
• When variables Z1 and Z2 are
very highly correlated
Z2 = a ´ Z1 + b
Cross variogram
• Information is redundant à
Using Z2 in a cokriging of Z1 does
not improve the estimation of
Z1
b iju £ ± b uii b u
jj
" i, j
100
Simple and cross variograms
proportional: self krigeable
Variable Z1 is self-krigeable when Z1 and
Z2 are intrinsically correlated
Cross variogram
• The simple and cross variograms are
proportional
Proportional variograms differ only in their sills, the
ranges are equal
101
Example
Cokriging of two variables:
- U: high statistical variance – low continuity
- V: low statistical variance – high continuity
102
Weights
Weights on Main variable (U) Weights on Secondary variable (V)
+
Main
Sec. -
Less continuous than Main « Smooth »
+
Sec. Main
-
More continuous than Main « Wrinkle »
+
Sec. Main
-
Same continuity as Main No transformation
106
Weights
On the main variable:
Weights are independent of the statistical variance.
On the secondary variable:
Weights are proportional to the ratio of both statistical variances
(V1/V2) to correct for the variability around the secondary variable.
NB: Extreme difference in variance may lead to numerical
instabilities -> need to work with normalized variables
Example:
∗
= × 1.1 + × 0.8 + × 11401 + × 21971
, ,
= × 1.1 + × 0.8 + × × 11401 + × × 21971
107
Example
Two variables:
- U (variable to be estimated)
- V (secondary variable – always defined on 470 locations)
Two datasets:
Isotopic Heterotopic
(U defined for 470 data) (U defined for 282 data)
108
Example: Estimates vs. Reality
Kriging Cokriging
Heterotopic
Isotopic
109
Example: Quality of estimation
Kriging Cokriging
Heterotopic
Isotopic
110
Example: Quality of estimation
Kriging Cokriging
Heterotopic
Isotopic
111
Example: Correlations
Kriging Cokriging
Heterotopic
Reality
Isotopic
112
Useful features of Cokriging
• Cokriging is consistent
- Cokriging the sum is same as sum of cokriging
{Z1 ( x) + Z2 ( x)}CK = Z1 ( x)CK + Z2 ( x)CK
113
Kriging or cokriging ?
No
114
CROSS-VALIDATION
Cross validation
• A tool for evaluating kriging parameters and inputs
- Neighborhood parameters
- Data configurations
• Procedure
- A data point is removed from the neighborhood
- The removed point location is kriged using the other data
- All points are removed and estimated in turn, returning a full
set of estimated values with corresponding true values
- Statistics are computed
116
Cross validation
å (Z )
N
Mean errors 1
• merror = i - Z i*
Not globally biased if 0 N i =1
å (Z )
• Variance of the error 1 N
* 2
s ² error = i -Z i
As close to 0 as possible N i =1
117
Isatis Cross Validation Test Window
Panel output includes:
• True value
• Estimated value
• Standard deviation
118
Cross Validation Graphical Outputs
Check for
conditional bias
Histogram of
standardized errors Cross plot of
(Z i - Z *
i ) standardized
errors and
s i2* estimated values
(Z - Z )
i
*
i
vs. Z*i
σ i2*
119
Cross validation limitations
• Cross-validation allows to check and compare numerically
neighborhood parameters and model choices
120