fts.cov.structure {freqdom.fda} | R Documentation |
Estimate autocovariance and cross-covariances operators
Description
This function is used to estimate a collection of cross-covariances operators of two stationary functional series.
Usage
fts.cov.structure(X, Y = X, lags = 0)
Arguments
X |
an object of class |
Y |
an object of class |
lags |
an integer-valued vector |
Details
Let and
be two samples of functional data. This function determines empirical lagged covariances between the series
and
. More precisely it determines
where is the empirical version of the covariance kernel
.
For a sample of size
we set
and
. Now for
and for
Since and
we can write
where is defined as for the function “cov.structure” for series of coefficient vectors
and
.
Value
An object of class fts.timedom
. The list contains the following components:
-
operators
an array. Element
[,,k]
contains the covariance matrix of the coefficient vectors of the two time series related to lag.
-
lags
the lags vector from the arguments.
-
basisX
X$basis
, an object of classbasis.fd
(seecreate.basis
) -
basisY
Y$basis
, an object of classbasis.fd
(seecreate.basis
)
See Also
The multivariate equivalent in the freqdom
package: cov.structure
Examples
# Generate an autoregressive process
fts = fts.rar(d=3)
# Get covariance at lag 0
fts.cov.structure(fts, lags = 0)
# Get covariance at lag 10
fts.cov.structure(fts, lags = 10)
# Get entire covariance structure between -20 and 20
fts.cov.structure(fts, lags = -20:20)
# Compute covariance with another process
fts0 = fts + fts.rma(d=3)
fts.cov.structure(fts, fts0, lags = -2:2)