Estimate a VAR(1) - suited to Bauer, Rudebusch and Wu (2012) methodology
estVARbrw(
RiskFactors,
ModelType,
N,
GVARinputs,
JLLinputs,
FactorLabels,
Economies,
demean = FALSE,
intercept = TRUE
)
list containing VAR(1) parameters #'
Gamma_hat: feedback matrix (F X F)
alpha_hat: intercept (F x 1)
#'@references
Bauer, Rudebusch and, Wu (2012). "Correcting Estimation Bias in Dynamic Term Structure Models".
This function is similar to the "estVAR" Matlab function available at Cynthia Wu's website (https://sites.google.com/view/jingcynthiawu/).
time series of the risk factors (T x F)
string-vector containing the label of the model to be estimated
number of country-specific spanned factors (scalar)
inputs used in the estimation of the GVAR-based models (see "GVAR" function)
inputs used in the estimation of the JLL-based models (see "JLL" function)
string-list based which contains the labels of all variables present in the model
string-vector containing the names of the economies which are part of the economic system
demean the data before estimation. Default is set to FALSE
Include intercept in the VAR model. Default is set to TRUE