need help

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.

need help

Postby chahj78 » Thu May 05, 2011 4:50 am

Dear,

I need the help to find some error.

The error is that initial vaule is not incompatible with equations.

I am trying to figure it out. But still do not get it.

Thank you.
Attachments
optimal.mod
(1.43 KiB) Downloaded 120 times
chahj78
 
Posts: 1
Joined: Thu May 05, 2011 4:47 am

Re: need help

Postby jpfeifer » Sun May 08, 2011 8:28 am

The error message results from division by 0. As you did not specify an initval-block, all variables are initialized to 0.

Moreover, you FOCs are most probably wrong. Consider for example the term in the second model equation:
Code: Select all
(phi_c+PSI/(v/(1-rho_lambda^2)))

In the non-stochastic steady state, PSI and v are both 0. Hence, in the steady state computation,
Code: Select all
PSI/(v/(1-rho_lambda^2))

results in a division of 0 by 0. This gives you the error message for equation 2.
------------
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 6 guests