I estimated my model, saved the output and now I want to use this output to run some counterfactuals. Before running any counterfactuals, I want to make sure my code works properly. What I do is the following:
- Estimate the model (original_estimation.mod), and save the output (results_7_est.mat).
- Then in Min_example_Counterfactuals.m: recover the parameters from the estimation, and run a simulation with these parameters using simulation.mod --which has the exact same equations and declaration order as original_estimation.mod.
However, when comparing the steady states (stored in “oo_.dr.ys” in declaration order) of original_estimation.mod to the ones in simulation.mod, they are VERY different. Why? Same parameters and equations should deliver the same steady state. If results are different even without changing any counterfactual parameters, that is a big issue.
There must be something I am missing. I would sincerely appreciate your help and input!
Thanks in advance!