Dear community,
Hello. I am new to DSGE and Dynare, and I am working on a model that incorporates the financial accelerator, drawing from Christensen and Dib (2008) and CMR (2014).
I’ve encountered some strange results in the IRFs: for example, a positive technology shock (eta_A) leads to a negative initial response of output (y).
I suspect this may be due to a timing mistake in the codes, but after carefully checking the equations, I haven’t been able to identify the problem. I have also consulted these related posts: Production negatively react to technology shock, Why the starting point of the technology shock to output is negative, and have simplified the model as much as possible, but the issue persists.
I would be very grateful for any suggestions on how to diagnose and correct this issue. I have attached my codes for computing the steady state and the .mod file:
Steady state:
ss_get.m (6.5 KB)
ss_get_func4.m (1.5 KB)
Model:
model.mod (13.8 KB)
Thank you very much for your help!