Description Usage Arguments Details Value Examples
Recover original Y_in from Y, X and number of lags p
1 | bvar_get_Y_in(Y, X, p)
|
Y |
[T x m] matrix of left hand side endogeneous variables |
X |
[T x k] matrix of right hand side regressors: endogeneous and exogeneous variables |
p |
number of lags |
Recover original Y_in from Y, X and number of lags p
original supplied Y_in
1 2 3 4 | data(Yraw)
Y <- bvar_build_Y(Yraw, p = 4)
X <- bvar_build_X(Yraw, constant = TRUE, p = 4)
Y_in <- bvar_get_Y_in(Y, X, p = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.