use fsolve to find steady state 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.

use fsolve to find steady state values

Postby jack_ct » Sat Jul 02, 2016 7:49 am

Hi:
I am replicating a paper but i have trouble with steady state values.firstly,I use fsolve to get steady state values in Matlab,then log-linearizing around the steady state,and use dynare to solve model.
How to deal with the following problems ?
1) fsolve can't converge to a solution x.(exitflag=0 not 1), the the squared 2-norm of the residual is 10e-5 ,if i can't use the "approximate steady state value".
2) how to limit the range of values ,eg. i want to get a positive value,but fsolve return a negative value.
jack_ct
 
Posts: 4
Joined: Sat Dec 26, 2015 8:26 am

Re: use fsolve to find steady state values

Postby jpfeifer » Sat Jul 02, 2016 5:27 pm

I am not sure I understand the problem, but this suggests that you haven't found the correct steady state of the underlying model in Matlab. Is there a reason you log-linearize by hand instead of using the nonlinear model in Dynare?
------------
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 7 guests