Get X column names from exo_varnames and endo_varnames

bvar_create_X_colnames(endo_varnames, exo_varnames, p)

Arguments

endo_varnames

endogeneous variable names

exo_varnames

exogeneous variable names

p

number of lags

Value

vector of variable names

Details

Get X column names from exo_varnames and endo_varnames

Examples

data(Yraw) exo_names <- bvar_get_exo_varnames(Yraw) endo_names <- bvar_get_endo_varnames(Yraw) bvar_create_X_colnames(endo_names, exo_names, p = 2)
#> [1] "inflation, l = 1" "unemployment, l = 1" "interest_rate, l = 1" #> [4] "inflation, l = 2" "unemployment, l = 2" "interest_rate, l = 2" #> [7] "const" "inflation" "unemployment" #> [10] "interest_rate"