I have estimated a DSGE model. After estimation, I compute the bayesian irfs. However, in the graphs, there appear strange horizonal lines in addition to the irfs and the grey shaded areas are not plotted properly (see the .pdf file in the attatchment).
I am working with Matlab2015a and Dynare 4.4.3.
The strange thing is that when I run the code on my old machine with Matlab2012b, I do not have this problem. Might this be a problem with Matlab2015?
Thanks for your help in advance!
birfs.pdf (134 KB)
Thanks a lot for your quick reply. Your solution worked out for me!
I am experiencing the same bug when estimating a Bayesian VAR and computing IRFs using the command bvar_irf() (see pdf in the attachment).
Is there also a fix for the bvar_irf command similar to the fix available for the bayesian_irf option (PosteriorIRF_core2.m)?
Thanks a lot for your help in advance!
bvar_irfs.pdf (7.13 KB)
The attached file solves the issue.
bvar_irf.m (5.22 KB)
Thanks a lot for your fast reply.
This code solves the issue with the plotting.
Thanks again for your help! It is highly appreciated.
I have updated the previous posts to reflect the mistake you pointed out (I erroneously based the bugfix on the unstable version instead of 4.4.3). It should now work with the attached file.