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
Removing duplicates across several variables in panel data and keep the dup with non-missing valuesHi As the title suggests, I am trying to remove duplicate values across several variables (c30) in …
Reassigning records with missing values to existing categories considering the existing distribution within the populationDear Statalist, I am struggling to reassign records with a missing value on the categorical variabl…
xtreghello, I have a dataset on which I want to perform an OLS. The dataset looks like this: dependent v…
Problem with saving graphs with wildcard in namesHi there! I'm having some difficulties saving and combining graphs that I have created using a fore…
Seemingly Unrelated Regression with endogeneity and sample selectionHello everyone! I wish to see the impact of income from an activity on various types of household ex…
Subscribe to:
Post Comments (Atom)
0 Response to Lag selection for Granger Causality
Post a Comment