The Dickey-Fuller test tests an AR(1) series for stationarity.
An AR(1) series can be written as:
$x_t = \phi x_{t-1} + \epsilon_t $
with $\phi$ constant and $\epsilon_t $ white noise.
The series is stationary only if $\phi<1$.
This series can be written as:
$\Delta x_t = \beta x_{t-1} + \epsilon_t $
with $\beta = \phi - 1$
The null and alternative hypothesis of the DF test are respectively:
H0: $\beta=0$ (i.e. $\phi=1$) -> non-stationary
H1: $\beta<0$ (i.e. $\phi<1$) -> stationary
The test statistic is
$t = \hat{\beta} / SE(\hat{\beta})$
It looks like the exact same hypothesis test used to test for linearity.
I do not understand how is this Dickey-Fuller test different from testing for linearity?
I think I have read that the test statistics is different... how is it possible?