Dear Prof. Pfeifer,
maybe as a follow up question. If I put a stoch_simul after the estimation comand to compute IRFs, are those IRF computed at the posterior mode or mean?
Ben
Dear Prof. Pfeifer,
maybe as a follow up question. If I put a stoch_simul after the estimation comand to compute IRFs, are those IRF computed at the posterior mode or mean?
Ben
That depends. From the manual:
After running estimation, the parameters
M_.params
and the variance matrixM_.Sigma_e
of the shocks are set to the mode for maximum likelihood estimation or posterior mode computation without Metropolis iterations. After estimation with Metropolis iterations (optionmh_replic > 0
or optionload_mh_file
set) the parametersM_.params
and the variance matrixM_.Sigma_e
of the shocks are set to the posterior mean
I see thanks a lot! I would like to use the posterior mode instead. I can simply load the parameters from the _mh_mode file and pass them to stoch_simul I guess?
Use
xparam1 = get_posterior_parameters('mode',M_,estim_params_,oo_,options_);
M_ = set_all_parameters(xparam1,estim_params_,M_);
This is great! thanks a lot!