Argument must contain a string or function_handle.???

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.

Argument must contain a string or function_handle.???

Postby yy1985 » Sat Mar 08, 2014 6:16 am

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:
Attachments
ms_sbvar.mod.rar
(15.72 KiB) Downloaded 68 times
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am

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

Postby jpfeifer » Sat Mar 08, 2014 12:36 pm

We are looking into it. Could it be that something like
Code: Select all
svar_identification;
lower_cholesky;
end;

is missing?
------------
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: Argument must contain a string or function_handle.???

Postby yy1985 » Sun Mar 09, 2014 5:21 am

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
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am

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

Postby jpfeifer » Sun Mar 09, 2014 10:18 am

Because this is still on our to do list, see https://github.com/DynareTeam/dynare/issues/412
------------
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: Argument must contain a string or function_handle.???

Postby yy1985 » Sun Mar 09, 2014 11:12 am

Dear professor jpfeifer:
thank you very much for your prompt reply! I know that. Teachers, your hard!
your students!
Yun
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am

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

Postby HoutanBastani » Fri Mar 14, 2014 2:31 pm

Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France


Return to Dynare help

Who is online

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