Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nonstwm

nonstwm


Description

The non-stationary Whittle-Matern model C is given by

C(x, y)=Γ(μ) Γ(ν(x))^{-1/2} Γ(ν(y))^{-1/2} W_{μ} (f(μ) |x-y|)

where μ = [ν(x) + ν(y)]/2, and ν must a positive function.

W_{μ} is the covariance function whittle.

The function f takes the following values

scaling = "whittle" :

f(μ) = 1

scaling = "matern" :

f(μ) = √{2ν}

scaling = "handcockwallis" :

f(μ) = 2√{ν}

scaling = s, numerical :

f(μ) = s * √{nu}

Usage

nonstwm(x, y, nu, log=FALSE,
        scaling=c("whittle", "matern", "handcockwallis"))

Arguments

x, y

numerical vectors of the same length

nu

positive value or a function with positive values and x as argument

log

logical. If TRUE the logirithm of the covariance function is returned.

scaling

positive value or character; see Details.

Value

A single value is returned.

Author(s)

References

  • Stein, M. (2005) Nonstationary Spatial Covariance Functions. Tech. Rep., 2005

See Also

For more details see RMnonstwm.

Examples

nonstwm(2, 1, sin)

RandomFieldsUtils

Utilities for the Simulation and Analysis of Random Fields

v0.5.3
GPL (>= 3)
Authors
Martin Schlather [aut, cre], Reinhard Furrer [ctb], Martin Kroll [ctb], Brian D. Ripley [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.