Dear Users,
I have the following naïve question:
I have a macroeconomic variable for the years 1980 to 2018 which you may find its scatter below:
Array
This variable is not stationary at level. Please find the ADF test results below:
dfuller a, lags(1) trend
Augmented Dickey-Fuller test for unit root Number of obs = 152
---------- Interpolated Dickey-Fuller ---------
Test 1% Critical 5% Critical 10% Critical
Statistic Value Value Value
------------------------------------------------------------------------------
Z(t) 1.632 -4.023 -3.443 -3.143
------------------------------------------------------------------------------
MacKinnon approximate p-value for Z(t) = 1.0000
The lag is chosen according to SBIC criteria.
When I take the first difference of the variable, the ADF test results turn out to be:
dfuller D.a, lags(1) trend
Augmented Dickey-Fuller test for unit root Number of obs = 151
---------- Interpolated Dickey-Fuller ---------
Test 1% Critical 5% Critical 10% Critical
Statistic Value Value Value
------------------------------------------------------------------------------
Z(t) -8.839 -4.023 -3.443 -3.143
------------------------------------------------------------------------------
MacKinnon approximate p-value for Z(t) = 0.0000
That means my variable is stationary at the difference.
I have the following three questions:
1. So, does that mean "I can only use the difference of this variable in my estimation, not the level itself"?
2. If the following code "dfuller a, lags(1) trend" provided a stationary result at level estimation (MacKinnon p value less than 0.05), in that case, should I use the level of the variable in my estimation as the dfuller command includes "trend" option?
3. What would be the answer of the second question with a drift instead of a trend?
Related Posts with ADF Test Variable Choice
MCA rotationHello Stata friends! I am running MCA in stata and was checking the possibility of rotation after t…
Carryforward Code: * Example generated by -dataex-. To install: ssc install dataex clear input float…
RD Graph issueHi all, My Code: scatter aux1hm aux1dm, leg(off) || line lochd0m locd0m, leg(off) lpattern(solid d…
loop file with two dependent variablesHey there, I have problems with creating a loop on two dependent variables for my bond prices. For …
How to spread the reference's values to other observations at different yearsDear statalist, I have a dynamic panel for 20 years. However, data on one variable of interest is c…
Subscribe to:
Post Comments (Atom)
0 Response to ADF Test Variable Choice
Post a Comment