I have two interrelated questions. I have estimated a model (Bayesian, all standard, no problems).
Now I want to play with results, plot counterfactuals - all in MATLAB, using *_results.mat. file
I load *_results.mat
set shocks and initial values,
(I think at some point it asks for _dynamic.mat and _static_mat so I have all of them in the same folder where the plotting code is)
[oo_.dr,info,M_,options_] = resol(0,M_,options_,oo_);
- set different shocks (and initial values if needed)
At resol it complains
“Unrecognized function or variable ‘mjdgges’”
However, if I previously run any kind of dynare simulations (different file, simulations, not estimation, for example) then there is no complaint.
Question 1: does it matter what I run before? Or if i plot something it must be immediately after the estimation code with the model has been run? (This would be very odd, I would say)
Question 2: what is this resol doing? Do I need to call resol again before calling y_1=simult_(y0,dr,ex_1,iorder)?
Just checking that what I am doing is correct.
PS. I am using 4.5.7 but happy to change to something else if this sis a bug.