Page 1 of 1

divided by zero

PostPosted: Tue Nov 24, 2009 3:05 pm
by kang
I use dynare to solve a sticky price model where there are two small open economies. I always find the message below, anyone can help?

Warning: Divide by zero.
> In rer1908_fff at 65
In dynare_solve at 41
In steady_ at 23
In steady at 7
In rer1908 at 202
In dynare at 26
Warning: Divide by zero.
> In rer1908_fff at 67
In dynare_solve at 41
In steady_ at 23
In steady at 7
In rer1908 at 202
In dynare at 26
??? Error using ==> steady_
STEADY: convergence problems

Error in ==> steady at 7
steady_;

Error in ==> rer1908 at 202
steady(0);

Error in ==> dynare at 26
evalin('base',fname) ;

Re: divided by zero

PostPosted: Tue Nov 24, 2009 5:23 pm
by AssiaEzzeroug
Hi,

by running the mod-file attached below, I found a mistake at l.3 in which u forgot to add a semicolon to end the block varexo.

It seems then that the Blanchard-Kahn conditions are not satisfied. I suggest you to check the timing of each variable in ur model.

Best