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
Latent class analysis GOFDear Statalisters, I have Stata 15 and have recently started using LCA. I have been analysing a set…
rename variables with foreach (getting rid of prefix)Dear all, I have a data set which contains many variables e.g. with a country prefix: "mexiko_varia…
Match four files on one variable to create new datasetHi everyone, I have four datasets 2010, 2011, 2012, 2013 - variables in dataset2010.dta : name, ad…
Using over( ...) when the same country is mentioned more than once in the datasetHi all, I'm trying to create a similar graph to the one below: Array However, when I write the fo…
Questions: reshape to long format for three conditionsHi all, I have three conditions (1, 2, 3) and for each condition, people answered 30 same questions.…
Subscribe to:
Post Comments (Atom)
0 Response to Rolling windows VAR IRF and graphs
Post a Comment