The Dickey Fuller test tests whether a unit root is present in an AR model. Specifically, we have
$$ X_t = \phi X_{t-1} + \varepsilon_t $$ where $\varepsilon_t$ is a Gaussian noise term.
Now the Dickey Fuller test tests the Null Hypothesis H0: $\phi=1$, or equivalently H0:$\gamma=0$ in the differenced equation. This is how the test is described in text books, for example, in Pesaran (2015, page 332) or Enders (2012, page 114). Enders does not specify an alternative hypothesis, Pesaran does state that H1:$|\phi|<1$. However, to me this leaves a few questions about the DF-test unanswered:
The H0 and H1 stated above combined do not comprise the real line. This raises the question of what to do with values $\phi \leq -1$? Those would reject the null hypothesis, but clearly we would also have a unit root. I assume therefore, that the test statistic is $|\phi|$ and not $\phi$? This is the only explanation that makes sense to me. On the other hand that would mean that all these text books made a mistake, which I find unlikely. Or do economists simply handwave the $\phi<0$ cases away?
Assuming the test statistic $|\phi|$, if the test were two-sided, then we could reject H0 if we observed $|\phi|>1$, which does not make sense, since we have a unit root for those cases. Because of that, I assume that the DF-test is a one-sided test, which can only be rejected by test-statistics $|\phi|<1$. Is this correct?
