matlab plot.fig (139.1 KB)
dynare plot.fig (129.0 KB)
However, a new issue I have just noticed is:
using the code below:
stoch_simul(noprint,nofunctions,nomoments,nocorr,irf=50,irf_shocks=(eg))r inve pk kp pinf w c y lab rk;
figure
subplot(4,3,1)
plot([0:options_.irf],[0 oo_.irfs.r_eg])
//axis tight
title(‘interest rate’)
subplot(4,3,2)
plot([0:options_.irf],[0 oo_.irfs.inve_eg])
axis tight
title(‘investment’)
subplot(4,3,3)
plot([0:options_.irf],[0 oo_.irfs.pk_eg])
axis tight
title(‘tobin Q’)
subplot(4,3,4)
plot([0:options_.irf],[0 oo_.irfs.kp_eg])
axis tight
title(‘capital’)
subplot(4,3,5)
plot([0:options_.irf],[0 oo_.irfs.pinf_eg])
axis tight
title(‘inflation’)
subplot(4,3,6)
plot([0:options_.irf],[0 oo_.irfs.w_eg])
axis tight
title(‘wage’)
subplot(4,3,7)
plot([0:options_.irf],[0 oo_.irfs.c_eg])
axis tight
title(‘consumption’)
subplot(4,3,8)
plot([0:options_.irf],[0 oo_.irfs.y_eg])
axis tight
title(‘output’)
subplot(4,3,9)
plot([0:options_.irf],[0 oo_.irfs.lab_eg])
axis tight
title(‘labour’)
subplot(4,3,10)
plot([0:options_.irf],[0 oo_.irfs.rk_eg])
axis tight
title(‘rental rate of capital’)
the plots in matlab and dynare are actually different!
the starting point in all matlab plots are origins.
please could anyone signal me the reason?