15
Variograms/Covariances and their estimation STAT 498B

Variograms/Covariances and their estimation STAT 498B

  • View
    223

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Variograms/Covariances and their estimation STAT 498B

Variograms/Covariancesand their estimation

STAT 498B

Page 2: Variograms/Covariances and their estimation STAT 498B

The exponential correlation

A commonly used correlation function is (v) = e–v/. Corresponds to a Gaussian process with continuous but not differentiable sample paths.More generally, (v) = c(v=0) + (1-c)e–v/ has a nugget c, corresponding to measurement error and spatial correlation at small distances.All isotropic correlations are a mixture of a nugget and a continuous isotropic correlation.

Page 3: Variograms/Covariances and their estimation STAT 498B

The squared exponential

Usingyields

corresponding to an underlying Gaussian field with analytic paths.

This is sometimes called the Gaussian covariance, for no really good reason.

A generalization is the power(ed) exponential correlation function,

G'(x) =2xφ2 e−4x2 / φ2

ρ(v) = e− v

φ( )2

ρ(v) = exp − vφ⎡⎣ ⎤⎦

κ

( ), 0 < κ ≤ 2

Page 4: Variograms/Covariances and their estimation STAT 498B

The spherical

Corresponding variogram

ρ(v) =1− 1.5v + 0.5 v

φ( )3; h < φ

0, otherwise

⎧⎨⎪

⎩⎪

τ2 +σ2

23 t

φ + ( tφ)3

( ); 0 ≤ t ≤ φ

τ2 + σ2; t > φ

nugget

sill range

Page 5: Variograms/Covariances and their estimation STAT 498B
Page 6: Variograms/Covariances and their estimation STAT 498B

The Matérn class

where is a modified Bessel function of the third kind and order . It corresponds to a spatial field with –1 continuous derivatives=1/2 is exponential; =1 is Whittle’s spatial correlation; yields squared exponential.

G'(x) =2κφ2κ

x(x2 + φ−2 )1+κ

ρ(v) =1

2κ−1Γ(κ)

v

φ

⎛⎝⎜

⎞⎠⎟

κ

v

φ

⎛⎝⎜

⎞⎠⎟

κ → ∞

Page 7: Variograms/Covariances and their estimation STAT 498B
Page 8: Variograms/Covariances and their estimation STAT 498B

Some other covariance/variogram

families

Name Covariance Variogram

Wave

Rational quadratic

Linear None

Power law None

σ2 sin(φt)

φt

σ2 (1−t2

1+ φt2 )

τ2 + σ2 (1−sin(φt)

φt)

τ2 +σ2t2

1+ φt2

τ2 + σ2t

τ2 + σ2tφ

Page 9: Variograms/Covariances and their estimation STAT 498B

Recall Method of moments: square of all pairwise differences, smoothed over lag bins

Problems: Not necessarily a valid variogram

Not very robust

Estimation of variograms

γ(h) =1

N(h)(Z(si ) − Z(s j ))

2

i,j∈N(h)∑

N(h) = (i, j) : h−Δh2

≤ s i −s j ≤h+Δh2

⎧⎨⎩

⎫⎬⎭

γ(v) = σ2 (1− ρ(v))

Page 10: Variograms/Covariances and their estimation STAT 498B

A robust empirical variogram estimator

(Z(x)-Z(y))2 is chi-squared for Gaussian data

Fourth root is variance stabilizing

Cressie and Hawkins:

%γ(h) =

1N(h)

Z(si ) − Z(s j )12∑

⎧⎨⎩

⎫⎬⎭

4

0.457 +0.494N(h)

Page 11: Variograms/Covariances and their estimation STAT 498B

Least squares

Minimize

Alternatives: • fourth root transformation• weighting by 1/2

• generalized least squares

θ a ([ Z(si ) − Z(s j)]2 − γ( si − s j ;θ)( )

j∑

i∑

2

Page 12: Variograms/Covariances and their estimation STAT 498B

Maximum likelihood

Z~Nn(,) = [(si-sj;)] = V()

Maximize

and q maximizes the profile likelihood

l (μ,α,θ) = −n

2log(2πα ) −

1

2logdetV(θ)

+1

2α(Z − μ)TV(θ)−1(Z − μ)

ˆ μ = 1TZ / n ˆ α = G(ˆ θ ) / n G(θ) = (Z − ˆ μ )TV(θ)−1(Z − ˆ μ )

l * (θ) = −n

2log

G2(θ)

n−

1

2logdetV(θ)

Page 13: Variograms/Covariances and their estimation STAT 498B

A peculiar ml fit

Page 14: Variograms/Covariances and their estimation STAT 498B

Some more fits

Page 15: Variograms/Covariances and their estimation STAT 498B

All together now...