MS-SVAR, problems

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.

MS-SVAR, problems

Postby masopa87 » Sat Jul 09, 2011 4:21 pm

Hi,
I'm trying to run the code for ms-sbvar with Dynare unstable, but as soon as I do it, I get this error message back:

??? Error using ==> cell.strmatch at 21
Requires character array or cell array of strings as inputs.

Error in ==> read_variables at 74
iv = strmatch(var_names_01(:,dyn_i_01),raw(:,1),'exact');

Error in ==> ms_sbvar_setup at 43
options_.data = read_variables(options_.datafile, ...

Error in ==> test1 at 72
ms_sbvar_setup(options_);

I think that this problem is related to the inputs I gave about the datafile, the names of the variables etc...but I'm not able to solve it on my own. Could you give me any suggestions?
Thanks a lot!
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: MS-SVAR, problems

Postby HoutanBastani » Mon Jul 11, 2011 9:34 am

Please post a .mod file that reproduces the error.

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

Re: MS-SVAR, problems

Postby masopa87 » Mon Jul 11, 2011 12:21 pm

Hi!
Actually I'm using directly the matlab mfiles, as DH10.mod (the example) seems not to work (the system keeps on saying that the equations are not specified, even if there should not be a specification in a VAR)...
I wrote another thread about the problem with the mod file (viewtopic.php?f=1&t=3247).
I'm literally going mad with this....
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: MS-SVAR, problems

Postby HoutanBastani » Mon Jul 11, 2011 3:40 pm

Hello, I had no problems running DH10 with the associated datafile found on the wiki page. Are you using a recent dynare-unstable snapshot?
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: MS-SVAR, problems

Postby masopa87 » Thu Jul 14, 2011 2:38 pm

I don't know how to use it...I'm a newbie....
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm


Return to Dynare help

Who is online

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