Mendoza 91-Endogenous discount factor.

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.

Mendoza 91-Endogenous discount factor.

Postby basik » Sun Sep 30, 2012 9:13 pm

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.
basik
 
Posts: 4
Joined: Sat Aug 25, 2012 12:42 pm

Re: Mendoza 91-Endogenous discount factor.

Postby jpfeifer » Fri Oct 19, 2012 2:18 pm

The issue is finding the steady state. Compute it manually and enter it into the initval-block.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Mendoza 91-Endogenous discount factor.

Postby basik » Sat Oct 20, 2012 7:13 pm

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.
Attachments
model1mendoza.mod
(5.87 KiB) Downloaded 150 times
basik
 
Posts: 4
Joined: Sat Aug 25, 2012 12:42 pm

Re: Mendoza 91-Endogenous discount factor.

Postby jpfeifer » Sat Oct 20, 2012 10:25 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Mendoza 91-Endogenous discount factor.

Postby basik » Sun Oct 21, 2012 10:40 am

thank you for your comments...
basik
 
Posts: 4
Joined: Sat Aug 25, 2012 12:42 pm

Re: Mendoza 91-Endogenous discount factor.

Postby RMB » Thu Sep 11, 2014 5:02 pm

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
Attachments
Uribe_chapter4.mod
(2.69 KiB) Downloaded 67 times
RMB
 
Posts: 40
Joined: Tue Jun 03, 2014 4:20 am

Re: Mendoza 91-Endogenous discount factor.

Postby jpfeifer » Sat Sep 13, 2014 8:28 am

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.
Attachments
Uribe_chapter4.mod
(2.71 KiB) Downloaded 108 times
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron