specification = specify_bvarPANEL$new(ilo_dynamic_panel[1:5]) # specify the model
burn_in = estimate(specification, 10) # run the burn-in
posterior = estimate(burn_in, 10) # estimate the model
# forecast 5 years ahead
predictive = forecast(posterior, 6)
plot(predictive, which_c = "ARG") # plot forecasts
Run the code above in your browser using DataLab