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
Correlation between dependent variables and collinearity ]]]]]]]]]]Dear Statalisters, I am using a generalized Diff-in-Diff in Stata 15.1 on unbalanced data to estima…
How to rebalance portfolios based on the annual asset growth decilesDear Stata users, I' m trying to build monthly value-weighted portfolio returns based 10 deciles of…
dbnomicsThis is not a question but rather my experience with getting dbnomics to work. Maybe others will ben…
graph x-axis with year and month?Dear All, I use the (ssc install) -synth- command to tun the following regression Code: xtset id da…
Using lagged independent variable in place of its current value & question of collinearityDear Statalisters, I have two distinct questions relating to the same model - apologies in advance …
Subscribe to:
Post Comments (Atom)
0 Response to Rolling windows VAR IRF and graphs
Post a Comment