Simulated trajectory graphs
Posted: Sun Aug 23, 2015 11:44 pm
Hello,
I am currently working on a medium size DSGE model. When I use the rplot command I got trajectory graphs for endogenous variables, but I am not quite sure how to interpret the graphs. Can we compare the graphs with actual data to evaluate the performance of the model?
I also tried plotting policy functions with command
state_range=0.1:0.1:10;
state_name='k';
plot_var_name='c';
plot_dummy='1';
plot_policy_fun(state_name,state_range,plot_var_name,plot_dummy);
but got the error message
??? Error using ==> minus
Matrix dimensions must agree.
Error in ==> simult_ at 52
y_(:,1) = y_(:,1)-dr.ys;
Error in ==> plot_policy_fun at 84
temp=simult_(y0_temp,oo_.dr,shock_mat,options_.order);
Error in ==> simul at 279
plot_policy_fun(state_name,state_range,plot_var_name,plot_dummy);
Again, could you please show me how to interpret the policy function graphs?
I am looking forward to your reply.
Thank you
Hoang
I am currently working on a medium size DSGE model. When I use the rplot command I got trajectory graphs for endogenous variables, but I am not quite sure how to interpret the graphs. Can we compare the graphs with actual data to evaluate the performance of the model?
I also tried plotting policy functions with command
state_range=0.1:0.1:10;
state_name='k';
plot_var_name='c';
plot_dummy='1';
plot_policy_fun(state_name,state_range,plot_var_name,plot_dummy);
but got the error message
??? Error using ==> minus
Matrix dimensions must agree.
Error in ==> simult_ at 52
y_(:,1) = y_(:,1)-dr.ys;
Error in ==> plot_policy_fun at 84
temp=simult_(y0_temp,oo_.dr,shock_mat,options_.order);
Error in ==> simul at 279
plot_policy_fun(state_name,state_range,plot_var_name,plot_dummy);
Again, could you please show me how to interpret the policy function graphs?
I am looking forward to your reply.
Thank you
Hoang