GVAR | R Documentation |
Estimates a GVAR(1) and a VARX(1,1,1) models
GVAR(GVARinputs, N, CheckInputs = FALSE)
GVARinputs |
List of inputs for GVAR model estimation:
|
N |
Integer. Number of country-specific spanned factors. |
CheckInputs |
A logical flag to indicate whether to perform a prior consistency check on the inputs provided in |
A list containing
parameters of the country-specific VARX(1,1,1)
intercept (M+Nx1);
phi_1 (M+N x M+N);
phi_1^star (M+N x M+N);
phi_g (M+N x M+N);
Sigma (M+N x G)
parameters of the GVAR.
F0 (F X 1);
F1 (F x F);
Sigma_y (F x F)
Chudik and Pesaran, (2016). "Theory and Practice of GVAR modelling" (Journal of Economic Surveys)
data(CM_Factors_GVAR)
GVARinputs <- list( Economies = c("China", "Brazil", "Mexico", "Uruguay"),
GVARFactors = FactorsGVAR, VARXtype = "unconstrained")
GVARinputs$Wgvar <- matrix( c(0, 0.83, 0.86, 0.38,
0.65, 0, 0.13, 0.55,
0.32, 0.12, 0, 0.07,
0.03, 0.05, 0.01, 0), nrow = 4, ncol = 4)
N <- 3
GVARPara <- GVAR(GVARinputs, N)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.