Hello.
I want to know the causality between GDP and Employment.( I have two time series data: GDP and employment)
I am using varsoc command and my stata command is:
1. varsoc gdp employment
2. varsoc employment gdp
So my question is that, is there any need to find a optimal lag length after using varsoc gdp employment?
Can it be different lags for each direction?
For example: Lag 2 for GDP and employment
Lag 3 for employment and GDP
My second question is that:
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 for Granger Causality
Dummy variable in random effects panel regressionDear Statalist members, I found answers to many of my Stata- or statistics-related questions before …
Problem with "Graph already exists" messageDear Statalist, I'm having problems with clearing graph memories even after using the "graph drop _…
Exclusions in a loopHi everyone, just upfront: I am pretty new to Stata so please excuse certain rookie mistakes that mi…
Stata 17 neededDear all, First of all, I hope this post find you all fine. Second of all, I know that my request c…
sample size calculation when there are three groups Hi, We are planning to conduct an RCT comparing nitroglycerine patches to decrease the failure rat…
Subscribe to:
Post Comments (Atom)
0 Response to Lag selection for Granger Causality
Post a Comment