Endogenous Growth Model

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.

Endogenous Growth Model

Postby sidus87 » Thu Dec 08, 2016 2:30 pm

Hi,

I would like to write a DSGE model with endogenous growth. For this sake I first wanted to "play around" with the model by Kung (JFE, 2014) and tried to replicate it. I stationarized the model and derived the SS. Using the same parameter values as in the paper I get that the BK conditions are not satisfied. I'm probably doing something wrong, but I double(triple)-checked the model equations and I cannot find the mistake. Could anyone maybe take a look at it?

Thanks a lot in advance.
Attachments
kung_2014.mod
(4.34 KiB) Downloaded 102 times
Last edited by sidus87 on Fri Dec 09, 2016 4:18 pm, edited 1 time in total.
sidus87
 
Posts: 23
Joined: Sat Jun 23, 2012 9:46 pm
Location: London, UK

Re: Endogenous Growth Model

Postby jpfeifer » Thu Dec 08, 2016 7:05 pm

The attached model does not run due to various problems. Are you sure you uploaded the correct version?
------------
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: Endogenous Growth Model

Postby sidus87 » Fri Dec 09, 2016 4:19 pm

Sorry for the incovenience. I edited the previous post. Now it should be the correct version.

Thanks a lot for your help.
sidus87
 
Posts: 23
Joined: Sat Jun 23, 2012 9:46 pm
Location: London, UK

Re: Endogenous Growth Model

Postby jpfeifer » Sat Dec 10, 2016 8:59 am

I can only recommend checking the timing of the equations. In particular, look at the Euler equations if you e.g. missed a (+1) somewhere, e.g. in the inner derivatives.
------------
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: Endogenous Growth Model

Postby sidus87 » Wed Feb 15, 2017 5:35 pm

The BK conditions are now satisfied (I had written the Taylor Rule with Output growth instead of deviations from steady state).
I still haven't managed to replicate the code as there's quite some information missing from the paper. Did anyone manage to replicate it by any chance?

Another question concerns the steady state. I have one equation that in steady state isn't completely satisfied apparently but the residual is quite small (-3.3379e-06) and the code runs despite the error. Is that a problem? Moreover I don't get why I have this error, given that the equation is just a simple definition of an auxiliary variable.

Thanks in advance for your help
Attachments
Kung2015.mod
(7.89 KiB) Downloaded 124 times
sidus87
 
Posts: 23
Joined: Sat Jun 23, 2012 9:46 pm
Location: London, UK

Re: Endogenous Growth Model

Postby jpfeifer » Thu Feb 16, 2017 9:27 am

Epstein-Zin preferences introduce big nonlinearities into the model that sometimes lead to numerical problems. Your U1sigma is about 21 in steady state. It enters as
Code: Select all
exp(U1sigma)

which is huge and can result in overflow. Your are lucky in that the residual is still within Dynare's accepted tolerance. Thus, there is not too much to worry. But best practice in these cases is to introduce a normalizing constant into the utility function that makes U equal to 1 in steady state. That avoids most problems of this type.
------------
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: Endogenous Growth Model

Postby sidus87 » Thu Feb 16, 2017 10:35 am

Thanks a lot for the quick reply
sidus87
 
Posts: 23
Joined: Sat Jun 23, 2012 9:46 pm
Location: London, UK


Return to Dynare help

Who is online

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