A unit root is a technical term for a feature of a time series whereby the data is non-stationary due to a trend or random walk.
In a time series with a unit root, shocks to the data have a permanent effect, and these shocks accumulate over time, leading to a drifting series without a tendency to revert to a mean. Essentially, a time series with a unit root is unpredictable and could be increasing or decreasing over time without a bound, resembling a random walk.
In mathematical terms, a time series \( y_t \) has a unit root if it follows the equation:
\[
y_t = \rho y_{t-1} + \varepsilon_t
\]
where \( \rho \) is equal to 1, \( t \) is the time index, and \( \varepsilon_t \) is a white noise error term. When \( \rho = 1 \), the time series is said to have a unit root and is non-stationary. When \( \rho \) is less than 1 in absolute value, the time series does not have a unit root and is stationary.
In the context of trading and financial analysis, identifying whether a time series has a unit root (i.e., whether it is non-stationary) is crucial as it affects how one would model and forecast the data.
The Augmented Dickey-Fuller (ADF) test is specifically designed to test whether a unit root is present, making it a crucial step in the preprocessing of time series data for further analysis or forecasting.
Here’s a breakdown of the equation and the terms involved:
\[ y_t = \rho y_{t-1} + \varepsilon_t \] \( y_t \) and \( y_{t-1} \):In simpler terms, the concept of a unit root is about understanding whether a time series is trending (wandering without a bound) or stable (reverting to a mean over time). The equation helps to model the time series in a way that allows us to test for the presence of a unit root, which, in turn, tells us about the stationarity of the series.