GVAR {MultiATSM}R Documentation

Estimate a GVAR(1) and a VARX(1,1,1)

Description

Estimate a GVAR(1) and a VARX(1,1,1)

Usage

GVAR(GVARinputs, N)

Arguments

GVARinputs

List containing the following necessary inputs for the estimation of the GVAR:

  1. Economies: string-vector containing the names of the economies which are part of the economic system

  2. 'GVARFactors': list of all variables that are used in the estimation of the VARX
    (see e.g. 'CM_Factors_GVAR' file);

  3. 'VARXtype': character-vector containing three possibilities:

    • 'unconstrained': model is estimated without any constrained (each equation is estimated individually by OLS);

    • 'constrained: Spanned Factors': model is estimated taking into account the fact that foreign-pricing-factors do NOT impirge on (i) domestic economic variables and (ii) domestic pricing factors. (equations are estimated by restricted least squares)

    • 'constrained: ' extended by the name of the risk factor: model is estimated taking into account the fact that the restricted factor is only affected by its own lagged values and the lagged values of its own star variables. (equations are estimated by restricted least squares)

  4. 'Wgvar': GVAR transition matrix (C x C) - see the output from 'Transition_Matrix' function

N

number of country-specific spanned factors (scalar)

Value

A list containing

  1. 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)

  2. parameters of the GVAR.

    • F0 (F X 1);

    • F1 (F x F);

    • Sigma_y (F x F)

References

Chudik and Pesaran, (2016). "Theory and Practice of GVAR modelling" (Journal of Economic Surveys)

Examples

data(CM_Factors_GVAR)

N <- 3

GVARinputs <- list()
GVARinputs$Economies <- c("China", "Brazil", "Mexico", "Uruguay")
GVARinputs$GVARFactors <- FactorsGVAR
GVARinputs$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)

GVAR(GVARinputs, N)

[Package MultiATSM version 0.3.6 Index]