Generates the labels factors
LabFac(N, DomVar, GlobalVar, Economies, ModelType)
List containing the risk factor labels
Integer. Number of country-specific spanned factors.
A character vector containing the names of the domestic variables.
A character vector containing the names of the global variables.
A character vector containing the names of the economies included in the system.
A character vector indicating the model type to be estimated.
N <- 2
DomVar <- c("inflation", "Output gap")
GlobalVar <- "Commodity Prices"
Economies <- c("U.S.", "Canada", "Germany", "Japan")
ModelType <- "JPS original"
VarLabels <- LabFac(N, DomVar, GlobalVar, Economies, ModelType)
Run the code above in your browser using DataLab