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
Alternative to Chi squared and Fisher's ExactHello. I have some problems investigating differences between five groups with categorical outcome …
egrangerHi all, I am trying to use egranger (ECM estimation). I have two questions. First, I could not fin…
How to create an 'Equally Weighted Portfolio' and cross sectional absolute deviations in an unbalanced panel datasetHi all, ich have a panel dataset in long format of all companies listed on the Amsterdam and Frankf…
Non-linear regression in Stata. Error: Starting values invalid or some RHS variables have missing valuesDear all, I am writing here today with the hope that someone might be able to help me with an obsta…
How to create a loop for doing regression with multiple variables and storing each estimate with a sequential labelHi I'm new to Stata and have a question about using foreach for regression. I have A as a dependent…
Subscribe to:
Post Comments (Atom)
0 Response to Rolling windows VAR IRF and graphs
Post a Comment