Page 1 of 1

Problem of Simulation

PostPosted: Mon Oct 12, 2015 9:00 am
by zhongsum
Dear all,

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)
disp_th_moments(oo_.dr,var_list);

Error in Wang (line 278)
info = stoch_simul(var_list_);

Error in dynare (line 180)
evalin('base',fname) ;

Re: Problem of Simulation

PostPosted: Mon Oct 12, 2015 2:17 pm
by jpfeifer
Please use a correct steady state file (see e.g. the NK_baseline_steady_state.m in the examples-folder) that returns a column vector, not a row vector.

Re: Problem of Simulation

PostPosted: Mon Oct 12, 2015 5:02 pm
by zhongsum
jpfeifer wrote:Please use a correct steady state file (see e.g. the NK_baseline_steady_state.m in the examples-folder) that returns a column vector, not a row vector.

get it, thank you very much!