Hi, dear professor, I want to such a thing and wonder if it possible to realize it in dynare.
First I do Bayesian estimation and have the smoothed shocks in my hand.
and I change the basic model to a ramsey-policy or a OSR style that makes certain policy variable optimally determined.
And then I put the smoothed shocks into the new ramsey-policy or OSR model in order to get the counterfactual smoothed time path of some certain endogenous variable.
So is that possible?
I know if I just change some part of the model, I could use simult_.m file to do that.