Convolute (filter) a multivariate time series using a time-domain filter
Convolute (filter) a multivariate time series using a time-domain filter
This function applies a linear filter to some vector time series.
filter.process(X, A)X %c% A
Arguments
X: vector time series given in matrix form. Each row corresponds to a timepoint.
A: an object of class timedom.
Returns
A matrix. Row t corresponds to Yt.
Details
Let [X1,…,XT]′ be a T×d matrix corresponding to a vector series X1,…,XT. This time series is transformed to the series Y1,…,YT, where
Yt=k=−q∑pAkXt−k,t∈{p+1,…,T−q}.
The index k of Ak is determined by the lags defined for the time domain object. When index t−k falls outside the domain {1,…,T} we set Xt=T1∑k=1TXk.
Functions
filter.process(): Multivariate convolution (filter) in the time domain
X %c% A: Convenience operator for filter.process function