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
Filling in missing values after summing values within a subgroupI have a large data set of medical encounters prior to a surgical date. The data is in long form wit…
Comparing incidence counts between countriesDear all I have a very simple dataset with three variables. Each observation is the report of one o…
Heteroskedastic standard errorsHello! Quick question regarding standard errors. I am running simple wage regressions to see if the…
Strange error when running stcrregHi all, I have been running a competing risk regression for my study. I carried out the analyses us…
PoissonHi Dear, I have a question. My dependent variable is a count variable. I want to choose between Pois…
Subscribe to:
Post Comments (Atom)
0 Response to Rolling windows VAR IRF and graphs
Post a Comment