.cor_fs | R Documentation |
Calculate correlation for fully symmetric model
.cor_fs(nugget, c, gamma = 1/2, a, alpha, beta = 0, h, u)
nugget |
The nugget effect |
c |
Scale parameter of |
gamma |
Smooth parameter of |
a |
Scale parameter of |
alpha |
Smooth parameter of |
beta |
Interaction parameter, |
h |
Euclidean distance matrix or array. |
u |
Time lag, same dimension as |
The fully symmetric correlation function with interaction parameter
\beta
has the form
C(\mathbf{h}, u)=\dfrac{1}{(a|u|^{2\alpha} + 1)}
\left((1-\text{nugget})\exp\left(\dfrac{-c\|\mathbf{h}\|^{2\gamma}}
{(a|u|^{2\alpha}+1)^{\beta\gamma}}\right)+
\text{nugget}\cdot \delta_{\mathbf{h}=\boldsymbol 0}\right),
where \|\cdot\|
is the Euclidean distance, and \delta_{x=0}
is 1
when x=0
and 0 otherwise. Here \mathbf{h}\in\mathbb{R}^2
and
u\in\mathbb{R}
. By default beta = 0
and it reduces to the separable
model.
Correlations of the same dimension as h
and u
.
Gneiting, T. (2002). Nonseparable, Stationary Covariance Functions for Space–Time Data, Journal of the American Statistical Association, 97:458, 590-600.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.