Page 1 of 1

Argument must contain a string or function_handle.???

PostPosted: Sat Mar 08, 2014 6:16 am
by yy1985
Dear all:
When I run the ms_sbvar.mod, it is coming up with the follow errors:

??? Error using ==> feval
Argument must contain a string or function_handle.

Error in ==> ms_sbvar_setup at 235
[Ui,Vi,n0,np,ixmC0Pres] = feval(options_.ms.restriction_fname,nvar,nexo,options_.ms);

Error in ==> ms_estimation at 40
ms_sbvar_setup(options_);

Error in ==> ms_sbvar at 60
[options_, oo_] = ms_estimation(M_, options_, oo_);

Error in ==> dynare at 120
evalin('base',fname) ;

I really hope some one can help me to solve this problem.I want to know why?
Thanks!
Yun

the ms_sbvar.mod file attachment as follows:

Re: Argument must contain a string or function_handle.???

PostPosted: Sat Mar 08, 2014 12:36 pm
by jpfeifer
We are looking into it. Could it be that something like
Code: Select all
svar_identification;
lower_cholesky;
end;

is missing?

Re: Argument must contain a string or function_handle.???

PostPosted: Sun Mar 09, 2014 5:21 am
by yy1985
Dear profeeor pfeifer:
Thank you very much for your help! Yes,there is missing from the svar_identification block. But when I read the dynare Reference Manual, version 4.3.3 or 4.4.2,there is no svar_identification block in chart of Markov-switching SBVAR(4.18 chart), I wonder why doesn't introduce in this?
Is there any other options in the svar_identification block?
Thank you very much, my dear professor pfeifer!
Yun

Re: Argument must contain a string or function_handle.???

PostPosted: Sun Mar 09, 2014 10:18 am
by jpfeifer
Because this is still on our to do list, see https://github.com/DynareTeam/dynare/issues/412

Re: Argument must contain a string or function_handle.???

PostPosted: Sun Mar 09, 2014 11:12 am
by yy1985
Dear professor jpfeifer:
thank you very much for your prompt reply! I know that. Teachers, your hard!
your students!
Yun

Re: Argument must contain a string or function_handle.???

PostPosted: Fri Mar 14, 2014 2:31 pm
by HoutanBastani