Visualization of the impulse responses. Responses are plotted on a grid, where rows correspond to variables and columns correspond to shocks.
Arguments
- x
An object of type
bayesianVARs_irfobtained viairf.- vars
character vector containing the names of the variables to be visualized. The default is
"all"indicating that all variables are visualized.- quantiles
numeric vector indicating which quantiles to plot. If
hairy=TRUEwas specified when callingirf, a proportion ofmax(quantiles)IRFs will be plotted. Specify0to plot a point-estimate only. Ifhairy=FALSEwas specified (the default), point-wise quantiles will be plotted. Note that the curve of point-wise medians is not necessarily in the set of IRFs (see Inoue 2022).- default_hair_color
the color of the IRF samples, if
hairy=TRUEwas specified.- true_irf
If the true IRFs are known (because the data was simulated) they can be plotted alongside the estimates, such that the quality of the estimates may be judged.
true_irfshould be a numeric array with dimensions variables, shocks and time, in that order.- ...
Currently ignored!
References
Inoue, A. and Kilian, L. (2022). Joint Bayesian inference about impulse responses in VAR models. Journal of Econometrics, doi:10.1016/j.jeconom.2021.05.010 .
Author
Stefan Haan sthaan@edu.aau.at
