steady state external 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.

steady state external file

Postby ogol77 » Thu Feb 11, 2016 2:33 pm

Dear all,

again I ask for your help - and am grateful for it!

I have a mod file with the model, external steady state file (like NK model file in examples), and I have to use the fsolve (for 3 equations). When I run the model, I get the following error messages - and I do not have any idea what to do about it (or what they mean). Help!! Please :-o

Error using eval
Undefined function or variable 'a'.

Error in FO_OE_ss_steadystate (line 76)
eval(['ys(' int2str(ii) ') = ' varname ';']);

Error in evaluate_steady_state_file (line 49)
[ys,check] = h_steadystate(ys_init, exo_ss);

Error in evaluate_steady_state (line 58)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, ...

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 FO_OE_ss (line 239)
steady;

Error in dynare (line 180)
evalin('base',fname) ;
Attachments
FO_OE_ss_steadystate.m
(2.93 KiB) Downloaded 171 times
FO_d.m
(441 Bytes) Downloaded 153 times
FO_OE_ss.m
(8.94 KiB) Downloaded 145 times
ogol77
 
Posts: 7
Joined: Thu Jan 14, 2016 10:51 pm

Re: steady state external file

Postby jpfeifer » Sat Feb 20, 2016 11:07 am

You did not provide the mod-file. But judging from the error message, you did not assign a value to all variables in the steady state file. There seems to be a variable called a that is not set.
------------
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 external file

Postby ogol77 » Mon Feb 22, 2016 12:43 pm

Oh, that was stupid of me, sorry! Prof. Pfeifer, could you be so kind to take a look at the attached mod and steady_state file? I have tried to implement the steady_state structure as in the examples, and I have derived the analytical solution - but it still does not seem to help. Would you be so kind to point me my mistake?
Attachments
FO_OE_ss_steadystate.m
(3.1 KiB) Downloaded 186 times
FO_OE_ss.mod
(4.13 KiB) Downloaded 201 times
ogol77
 
Posts: 7
Joined: Thu Jan 14, 2016 10:51 pm


Return to Dynare User Guide

Who is online

Users browsing this forum: No registered users and 0 guests