Professional Documents
Culture Documents
Outline
❖ Background
❖ Kriging
Kriging
• Assumes distance or direction between sample points
shows a spatial correlation that help describe the
surface
• Fits function to
• Specified number of points OR
• All points within a window of specified radius
• Based on an analysis of the data, then an application
of the results of this analysis to interpolation
• Most appropriate when you already know about
spatially correlated distance or directional bias in data
• Involves several steps
• Exploratory statistical analysis of data
• Variogram modeling
• Creating the surface based on variogram
Kriging
To be stepped over
Kriging
Kriging
Kriging
• Foundation of Kriging is notion of spatial autocorrelation
• tendency of values of entities closer in space to be related.
•Autocorrelation can be assessed using a semivariogram, which
plots the difference in pair values (variance) against their
distances.
Moran’s I
http://gis.esri.com/library/userconf/proc02/pap1064/p106413.gif
Kriging
where:
Z(si) = the measured value at the ith location.
λi = an unknown weight for the measured value at the ith location.
s0 = the prediction location.
N = the number of measured values.
Kriging Weights
❑In ordinary kriging, the weight, λi, depends
on
❑a fitted model to the measured points,
❑ the distance to the prediction location, and
❑ the spatial relationships among the
measured values around the prediction
location.
Variance
❑ Variance is a measure of how far a set of numbers are
spread out from each other.
Kriging
▪ Fitting a model, or spatial modeling, is also known as structural
analysis, or variography.
▪ In spatial modeling of the structure of the measured points, you
begin with a graph of the empirical semivariogram, computed
as:
▪ Semivariogram (distance h) =
0.5 * average[ (value at location i – value at location j)2 ]
Kriging
Semivariogram
Measuring spatial
variation
• •
For each pair Z(x) and • • h
•
Z(x+h), separated by a •
h
•
h •
h
distance h, we • h
•
• •
h
them
h
α
Kriging
❑ Often each pair of locations has a unique distance, and
there are often many pairs of points. To plot all pairs
quickly becomes unmanageable.
❑ Instead of plotting each pair, the pairs are grouped into
lag bins.
For example, compute the average semivariance for all
pairs of points that are greater than 40 meters apart but
less than 50 meters.
Kriging
❑ The empirical semivariogram is a graph of the averaged
semivariogram values on the y-axis and the distance
(or lag) on the x-axis (see diagram below).
.
❑ Thus, pairs of locations that are closer (far left on the x-axis of the
semivariogram cloud) should have more similar values (low on the y-
axis of the semivariogram cloud).
❑ As pairs of locations become farther apart (moving to the right on the
x-axis of the semivariogram cloud), they should become more
dissimilar and have a higher squared difference (moving up on the y-
axis of the semivariogram cloud).
Semi Variance
SemiVariogram in Kriging
ow avg. difference between values at points changes with distance between points
Range – no
more surprises
sill
nugget
A semivariogram. Each cross represents a pair of points. The solid circles are obtained by averaging within
the ranges or bins of the distance axis. The solid line represents the best fit to these five points, using one of
a small number of standard mathematical functions.
Variogram
❖ Plots semi-variance against
distance between points
❖ Is binned to simplify
❖ Can be binned based on just
distance (top) or distance
and direction (bottom)
❖ Where autocorrelation exists,
the semivariance should Binning based on distance only
have slope
❖ Look at variogram to find
where slope levels
❖ Nugget:
❖ semi-variance as the separation approaches
zero;
❖ represents variability at a point that can’t be
explained by spatial structure.
❖ In the previous slide, we can estimate the sill ≅
1.9, the range ≅ 1200 m, and the nugget ≅ 0.5
i.e. 25% of the sill.
Fitting Theoretical Functions
γ (h) Experimental
Theoretical
Sill
Nugget
Effect
Range h
Functional Forms
⎪⎩C o + C1 , |h|> a
⎪
γ
⎧0 ,|h|= 0
⎪ C1
γ(h) = ⎪⎨ ⎡ ⎛ |h|⎞⎤
+
⎪C o C1 ⎢1 − exp⎜− + [Exp
⎟⎥ C o C1
⎟⎥ = (|h|)] ,|h|≠ 0
⎪⎩ ⎢ ⎜
⎝
a ⎠⎦
⎣
Co
a h
Gaussian Model
γ
⎧0 ,|h|= 0
⎪
γ(h) = ⎪⎨ ⎡ 2⎤
⎛ |h|⎞ ⎥
C1
⎪C o + C1 ⎢1 − exp + [Gau (|h|)] ,|h|≠ 0
⎢
⎟ ⎥ C o C1
⎜− ⎟ =
⎪ ⎢
⎜
⎝
a ⎠ ⎥
⎩ ⎣ ⎦ Co
a h
Kriging Method
•We can then use a scatter plot of predicted versus actual values to
see the extent to which our model actually predicts the values
•If the blue line and the points lie along the 1:1 line this indicates
that the kriging model predicts the data well
Kriging: Summary
•Here are some sample elevation points from which surfaces were
derived using the three methods
Example: IDW