divided by zero

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.

divided by zero

Postby kang » Tue Nov 24, 2009 3:05 pm

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) ;
kang
 
Posts: 6
Joined: Sat Aug 09, 2008 3:39 pm

Re: divided by zero

Postby AssiaEzzeroug » Tue Nov 24, 2009 5:23 pm

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
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm


Return to Dynare help

Who is online

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