| NumOutputs | R Documentation |
Constructs the model numerical outputs (model fit, IRFs, GIRFs, FEVDs, GFEVDs, and term premia)
NumOutputs(
ModelType,
ModelPara,
InputsForOutputs,
FactorLabels,
Economies,
Folder2save = NULL,
verbose = TRUE
)
ModelType |
character. Model type to be estimated. Permissible choices: "JPS original", "JPS global", "GVAR single", "JPS multi", "GVAR multi", "JLL original", "JLL No DomUnit", "JLL joint Sigma". |
ModelPara |
list. Point estimates of the model parameters. See outputs from |
InputsForOutputs |
list. Inputs for generating IRFs, GIRFs, FEVDs, GFEVDs, and Term Premia. |
FactorLabels |
list. Labels for all variables present in the model, as returned by |
Economies |
character vector. Names of the |
Folder2save |
Folder path where the outputs will be stored. Default option saves the outputs in a temporary directory. |
verbose |
Logical flag controlling function messaging. Default is TRUE. |
Both IRFs and FEVDs are computed using the Cholesky decomposition method. The risk factors are ordered as follows: (i) global unspanned factors, and (ii) domestic unspanned and spanned factors for each country. The order of countries follows the sequence defined in the Economies vector.
An object of class 'ATSMNumOutputs' containing the following keys elements:
Model parameter estimates
Model fit of bond yields
IRFs
FEVDs
GIRFs
GFEVDs
Bond yield decomposition
- 'autoplot(object, type)'
Pesaran, H. Hashem, and Shin, Yongcheol. "Generalized impulse response analysis in linear multivariate models." Economics letters 58.1 (1998): 17-29.
data("ParaSetEx")
data("InpForOutEx")
# Adjust inputs according to the loaded features
ModelType <- "JPS original"
Economy <- "Brazil"
FacLab <- LabFac(N = 1, DomVar = "Eco_Act", GlobalVar = "Gl_Eco_Act", Economy, ModelType)
NumOut <- NumOutputs(ModelType, ParaSetEx, InpForOutEx, FacLab, Economy,
Folder2save = NULL, verbose = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.