Residuals of the static equations - problem

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Residuals of the static equations - problem

Postby tristao.tiago » Sat Aug 15, 2015 10:34 pm

Hi, Im trying to run A basic new-keynesian model with Epstein-Zin preferences (its a simple version of Swanson´s working paper "A Macroeconomic Model of Equities and Real, Nominal, and Defaultable Debit). But I've got this problem:

Residuals of the static equations:

Equation number 1 : 0.020525
Equation number 2 : 0.87743
Equation number 3 : 0.99
Equation number 4 : 0.14159
Equation number 5 : 0.025505
Equation number 6 : 0.0088414
Equation number 7 : 3.8788
Equation number 8 : 0.062289
Equation number 9 : 0.4588
Equation number 10 : -0.020182
Equation number 11 : 0.010517
Equation number 12 : -0.10875
Equation number 13 : 1.5278
Equation number 14 : -0.032578
Equation number 15 : -0.026942
Equation number 16 : 0

But I calculate steady state by hand 3 times in a row........ My model is attached. I have doubt about my Epstein-Zin preference (using auxiliary Variable). Could help me???

Thanks.
Attachments
modelo1_EZ_persistente.mod
(3.17 KiB) Downloaded 102 times
tristao.tiago
 
Posts: 5
Joined: Sat Aug 15, 2015 10:26 pm

Re: Residuals of the static equations - problem

Postby Fabian » Tue Aug 18, 2015 7:40 am

If you have residuals I think there are two things that might went wrong:
1) Your steady states are plainly wrong.
2) The ordering of your steady state equations is messed up. Example:
B_ss = 5,
A_ss = B_ss + C_ss,
C_ss = 2
Even if each equation might be right, A_ss will have value 5 instead of 7.

Otherwise I highly recommend Mr. Pfeifer's Website (https://sites.google.com/site/pfeiferecon/dynare) and the codes made avaible there. Especially the Caldaraetal2012.mod might help you in implementing the Epstein-Zin preferences.
Fabian
 
Posts: 11
Joined: Fri May 15, 2015 11:56 am

Re: Residuals of the static equations - problem

Postby tristao.tiago » Tue Aug 18, 2015 11:07 am

Thanks a lot. im gonna check Caldaraetal2012.mod. Im pretty sure my steady states are right.
tristao.tiago
 
Posts: 5
Joined: Sat Aug 15, 2015 10:26 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests