Plots of the posterior means of the forecast error variance decompositions.
# S3 method for PosteriorFEVDPANEL
plot(
x,
which_c,
cols,
main,
xlab,
mar.multi = c(1, 4.6, 0, 4.6),
oma.multi = c(6, 0, 5, 0),
...
)an object of class PosteriorFEVDPANEL obtained using the
compute_variance_decompositions() function containing posterior draws of
forecast error variance decompositions.
a positive integer or a character string specifying the country for which the forecast should be plotted.
an N-vector with colours of the plot
an alternative main title for the plot
an alternative x-axis label for the plot
the default mar argument setting in graphics::par. Modify with care!
the default oma argument setting in graphics::par. Modify with care!
additional arguments affecting the summary produced.
Tomasz Woźniak wozniak.tom@pm.me
set.seed(123) specification = specify_bvarPANEL$new(ilo_dynamic_panel[1:5])
# run the burn-in burn_in = estimate(specification, 10)
# estimate the model posterior = estimate(burn_in, 20)
# compute forecast error variance decomposition 4 years ahead fevd = compute_variance_decompositions(posterior, horizon = 4) plot(fevd, which_c = "ARG")
compute_variance_decompositions.PosteriorBVARPANEL