Hi everyone,

I am trying to obtain IRFs from the mod-file in the Dynare User guide by Mancini, in Chapter 6. To be specific, I have added the option ‘bayesian_irf’ in the options of the estimaton command:

estimation(bayesian_irf, datafile=EMU_data,mh_nblocks=2, loglinear, mode_compute=4, mh_replic=3000, mh_drop=0.45,mh_jscale=0.65, nobs=61);

However, when I run the file I get the following error message:

??? Error using ==> irf

Too many input arguments.

Error in ==> PosteriorIRF at 181

y=irf(dr,SS(M_.exo_names_orig_ord,i), options_.irf, options_.drop,options_.replic,options_.order);

Error in ==> dynare_estimation at 943

PosteriorIRF(‘posterior’);

Error in ==> Chapter_3_DSGE at 170

dynare_estimation(var_list_);

Error in ==> dynare at 102

evalin(‘base’,fname) ;

Please find the complete mod-file below.

Thank you,

Fontana

Chapter_3_DSGE_steadystate.m (978 Bytes)

EMU_data.m (1.99 KB)

Chapter_3_DSGE.mod (3.84 KB)