Dear Stata users,
I am trying to implement the var, vector autoregression, and a panel var (pavar) stata command using rolling windows. While they do perfectly work, I'm not able to perform rolling impulse response function graphs or check stability and Granger causality under rolling windows.
The code I am using is
rolling, window(12) clear : pvar var1 var2 var3 vr4 var5 var6 lags(1)
pvarirf, step(12) impulse( var1 var2 var3s) response( vr4 var5 var6 ) cum oirf mc(2000)
However, I have difficulty when using the -rolling- prefix.
I would be grateful if you could point me in the right direction on how to obtain rolling impulse responses. Probably, it will need to be programed manually
Thank you so much for your time and consideration. I could provide data should that be necessary.
Best regards,
Mario
Related Posts with Rolling windows VAR IRF and graphs
New version of vallabsave on SSCThanks as always to Kit Baum, a new version of the vallabsave package is now available for download …
Assessing differences between ordinal ranks based on frequenciesHi Stata users! Stata 14.1. I am trying to assess if there is a difference in the ordinal ranks of …
New version of descsave on SSCThanks once again to Kit Baum, a new version of the descsave package is now available for download f…
test pointwise distance with measurement errorHi everyone, I have geographical coordinates for several households in two different points in time …
Clustering standard errors with teffects ipwraDear all, I am using the teffects ipwra command to estimate the effect of a multi-level treatment a…
Subscribe to:
Post Comments (Atom)
0 Response to Rolling windows VAR IRF and graphs
Post a Comment