cov.structure {freqdom} | R Documentation |
Estimate cross-covariances of two stationary multivariate time series
Description
This function computes the empirical cross-covariance of two stationary multivariate time series. If only one time series is provided it determines the empirical autocovariance function.
Usage
cov.structure(X, Y = X, lags = 0)
Arguments
X |
vector or matrix. If matrix, then each row corresponds to a timepoint of a vector time series. |
Y |
vector or matrix. If matrix, then each row corresponds to a timepoint of a vector time series. |
lags |
an integer-valued vector |
Details
Let be a
matrix and
be a
matrix. We stack the vectors and
assume that
is a stationary multivariate time series
of dimension
. This function determines empirical lagged covariances between
the series
and
. More precisely it determines
for
lags,
where
is the empirical version of
.
For a sample of size
we set
and
and
and for
Value
An object of class timedom
. The list contains
-
operators
an array. Element
[,,k]
contains the covariance matrix related to lag.
-
lags
returns the lags vector from the arguments.