EffectiveRange {StempCens} | R Documentation |
Effective range for some spatial correlation functions
Description
It computes the effective range for an isotropic spatial correlation function, which is commonly defined to be the distance from which the correlation becomes small, typically below 0.05.
Usage
EffectiveRange(cor = 0.05, phi, kappa = 0, Sp.model = "exponential")
Arguments
cor |
effective correlation to check for. By default = 0.05. |
phi |
spatial scaling parameter. |
kappa |
smoothness parameter, required by the matern and power exponential functions. By default = 0. |
Sp.model |
type of spatial correlation function: ' |
Details
The available isotropic spatial correlation functions are:
- Exponential:
,
- Gaussian:
,
- Matern:
,
- Power exponential:
,
- Spherical:
,
where is the Euclidean distance between two observations,
is the spatial scaling
parameter,
is the gamma function,
is the smoothness parameter and
is the modified Bessel function of the second kind of order
.
Value
The function returns the effective range, i.e., the approximate distance from which the
spatial correlation is lower than cor
.
Author(s)
Katherine L. Valeriano, Victor H. Lachos and Larissa A. Matos
Examples
phi <- 164.60
range1 <- EffectiveRange(0.05, phi, kappa=0, Sp.model="exponential")
range2 <- EffectiveRange(0.05, phi, kappa=1, Sp.model="pow.exp")
# Note that these functions are equivalent.