I am doing Granger Causality test and I want to know about the lag selection. I am using 'forvalues' to find out the optimal lag length.
My dependent variable(Y) is 'GDP' and independent variable(X) is 'EMPLOYMENT"
When I use the 'forvalues' command, it gives a different lag length with each variable.
For example, Y → X (lag 2, based on AIC), X → Y (lag 3).
In my understanding, with each direction(Y → X, X →Y), the lag length should be the same.
Is it okay to use the command of 'varsoc'? Is it different than the command of 'forvalues?
Thanks a lot...
Related Posts with Lag selection in Granger Causality
Multiply and add Code: * Example generated by -dataex-. For more info, type help dataex clear input float(time accp …
Ordering legend only in graphI am trying to order the legend with the better outcome group up top in the legend and the worse out…
cluster/village fix effectsDear Stata users, I am trying to estimate the impact of water quality on child health in 3 Asian co…
Reshaping data from wide to longWhen I try to reshape I keep getting this error r(111) no xij variables found You typed something li…
Draw a stratified random sampleHi, I am working with a survey where I have information at the individual and household levels. I s…
Subscribe to:
Post Comments (Atom)
0 Response to Lag selection in Granger Causality
Post a Comment