Impossible to find the steady state

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.

Impossible to find the steady state

Postby JX2016 » Tue Jun 28, 2016 4:54 pm

Hi, I am still a rookie in dynare and I am working on a small open economy model with financial frictions(as in Carlstrom Fuerst) from a paper but I have trouble with the steady state in dynare

I hope someone can help me with the problem. I think the problem either comes from the guessing initial values I set, which might be too far from the steady state values

or it might be because some equations are misspecified.



The attachment is the mod file.
Attachments
small_open.mod
(3.63 KiB) Downloaded 75 times
JX2016
 
Posts: 14
Joined: Fri Jun 24, 2016 2:10 pm

Re: Impossible to find the steady state

Postby jpfeifer » Wed Jun 29, 2016 7:15 am

Ideally, first start with a simple model that runs and then add the financial frictions. You can then use the starting values from the easier model. One obvious thing is that
Code: Select all
    pt   = 0.87*pt(-1)+stdep*eP;

implies a steady state of pt of 0, but your initial value says it is 1.
------------
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: Impossible to find the steady state

Postby JX2016 » Wed Jun 29, 2016 7:03 pm

Thanks for the reply.

I changed the code slightly but I still got the following error message:
Error using erfc
Input must be real and full.
Error in normcdf (line 90)
p(todo) = 0.5 * erfc(-z ./ sqrt(2));
Error in small_open_static (line 145)
rhs =normcdf(T237,0,1);
Error in lnsrch1 (line 95)
fvec = feval(func,x,varargin{:}) ;
Error in solve1 (line 107)
[x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,varargin{:});
Error in dynare_solve (line 150)
[x,info]=solve1(func,x,j1(r(i):r(i+1)-1),j2(r(i):r(i+1)-1),jacobian_flag, ...
Error in evaluate_steady_state (line 66)
[ys,check] = dynare_solve([M.fname '_static'],...
Error in steady_ (line 54)
[steady_state,params,info] =
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
Error in steady (line 81)
[steady_state,M_.params,info] = steady_(M_,options_,oo_);
Error in small_open (line 359)
steady;
Error in dynare (line 180)
evalin('base',fname) ;
Attachments
small_open.mod
(3.68 KiB) Downloaded 69 times
JX2016
 
Posts: 14
Joined: Fri Jun 24, 2016 2:10 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests