bvar_get_Y_in: Recover original Y_in from Y, X and number of lags p

Description Usage Arguments Details Value Examples

Description

Recover original Y_in from Y, X and number of lags p

Usage

1
bvar_get_Y_in(Y, X, p)

Arguments

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

Details

Recover original Y_in from Y, X and number of lags p

Value

original supplied Y_in

Examples

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)

bdemeshev/bvarr documentation built on May 12, 2019, 3:40 a.m.