Description Usage Arguments Details Value
Using output from the tf
function, and an input (multivariate) time series,
this function generates predicted values.
1 2 3 |
object |
An object of class |
newdata |
A |
filterMod |
A |
sides |
Argument to |
returnInternals |
whether to return things computed during the prediction. Currently, this returns the full vector(s) of filter coefficients as an attribute. |
... |
additional arguments passed to |
The transfer function estimate is used to calculate filter coefficients to be
applied in the time domain via convolution with the input series newdata
.
Prior to the convolution, the filter coefficients can be modified using the
filterMod
function. If filterMod
produces a causal filter, ensure that
sides = 1
; in any case, be sure that the output of filterMod
conforms
to the requirements of filter
.
The filter coefficients are put into vectors in the orientation expected by
filter
. If N
is the total length of a block, the causal
coefficients from lag = 0 to lag = (N-1)/2 are placed on
the "right", and the non-causal coefficients from lag = -(N-1)/(2)
to lag = -1 are placed on the "left". This means that for a causal filter,
you would exclude filter coefficients with an index less than N/2,
because there are an odd number of coefficients, with lag = 0 in the middle,
and an equal number of coefficients on each side of zero.
A data.frame
with the predicted values obtained by filtering
the input series newdata
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.