matern {GPBayes}R Documentation

The Matérn correlation function proposed by Matérn (1960)

Description

This function computes the Matérn correlation function given a distance matrix. The Matérn correlation function is given by

C(h)=\frac{2^{1-\nu}}{\Gamma(\nu)} \left(\frac{h}{\phi} \right)^{\nu} \mathcal{K}_{\nu}\left( \frac{h}{\phi} \right),

where \phi is the range parameter. \nu is the smoothness parameter. \mathcal{K}_{\nu}(\cdot) is the modified Bessel function of the second kind of order \nu. The form of covariance includes the following special cases by specifying \nu to be 0.5, 1.5, 2.5.

Usage

matern(d, range, nu)

Arguments

d

a matrix of distances

range

a numerical value containing the range parameter

nu

a numerical value containing the smoothness parameter

Value

a numerical matrix

Author(s)

Pulong Ma mpulong@gmail.com

See Also

GPBayes-package, GaSP, gp, CH, kernel, ikernel


[Package GPBayes version 0.1.0-6 Index]