Problem "Subscripted assignment dimension mismatch"
Posted: Tue Jul 12, 2011 11:20 am
Hi there,
I try to simulate a model and the mod file passed the rank condition. But then the simulation shows a lot "NaN" for theoretical moments and finally displays error information below. Really appreciate if anyone can help me with this problem. I attach my mod file below as well.
??? Subscripted assignment dimension mismatch.
Error in ==> disp_th_moments at 103
z(:,i) = diag(oo_.gamma_y{i+1}(i1,i1));
Error in ==> stoch_simul at 134
disp_th_moments(oo_.dr,var_list);
Error in ==> simul at 431
info = stoch_simul(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
I try to simulate a model and the mod file passed the rank condition. But then the simulation shows a lot "NaN" for theoretical moments and finally displays error information below. Really appreciate if anyone can help me with this problem. I attach my mod file below as well.
??? Subscripted assignment dimension mismatch.
Error in ==> disp_th_moments at 103
z(:,i) = diag(oo_.gamma_y{i+1}(i1,i1));
Error in ==> stoch_simul at 134
disp_th_moments(oo_.dr,var_list);
Error in ==> simul at 431
info = stoch_simul(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;