after I finished doing bayes estimation of dsge model .I saw in many papers ,the author just compare the model with the bvar or var .do they want to evaluate the
forecasting ability of the model or something else? how does dynare can help to do it ,which command?thank you so much!
There is no command for doing that as it requires an estimated structural VAR. If you have outside evidence from identified shocks in a VAR, you can compare the IRFS to the ones from the model. But that requires you to come up with an identification scheme in the VAR.