Description Usage Arguments Details Value Author(s) References Examples
stcov
computes the space-time covariance of the serie data
between slag1
-th and slag2
-th order neighbours at time lag tlag
.
1 |
data |
a matrix or data frame containing the space-time series: row-wise should be the temporal observations, with each column corresponding to a site. |
wlist |
a list of the weight matrices for each k-th order neighbours, first one being the identity. |
slag1, slag2 |
the space lags for the space-time covariance. |
tlag |
the time lag for the space-time covariance. |
stcov
is mainly used as an internal function for the computation of stacf
and stpacf
.
slag1
and slag2
must be lower than length(wlist)
.
It is computed as follows:
gamma[lk](s) = Tr ( ∑_[t=s+1]^[T] ( t(W[k]) * W[l] * z(t) * t(z(t-k)) )) / N(T-s)
A numeric.
Felix Cheysson
Pfeifer, P., & Deutsch, S. (1980). A Three-Stage Iterative Procedure for Space-Time Modeling. Technometrics, 22(1), 35-47. doi:10.1080/00401706.1980.10486099
1 2 3 4 5 6 |
[1] 0.005537725
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.