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
Graphing InteractionsHi all, We are wondering how to graph a 3-way interaction on stata? It is a continuous x continuous…
After varimax rotation stata says factors explain more than 100% of the variance.I'm using "factor." When I ask for a rotated solution (using the default - varimax orthogonal) it gi…
Creating a categorical variable from multiple continuous variablesHi everyone, New Stata user and first-time poster here. I'm trying to create a new categorical vari…
count the number of string variableI was wondering if there exists a function or command that counts the number of string variables in …
Bootstrapping produces coef onlyHello, I am trying to use bootstrapping to get a 95% CI for Cohen's d, but the command produces coe…
Subscribe to:
Post Comments (Atom)
0 Response to ADF Test Variable Choice
Post a Comment