Use data to do simulation

Hi:

Recently I am using Dynare to replicate Michaillat (2012), “Do Matching Frictions Explain Unemployment? Not in Bad Times”.

In the section IV. D. of Michaillat (2012), he firstly constructed the technology shock by Solow residual ( ln a_t = ln y_t - alpha*ln n_t ).

Then he further used the technology shock constructed from data to get simulated unemployment rate.

Because the shock is constructed by real data, therefore, he can compare model simulated unemployment and real unemployment.

May I know, in dynare, is there any option that we use the shock constructed from real data and get the simulated data we are interested in?

Best regards.

jwu

This must be done via the simult_-command. There are various examples, e.g. [Choosing initial values for simult_) or github.com/JohannesPfeifer/DSGE_mod/blob/master/RBC_news_shock_model/RBC_news_shock_model.mod