# specify the model and set seed
specification = specify_bvars$new(ilo_dynamic_panel[1:5]) # specify the model
# run the burn-in
burn_in = estimate(specification, 5)
# estimate the model
posterior = estimate(burn_in, 5)
# compute forecast error variance decomposition 4 years ahead
fevd = compute_variance_decompositions(posterior, horizon = 4)
Run the code above in your browser using DataLab