Steady state block

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.

Steady state block

Postby parantap » Sun Feb 01, 2015 1:12 am

Hi,
I have a question about steady_state_block. Is it necessary that the equation system in the steady state block should be in a recurisive form? I get the error message that my variable lg is undefined in the declaration of lh. This is bound to happen if the steady state equation system is not in a recursive form which is very likely for a nonlinear equation system. I attach my programme. Any help please?

P
Attachments
AP17_jan2015.mod
(4.14 KiB) Downloaded 47 times
parantap
 
Posts: 31
Joined: Tue Oct 01, 2013 11:58 pm

Re: Steady state block

Postby jpfeifer » Sun Feb 01, 2015 7:46 am

Yes, it needs to be recursive as the steady_state_model-block takes a fully computed solution. It is not there for you entering an equations system to be solved. If you want to do something like this, the solution is a bit more involved. The easiest way is to use a steady state file to call a nonlinear solver. See the NK_baseline.mod in the Dynare examples folder.
------------
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: Steady state block

Postby parantap » Sun Feb 01, 2015 6:06 pm

Thank you.
parantap
 
Posts: 31
Joined: Tue Oct 01, 2013 11:58 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests