hi ever body
this is the DSGE code for multi sector in the economics when i run it
it had a problem
please check it and guide me
rr.mod (7.55 KB)

There is most probably either a timing mistake or a conceptual problem like [Timing of capital in two sector economy) in your model. Again, I would recommend starting with a simple version of the model that runs and then adding features.

thanks a lot if it is possible to you give me the address of paper of your model that you suggested

I did not cite a paper, but a similar framework is used in my own paper “Terms of trade uncertainty and business cycle fluctuations”.