MS-BVAR
Posted: Mon Jan 21, 2013 4:57 pm
Hi there,
I am trying to estimate and simulate a Markov-Switching Bayesian VAR model à la Sims, Waggoner and Zha (2008). I took the DH10.mod which is provided by dynare as an example file. However, the IRF and the variance decomposition look quite strange (there are even 3 lines when I have two states) and the results do not resemble at all like they have in their paper (no hump shape etc.) In addition, Dynare does not give me the error bands when I type in ms_irf(error_band_percentiles = [0.1 0.5 0.9]). Is there anything wrong with the code? My second question is how to implement state dependence of both, coefficients/intercepts and the variance? Is this straightforward with Dynare? Can I directly get the output files / graphs for the smoothed state probabilities for both the shock variances and the coefficients and intercepts?
Thanks in advance for your help.
Best,
Björn
I am trying to estimate and simulate a Markov-Switching Bayesian VAR model à la Sims, Waggoner and Zha (2008). I took the DH10.mod which is provided by dynare as an example file. However, the IRF and the variance decomposition look quite strange (there are even 3 lines when I have two states) and the results do not resemble at all like they have in their paper (no hump shape etc.) In addition, Dynare does not give me the error bands when I type in ms_irf(error_band_percentiles = [0.1 0.5 0.9]). Is there anything wrong with the code? My second question is how to implement state dependence of both, coefficients/intercepts and the variance? Is this straightforward with Dynare? Can I directly get the output files / graphs for the smoothed state probabilities for both the shock variances and the coefficients and intercepts?
Thanks in advance for your help.
Best,
Björn