by dphm » Sun Sep 20, 2015 12:00 am
Hi hodabbbb
I actually realized that because I'm changing parameters that have nothing to do with the steady state, I don't have to run the model again every time I change that parameter value.
So I can resolve for the new steady state using the following command "[dr_,~,M_,~,oo_] = resol(0,M1_,options1_,oo1_);". Now the thing is how do I get the impulse response functions from this command?
What I have now is I run a loop such that if there is more than one change in the parameter, at the second change, I'll skip the "dynare (my model)" command and just go straight to resolving for the new steady-state.
But now, my problem is how do I get the impulse responses from the new steady-state? Because previously, I can simply do oo_.irfs right? But for this, I definitely can't do just that.
By the way, I think that using oo_.irfs to plot the IRFs might not be so general a way because, correct me if I'm wrong, but let's say your shock comes from epsilon_z, then you gotta execute "plot(oo_.irfs.Y_epsilon_z)" but what if I have multiple shocks at one time? How do I plot the impulse response functions more generally?
Thanks.