convergence 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.

convergence problem

Postby killergabin » Tue Sep 25, 2012 9:01 am

Hi,

I've been trying to estimate a RBC model with Dynare but my model don't converge and f(x) stay around 0.26. Being a new dynare' user I think i made some mistakes in my .mod file. I hope i could find some useful advices here.

Thanks!

(.mod file attached)
Attachments
rbclic.mod
.mod file of my RBC model for developing countries
(7.42 KiB) Downloaded 60 times
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: convergence problem

Postby kyri82 » Tue Sep 25, 2012 10:06 am

Have you tried to change the initial conditions?
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: convergence problem

Postby killergabin » Tue Sep 25, 2012 10:42 am

Yes, too many times actually and these values are the one giving me the best values for f(x); may be the problem is somehere else! I don't know
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: convergence problem

Postby killergabin » Tue Sep 25, 2012 10:49 am

Dear Kyriacos if you have something in mind...
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: convergence problem

Postby kyri82 » Tue Sep 25, 2012 11:43 am

I am not sure, what can I tell you... I do not do much estimations my self. I calibrate my models but I use fsolve - myself, not via Dynare - to estimate the steady-state values. Make sure that the problem is stationary and well defined. Make sure that there are no unit roots. Some parameter values are sometimes associated to unit roots. Make sure that this is not your case. My other guess would be to try different initial conditions but you already did that...
Good luck!

K.
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: convergence problem

Postby killergabin » Tue Sep 25, 2012 12:02 pm

ok i'll try that! thank you
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: convergence problem

Postby jpfeifer » Tue Sep 25, 2012 2:05 pm

Put
Code: Select all
resid(1);

before steady and trace down the residuals. Either your steady state computation is wrong or the entered model equations. Currently there are large residuals suggesting that did a mistake somewhere.
------------
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: convergence problem

Postby killergabin » Tue Sep 25, 2012 2:20 pm

ok thanks.
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: convergence problem

Postby killergabin » Mon Jan 21, 2013 6:55 am

Hello,

I finally find some time to try to run my model again. I still have some issues there! Can someone tell me what's wrong?
Attachments
taf2.mod
(6.6 KiB) Downloaded 49 times
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am


Return to Dynare help

Who is online

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