Kriging workbench

Five kriging methods, one real dataset. 155 soil samples and a 3103-cell prediction grid from the Meuse river floodplain (Stein, NL) — the classic teaching dataset from Burrough & McDonnell, distributed with R's sp/gstat packages. Heavy-metal concentrations are modeled in log10 space (they are strongly right-skewed). Work through the tabs left to right: pick a variable, look at it, shape a variogram, krige it, then turn the result into an exceedance-probability map.
Up to date.

Variable

Pick 1–3 secondary metals (always known at all 155 sites) to help predict the sparsely-sampled primary metal. With more than one, this becomes a true multivariate cokriging under a linear model of coregionalization: every variable pair shares the same spatial correlation shape, scaled by the sill and the pairwise correlation actually measured in the data.
Fraction of the 155 sites where the (expensive) primary metal is "known" in this demo; the co-variables are always known everywhere. At 100% coverage, cokriging has nothing left to add over ordinary kriging — a real, textbook result for co-located sampling. Only used by the CK method (set on the Kriging tab).
Method (SK / OK / UK / RK / CK) is chosen on the Kriging tab — it acts on whichever variable(s) you pick here.

Dataset

Meuse river floodplain, Stein, the Netherlands — heavy-metal concentrations in the top soil, sampled on a floodplain of the river Meuse. A benchmark dataset in geostatistics (Burrough & McDonnell, 1998; sp/gstat R packages).
samples
155
used (active method)
155
grid cells
3103
cell size
40 × 40 m
covariates available
dist (to river)
Summary statisticsZinc
raw (mg/kg)log10
n155
min––
max––
mean––
median––
std dev––
skewness––
Raw concentrations are strongly right-skewed (skewness well above 1); log10 brings them close to symmetric, which is why every method on the Kriging tab works in log10 space.
Histogramraw concentration, mg/kg
Spatial postingbubble size & color = concentration
Trend checklog10(metal) vs. distance to river
A non-trivial correlation here is what Universal Kriging (UK) and Regression Kriging (RK) exploit on the Kriging tab by using dist as a drift term / trend predictor.

Variogram model

Distance at which points stop informing each other.
Noise floor at zero distance, as a fraction of the sill.
The curve below updates as you drag; it only feeds into the prediction/probability maps once you click Run.
Variogrammodel curve vs. empirical semivariance of the active sample series
fitted model binned empirical semivariance dashed guides mark nugget, sill and range

Kriging method

Simple-kriging mean

0 = use the sample mean of log10(primary); slide to override it.

Reading at cursor

x, y
—
ż̂ (mg/kg)
—
~68% range
—
log10 ż̂ ± σ
—
Predictionż̂(s), mg/kg
–
–
Uncertaintykriging std error σ(s), log10 units
0
–

Exceedance threshold

P(Z(s) > cutoff) at every grid cell, from the last Run's kriged mean and variance, assuming the log10-transformed value is conditionally Gaussian.
cells ≥ 50% risk
–

Reading at cursor

x, y
—
P(exceed)
—
Exceedance probabilityP(primary metal > cutoff)
0%
100%