initial values

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.

initial values

Postby pedroac81 » Fri Aug 28, 2009 8:09 pm

Hi All,

I am trying to make a Bayesian estimation of a DSGE model but I keep getting the message below:

STEADY: numerical initial values incompatible with the following equations
2 3 4 5 6 7 8 9 10

??? Error using ==> dynare_solve
exiting ...

Error in ==> c:\dynare\4.0.4\matlab\steady_.m
On line 69 ==> [oo_.steady_state,check] = dynare_solve([M_.fname '_static'],...

Error in ==> c:\dynare\4.0.4\matlab\steady.m
On line 52 ==> steady_;

Error in ==> C:\Documents and Settings\Pedro Castro\My Documents\PhD\Research\Structural Models\Brazil\model2.m
On line 136 ==> steady;

Error in ==> c:\dynare\4.0.4\matlab\dynare.m
On line 102 ==> evalin('base',fname) ;




I am attaching my code in the case anyone find it helpful.

Thank you for any comment,
Pedro
Attachments
model.mod
(4.49 KiB) Downloaded 308 times
pedroac81
 
Posts: 14
Joined: Thu May 14, 2009 4:04 am

Re: initial values

Postby SébastienVillemot » Mon Aug 31, 2009 1:20 pm

Hi,

This means that for equations 2, 3, 4, 5, 6... the initial point given to the Newton solver is not correct.

This can happen for several reasons, the most frequent being:
* you forgot to initialize a parameter
* you are taking the log of a negative number, you divide by zero...

Please check your numerical initializations (parameters and initval).

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

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