I couldn't find any related QA in the forum (I searched Gamma_y{nar+2})
The problem is that Dynare (4.0.2) crashes with the message
??? Assignment has more non-singleton rhs dimensions than non-singleton
subscripts
Error in ==> th_autocovariances at 131
Gamma_y{nar+2}(:,i) = abs(diag(aa*vx1*aa'+b2(:,i)*b2(:,i)'))./vv;
Error in ==> disp_th_moments at 38
[oo_.gamma_y,ivar] = th_autocovariances(dr,ivar,M_,options_);
Error in ==> stoch_simul at 69
disp_th_moments(oo_.dr,var_list);
Error in ==> trade_optimal at 699
info = stoch_simul(var_list_);
Error in ==> dynare at 102
evalin('base',fname) ;
My options are
options_.irf=0;
options_.order=2;
options_.periods=0;
options_.nograph=1;
options_.noprint=1;
options_.nomoments=0;
options_.steadystate_flag=0;
options_.nocorr=1;
stoch_simul u,c;
where u and c are two existing variables.
If I set options_nomoments=1, then Dynare computes the solution and I can compute the moments out of the (second order) state-space representation.
Any idea about what could cause this crash?
Thanks and regards
Gianni