Error:if all parameters occurring in these equations...

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.

Error:if all parameters occurring in these equations...

Postby willbecool » Mon Sep 10, 2012 11:19 pm

Please help me! I have this basic New Keynesian model but when executing, it gives the following error:
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
??? Error using ==> dynare_solve at 98
exiting ...

Error in ==> evaluate_steady_state at 66
[ys,check] = dynare_solve([M.fname '_static'],...

Error in ==> resol at 108
[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,0);

Error in ==> check at 71
[dr,info,M,options,oo] = resol(1,M,options,oo);

Error in ==> app at 133
check(M_,options_,oo_);

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
App.mod
(1.98 KiB) Downloaded 57 times
willbecool
 
Posts: 3
Joined: Wed Sep 05, 2012 12:18 am

Re: Error:if all parameters occurring in these equations...

Postby jpfeifer » Tue Sep 11, 2012 8:53 am

As Dynare says, there is a problem with equation 4. You do not provide an initial value for pi, which is thus taken a 0. Equation 4 divides by pi which results in the error. Provide a starting value for pi.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

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