Problems with 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.

Problems with initial values

Postby armarm » Fri Jun 21, 2013 6:25 am

Hello everyone, I have written a simple two-sector general equilibrium model, but I cannot solve it , the error says " numerical initial values incompatible with the following equations 1 2 8 11" . I have tried many ways, both deterministic and stochastic versions of the model. Tried to change initial values, computed steady state value of k in excel, and added it as initval, but it does not help as well. Can anyone help me with this problem?
Here is the mod file
Attachments
a1model.mod
(737 Bytes) Downloaded 58 times
armarm
 
Posts: 2
Joined: Fri Jun 21, 2013 6:14 am

Re: Problems with initial values

Postby jpfeifer » Fri Jun 21, 2013 9:37 am

If a variable cannot be 0 in steady state, set an initval different from zero. Take the first equation. You divide by la, but la is initialized to 0. Dividing by 0 gives the error message.
------------
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

Re: Problems with initial values

Postby armarm » Fri Jun 21, 2013 11:50 am

Thank you for response, I have corrected the issue with initial values, but still, I do not get the solution, again a problem with initial values (I have put values close to the steady state ones).
here is the revised mod file
Attachments
a1model.mod
(801 Bytes) Downloaded 56 times
armarm
 
Posts: 2
Joined: Fri Jun 21, 2013 6:14 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests