spec = specify_bvarPANEL$new(ilo_dynamic_panel[1:5]) # specify the model
poos = specify_poosf_exercise$new( # specify the forecasting exercise
spec,
S = 5, # use at least S = 5000
S_burn = 2, # use at least S_burn = 1000
horizons = 1,
training_sample = 30
)
fore = forecast_poos_recursively(spec, poos) # execute the forecasting exercise
Run the code above in your browser using DataLab