Problem of Simulation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Problem of Simulation

Postby zhongsum » Mon Oct 12, 2015 9:00 am

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) ;
Attachments
Wang.zip
(2.02 KiB) Downloaded 138 times
zhongsum
 
Posts: 6
Joined: Thu Dec 25, 2014 3:46 am

Re: Problem of Simulation

Postby jpfeifer » Mon Oct 12, 2015 2:17 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Problem of Simulation

Postby zhongsum » Mon Oct 12, 2015 5:02 pm

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!
zhongsum
 
Posts: 6
Joined: Thu Dec 25, 2014 3:46 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests