There is a problem when i use stoch_simul, it can get the policy and transition functions but error information as following.
i have check the code for several times and can not find where is the problem,pls help.
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in disp_th_moments (line 49)
z = m sd s2 ];
Error in stoch_simul (line 164)
Error in Wang (line 278)
info = stoch_simul(var_list_);
Error in dynare (line 180)
Wang.zip (2.02 KB)