Cannot figure out problem with STEADY.

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.

Cannot figure out problem with STEADY.

Postby macroeconomist » Sun Feb 24, 2013 5:44 pm

Hi,

I am using Dynare 4.3.0 and I am currently getting the following error:

STEADY: numerical initial values incompatible with the following equations
3

Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs

I have manually calculated and checked the steady states as well as equation 3 and other model equations and find no division by 0 or -ve numbers or any other problems. The non-log version of the model is running fine. But I have been at this for a while and still not getting anywhere, so I was wondering if the problem is with the dynare version I am using?
Or is there something else I am missing? I am attaching the mod file. Can anyone please help?
Attachments
model.mod
(2.33 KiB) Downloaded 49 times
macroeconomist
 
Posts: 10
Joined: Mon Aug 31, 2009 10:27 pm

Re: Cannot figure out problem with STEADY.

Postby donihue » Mon Feb 25, 2013 10:18 am

Your definition of wss makes its value 0; then you try to initialise w to log(wss) which is undefined. If you replace "l" by "lss" in the definition of wss, the model works.
Regards
Donihue
donihue
 
Posts: 34
Joined: Mon Sep 12, 2011 1:12 pm

Re: Cannot figure out problem with STEADY.

Postby macroeconomist » Mon Feb 25, 2013 4:54 pm

Oh great! Thanks a lot!!
macroeconomist
 
Posts: 10
Joined: Mon Aug 31, 2009 10:27 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests