Forecast, shock decomposition after Bayesian estimation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Forecast, shock decomposition after Bayesian estimation

Postby JoseDNino » Mon Dec 12, 2016 1:10 pm

I’ve already done Bayesian estimation with my model and have the results using the following command

Code: Select all
estimation(datafile=observables_gali2, mode_check, mh_conf_sig=0.95,mh_replic=1000000,selected_variables_only, mode_compute=6) y_obs;


However, I now need to use this bayesian estimation to do unconditional forecasts, historical variance decomposition of shocks and Bayesian IRFs. How do you recommend to do this without having to run the time consuming estimation command again?

Thanks for your valuable help.

Jose D. Niño
JoseDNino
 
Posts: 12
Joined: Mon Apr 04, 2016 3:25 pm

Re: Forecast, shock decomposition after Bayesian estimation

Postby jpfeifer » Mon Dec 12, 2016 1:23 pm

First of all, do a backup of the folder. Then, load the mode_file, use the load_mh_file-option, and set mh_replic=0 so as to not add additional draws. Also enable the options you need like forecast

Code: Select all
estimation(mh_replic=0,mode_compute=0,mode_file=whatever_the_name_of_the_mode_file_is,load_mh_file,forecast=8,bayesian_irfs...)

The shock_decomposition is a separate command that can be put after estimation.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Forecast, shock decomposition after Bayesian estimation

Postby JoseDNino » Mon Dec 12, 2016 7:30 pm

Thanks Dr. Johannes for your quick and helpful reply.
JoseDNino
 
Posts: 12
Joined: Mon Apr 04, 2016 3:25 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests