Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: spatial
See also: SPKRsurfls SPKRsurfgls SPKRexpcov SPKRsphercov SPKRtrmat SPKRprmat SPKRsemat SPKRcorrelogram SPKRvariogram SPKRmultcontours

Quantlet: SPKRgaucov
Description: Spatial covariance function for use with SPKRsurfgls.

Reference(s):

Link:
Usage: covvals = SPKRgaucov (r, d, alpha, se)
Input:
r n x 1 - vector of distances at which to evaluate the covariance
d scalar - range parameter
alpha sclar - proportion of nugget effect
se scalar - standard deviation at distance zero
Output:
res n x 1 - vector of covariance values

Note:

Example:

; load the spatial statistics library

library ("spatial")

; calculate spatial covariance function SPKRgaucov

; with d = 0.7, alpha = 0, and se = 1 on a grid

; from 0 through 7 

ddat = grid(0, 0.1, 71)

linedat = ddat ~ SPKRgaucov (ddat, 0.7, 0, 1)

; create a display and draw the covariance

disp = createdisplay (1, 1)

show (disp, 1, 1, linedat)

Result:

A vector of covariance values. Typically, this quantlet

is used together with SPKRsurfgls or SPKRcorrelogram.


Library: spatial
See also: SPKRsurfls SPKRsurfgls SPKRexpcov SPKRsphercov SPKRtrmat SPKRprmat SPKRsemat SPKRcorrelogram SPKRvariogram SPKRmultcontours

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Juergen Symanzik, 000725
(C) MD*TECH Method and Data Technologies, 21.9.2000