finding Steady state of a model using matlab file

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.

finding Steady state of a model using matlab file

Postby asmae » Tue Mar 04, 2014 2:23 pm

Dear All,

I'm trying to find the steady state of a model. I have computed the steady state by hand and used a .m file to compute it separatly; however, Dynare doesn't seem to be able to compute it.

Please find attached my .m file and my .mod file. I can't see where i went wrong.

Please help :)


Thanks and Regards
Last edited by asmae on Fri Mar 28, 2014 3:35 pm, edited 1 time in total.
asmae
 
Posts: 14
Joined: Fri Mar 22, 2013 10:57 am

Re: finding Steady state of a model using matlab file

Postby jpfeifer » Thu Mar 06, 2014 1:12 pm

When using an external steady state file, you cannot have a steady_state_model block.
------------
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: finding Steady state of a model using matlab file

Postby usamovnaurbi » Mon Aug 25, 2014 6:52 am

There are two ways of computing the steady state of a model. The first way is to let Dynare compute the steady state using a nonlinear Newton-type solver; this should work for most models, and it is simple to use. The second way is to give more guidance to Dynare, using the knowledge of the model, by providing it with a steady state file. You can use the command
steady ;
steady (OPTIONS…);
This command computes the steady state of a model using a nonlinear Newton-type solver and displays it. When a steady state file is used steady displays the steady state and checks that it is a solution of the static model.
usamovnaurbi
 
Posts: 3
Joined: Mon Aug 25, 2014 6:40 am


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 1 guest