ts_lagged | R Documentation |
This function takes a (T x 1
) vector Y
and returns the (T-p x 1
) vector y
and the (T-p x p
) matrix of lagged observations.
ts_lagged(Y, p)
Y |
Vector with time series observations. |
p |
integer for the number of lags to use in estimation. Must be greater than or equal to |
List with vector y
(vector of lagged Y
) and matrix X
of lagged observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.