I'm working at my thesis and wanted to test my time series for Stationarity by using the Augmented Dickey Fuller Test with the program R.
When I received the output, the p-value was close to zero, so that I had to reject the null-hypothesis of non-stationarity. But with a look at the test statistic, which was higher than the critical value of tau, I couldn't reject it. Now I am very confused, which result gives me the correct one (or if I made a mistake).
I would assume that the p-value is the crucial one, because it is not least derived from the test statistic.
That is the extract of my output:
Residual standard error: 1.607 on 1585 degrees of freedom
Multiple R-squared: 0.06058, Adjusted R-squared: 0.05347
F-statistic: 8.518 on 12 and 1585 DF, p-value: 7.398e-16
Value of test-statistic is: 0.0957
Critical values for test statistics:
1pct 5pct 10pct
tau1 -2.58 -1.95 -1.62
I would be really glad, if someone could explain this difference to me.
Thanks in advance!
Best Answer
You need to examine the rest of the output to see the source of the test statistic.
The Augmented Dickey Fuller Test runs an regression of the first difference of the time series against a lag of the level values of the time series plus lagged first differences. The test statistic is based on the significance of the lagged level values, not the significance of the overall regression via the F-statistic.
The test statistic is the t-value of the lag of the level values of the time series. A rough guide to significance would be its associated p-value. However, the reported critical values at the end of the output are more appropriate. These are the adjusted critical values as calculated by MacKinnon for the ADF.
It looks like you are using the
urca
package ofR
. Here's is the extended output on a simulated monthly time series with annual autocorrelation and a unit root. I set the (max) lags to twice the frequency and letur.df
(correctly) select the number of lags using the AIC.Note the test-statistic corresponds to the t-value.
Test-statistic is from the first t-value above. Critical values are from MacKinnon.
The overall regression is highly significant as it picks up the AR(12) nature of the time series. However, the lagged level variable is not significant. Therefore, we would not reject the null hypothesis of a unit root under this test.