Ireland example showing irf

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.

Ireland example showing irf

Postby JorgeFornero » Mon Jan 15, 2007 6:23 pm

Dear Michel,
I made a version of Ireland estimation example that I took from the snapshot folder. IRF can not be computed and the message is
??? Error using ==> irf
Too many input arguments.

Error in ==> stoch_simul at 134
y=irf(dr_,cs(lgx_orig_ord_,i), options_.irf, options_.drop, ...

Error in ==> ireland_simu at 160
info=stoch_simul(var_list_);

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

Do you have any suggestion? I could not see any problem yet.
Thank you very much in advance.
Attachments
ireland_simu.zip
(918 Bytes) Downloaded 156 times
Jorge Fornero
Belgium
JorgeFornero
 
Posts: 10
Joined: Thu Mar 02, 2006 2:28 pm
Location: Chile

Re: Ireland example showing irf

Postby StephaneAdjemian » Tue Jan 16, 2007 4:13 pm

Hi Jorge,

I am unable to reproduce your bug with the latest version of dynare v3.

Inspecting your error message, I believe that the problem is that you have another function irf.m (distributed with Uhlig's toolkit?) on the matlab path. You have to make sure that the dynare's irf function preceed the other function in the matlab path. You just have to type

Code: Select all
which irf


at the matlab's prompt to check that you are effectively calling the irf.m distributed with dynare.

Best,
Stéphane.
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Postby JorgeFornero » Tue Jan 16, 2007 5:12 pm

Hi Stephane,
Thank you very much for your reply.
I fixed it.
Best regards,
Jorge Fornero
Belgium
JorgeFornero
 
Posts: 10
Joined: Thu Mar 02, 2006 2:28 pm
Location: Chile


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests