Page 1 of 1

Mendoza 91-Endogenous discount factor.

PostPosted: Sun Sep 30, 2012 9:13 pm
by basik
Hi,
I am trying to replicate Schmitt-Grohé and Uribe's Endogenous discount factor model. When I run the model, I get

??? Error using ==> print_info at 57
Impossible to find the steady state. Either the model doesn't have a unique steady state
of the guess values are too far from the solution

Error in ==> steady at 92
print_info(info,options_.noprint);

Error in ==> model1mendoza1 at 183
steady;

Error in ==> dynare at 120
evalin('base',fname) ;

I have some troubles to introduce variable eta to the model. Is there any idea how I introduce eta? I would appreciate any help.
Thanks.

Re: Mendoza 91-Endogenous discount factor.

PostPosted: Fri Oct 19, 2012 2:18 pm
by jpfeifer
The issue is finding the steady state. Compute it manually and enter it into the initval-block.

Re: Mendoza 91-Endogenous discount factor.

PostPosted: Sat Oct 20, 2012 7:13 pm
by basik
Thanks for the answer. I tried it but I could not find the solution. When I run the code, MATLAB writes residuals as follows,

Residuals of the static equations:

Equation number 1 : 0
Equation number 2 : 0
Equation number 3 : 0
Equation number 4 : 0
Equation number 5 : 0
Equation number 6 : 5.6028
Equation number 7 : 2.5778
Equation number 8 : 5.6217
Equation number 9 : 0
Equation number 10 : 0
Equation number 11 : 0
Equation number 12 : 0

6., 7., and 8. equations which has eta variable. I think that is there problem with eta. Am I wrong? Or did I do something wrong while I was writing the equations in the initval block? I attached my code.
Again thank you for your answer.

Re: Mendoza 91-Endogenous discount factor.

PostPosted: Sat Oct 20, 2012 10:25 pm
by jpfeifer
The problem is either in the model equations or the corresponding steady state computation for 6-9. Checking equations is something you have to do.

Re: Mendoza 91-Endogenous discount factor.

PostPosted: Sun Oct 21, 2012 10:40 am
by basik
thank you for your comments...

Re: Mendoza 91-Endogenous discount factor.

PostPosted: Thu Sep 11, 2014 5:02 pm
by RMB
Hi, I am trying to simulate Uribe's Chapter 4 of Open Economy Macroeconomics (http://www.columbia.edu/~mu2166/lecture_notes.html), but I am having problems with Blanchard-Kahn conditions. I am using a toolbox from Marcelo Oviedo (http://128.118.178.162/eps/ge/papers/0501/0501004.pdf), on page 11-2, he offered the equilibrium equations, I used them with some adaptations, but I am still having problems. Anyone could help me?
Thanks

Re: Mendoza 91-Endogenous discount factor.

PostPosted: Sat Sep 13, 2014 8:28 am
by jpfeifer
Your timing for capital and technology was wrong. I attach a version where this is corrected. You also had a wrong (linear) option. The IRFs are still strange so there might another mistake. Note that the lecture notes of Uribe had typos in that model in an earlier version. I don't know whether they have been fixed. So you might want to check the notes.