Error using ==> irf Too many input arguments.

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.

Error using ==> irf Too many input arguments.

Postby Fontana » Sun Jul 18, 2010 11:48 pm

Hi everyone,

I am trying to run the mod file below and I get the error message:

??? Error using ==> irf
Too many input arguments.

Error in ==> stoch_simul at 130
y=irf(oo_.dr,cs(M_.exo_names_orig_ord,i), options_.irf, options_.drop, ...

Error in ==> CIA_Model_Walsh at 177
info = stoch_simul(var_list_);

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

The mod-file itself is an CIA-example from the Walsh textbook (Monetary Theory and Policy-).

Thank you for you help,

Fontana
Attachments
CIA_Model_Walsh.mod
(1.11 KiB) Downloaded 202 times
Fontana
 
Posts: 23
Joined: Tue Dec 08, 2009 1:26 pm

Re: Error using ==> irf Too many input arguments.

Postby jpfeifer » Mon Jul 19, 2010 6:47 am

Hi,
your mod-file runs without problems on my machine (irf=1, i.e. for one period makes no sense, though). I would advise you to check, if you installed Dynare correctly and in particular if the Dynare path has the highest priority in the Matlab paths. It might be that there is another function called irf that has a higher priority, e.g. from the econometrics toolbox.
------------
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: Error using ==> irf Too many input arguments.

Postby Fontana » Mon Jul 19, 2010 5:27 pm

Thank you, that was exactly my problem. I have saved my file in a separate Dynare folder, it worked after I saved the file in the folder where I originally installed Dynare.

Thank you for you help.

Fontana
Fontana
 
Posts: 23
Joined: Tue Dec 08, 2009 1:26 pm

Re: Error using ==> irf Too many input arguments.

Postby bkfoot » Thu Nov 20, 2014 12:47 pm

Thank you.

This worked for me: remove all paths relating to the econometric toolbox.

Best,
BK
bkfoot
 
Posts: 1
Joined: Thu Nov 20, 2014 12:43 pm


Return to Dynare help

Who is online

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