Hello,
I am currently working on a time series project analyzing the behavior between consumption and income.
I have quarterly data for the US for income and consumption.
Now I have used the Dickey Fuller Test to check whether those variables are stationary.
Therefore I have used the command:
[varsoc y //appropriate lag is 2
varsoc c //appropriate lag is 4
dfuller y, trend lags(2) regress
dfuller c, trend lags(4) regress
varsoc d.y
varsoc d.c
dfuller d.y, lags(1) regress
dfuller d.c, lags(4)regress
egranger d.c d.y, lags(4) reg
varsoc d.c d.y
//differenced version of c and y is cointegrated!
I included the trend in the dfuller test since income and consumption are obviously following a trend and come to the result, that the null of a unit root can not be rejected.
Then I used the difference of the variables and come to the result, that the null can be rejected, that the difference is stationary and so y and c are I(1). Am I right with this interpretation?
I used the varsoc command to check which lags I should include.
Moreover I tested whether the variables are cointegrated with the egragner command and came to the result that they are cointegrated.
I would really appreciate some feedback, since I want to start with my data analysis and do want it to have any mistakes.
Thank you very much in advance!
I am currently working on a time series project analyzing the behavior between consumption and income.
I have quarterly data for the US for income and consumption.
Now I have used the Dickey Fuller Test to check whether those variables are stationary.
Therefore I have used the command:
[varsoc y //appropriate lag is 2
varsoc c //appropriate lag is 4
dfuller y, trend lags(2) regress
dfuller c, trend lags(4) regress
varsoc d.y
varsoc d.c
dfuller d.y, lags(1) regress
dfuller d.c, lags(4)regress
egranger d.c d.y, lags(4) reg
varsoc d.c d.y
//differenced version of c and y is cointegrated!
I included the trend in the dfuller test since income and consumption are obviously following a trend and come to the result, that the null of a unit root can not be rejected.
Then I used the difference of the variables and come to the result, that the null can be rejected, that the difference is stationary and so y and c are I(1). Am I right with this interpretation?
I used the varsoc command to check which lags I should include.
Moreover I tested whether the variables are cointegrated with the egragner command and came to the result that they are cointegrated.
I would really appreciate some feedback, since I want to start with my data analysis and do want it to have any mistakes.
Thank you very much in advance!
Comment