View source: R/filter.process.R
filter.process | R Documentation |
This function applies a linear filter to some vector time series.
filter.process(X, A) X %c% A
X |
vector time series given in matrix form. Each row corresponds to a timepoint. |
A |
an object of class |
Let [X_1,…, X_T]^\prime be a T\times d matrix corresponding to a vector series X_1,…,X_T. This time series is transformed to the series Y_1,…, Y_T, where
Y_t=∑_{k=-q}^p A_k X_{t-k},\quad t\in\{p+1,…, T-q\}.
The index k of A_k is determined by the lags defined for the time domain object. When index t-k falls outside the domain \{1,…, T\} we set X_t=\frac{1}{T}∑_{k=1}^T X_k.
A matrix. Row t corresponds to Y_t.
filter.process()
: Multivariate convolution (filter) in the time domain
X %c% A
: Convenience operator for filter.process
function
timedom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.