Hi,
I am performing a Bayesian estimation of a DSGE based on Smets-Wouters 2007.
I'm trying to estimate the posterior using the MH algorithm in Dynare (4.3.3) by running the following line in my mod file:
estimation(optim=('MaxIter',200),datafile=usmodel_data,mode_compute=0,mode_file=usmodel_mode,first_obs=71,presample=4,lik_init=2,prefilter=0,mh_replic=25,mh_nblocks=2,mh_jscale=0.20,mh_drop=0.2,bayesian_irf,irf=20,moments_varendo,filtered_vars,smoother);
and as a result I obtain the following error message:
------------------------------------------------------------
??? Subscripted assignment
dimension mismatch.
Error in ==> pm3 at 77
[Mean(j,i),Median(j,i),Var(j,i),HPD(:,j,i),Distrib(:,j,i)]
= ...
Error in ==>
prior_posterior_statistics at 285
pm3(endo_nbr,gend,ifil(1),B,'Smoothed
variables',...
Error in ==> dynare_estimation_1
at 966
prior_posterior_statistics('posterior',dataset_);
Error in ==> dynare_estimation at
70
dynare_estimation_1(var_list,dname);
Error in ==> usmodel2013 at 464
dynare_estimation(var_list_);
Error in ==> dynare at 120
evalin('base',fname) ;
------------------------------------------------------------
is there anyone who could explain me how to interpret it?
Thank you.