How do I examine the IRFs of the model to shocks that are not part of the model that Dynare solves for in the first place?
For example, in my model, the interest rate in my model follows an AR(1) process:
r = c + phi*r(-1) + eta;
And I want the model to be solved with eta being a normal shock of some size:
shocks;
var eta = sigma^2;
end;
However, what if, once I have solved the model, I want to examine the IRF of the model to an interest rate that is constant (at a non-steady state level) for say 10 periods, and then switches to a different constant interest rate. I want such an interest rate process to be unanticipated, when in fact the anticipated interest rate process is just the one outlined above.
One option is to extract the policy function and do this manually. But with a 3rd or 2nd order approximation the explosiveness of the model means this isn't handled well. In Dynare I get around this with pruning, but I'm not sure how I would replicate that manually.