Policy function incomplete - only linear terms are computed

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

Policy function incomplete - only linear terms are computed

Postby Ansgar » Wed Jan 30, 2008 10:57 am

Dear all,
I have encountered the following problem while using the second order approximation: When computing the policy function, the the computer stops after having computed the linear approximation. I let it run and after more than nine hours, it then returned the theoretical moments with "NaN" entries - still not having computed the second order parts of the policy function. What does this mean? Would be great if anyone gave me a hint what is going on. Taking the first order approximation worked fine.
I have attached the code. Many Thanks for your help.

Best,
Ansgar
You do not have the required permissions to view the files attached to this post.
Ansgar Rannenberg
IMK
Tel.: +49/211/7778113
Ansgar
 
Posts: 46
Joined: Tue Jun 26, 2007 11:35 am
Location: Düsseldorf

Postby MichelJuillard » Sat Feb 09, 2008 9:43 am

Dear Ansgar,

the expression (pi(-1))^chi, with pi = 0 et chi=1, results in a bug in the parser.
We need to fix the bug, but it is alos either a bug in the model or a little weird modeling:

pi(-1) can be negative and if chi isn't an integer, (pi(-1)^chi will be complex.

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 1 guest