diffM | R Documentation |
Performs the difference operation of a vector time series
diffM(zt, d = 1)
zt |
A vector time series (T by k, with sample size T and dimension k) |
d |
Order of differencing. Default is d=1. |
When d = 1, the command is equivalent to apply(zt,2,diff)
The differenced time series
Ruey S Tsay
data("mts-examples",package="MTS") zt=log(qgdp[,3:5]) xt=diffM(zt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.