Problem with RBC_Monop_JFV.mod

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.

Problem with RBC_Monop_JFV.mod

Postby sinclair » Sat Sep 04, 2010 2:27 pm

I am currently using Dynare 4.1.2. I have a problem for reproducing the following example gaved with the Dynare User Guide :RBC_Monop_JFV.mod. When I run Dynare with this program, I get the following 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 ==> RBC_Monop_JFV at 138
info = stoch_simul(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;
Attachments
RBC_Monop_JFV.mod
(767 Bytes) Downloaded 144 times
sinclair
 
Posts: 6
Joined: Wed Jul 28, 2010 6:46 pm

Re: Problem with RBC_Monop_JFV.mod

Postby jpfeifer » Sun Sep 05, 2010 7:10 am

Check if your Matlab path contains the econometrics toolbox above the Dynare path. It also has a function called irf and usually leads to this error. If this is the case, move it below the Dynare path and everything should work.
------------
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: Problem with RBC_Monop_JFV.mod

Postby sinclair » Sun Sep 05, 2010 8:47 pm

Hi jpfeifer,

Thank you for your reply. I have done what you suggested and it worked fine. Thank you very much.

sinclair
sinclair
 
Posts: 6
Joined: Wed Jul 28, 2010 6:46 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests