powered by
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.
T x 1
Y
T-p x 1
y
T-p x p
ts_lagged(Y, p)
List with vector y (vector of lagged Y) and matrix X of lagged observations.
X
Vector with time series observations.
integer for the number of lags to use in estimation. Must be greater than or equal to 1.
1