Definitions
Definitions
2. Stationarity
A time series is stationary if its statistical properties such as mean, variance, and
autocorrelation remain constant over time. Stationary series are predictable and
suitable for many forecasting models like ARIMA.
3. Differencing
Differencing is a technique used to transform a non-stationary time series into a
stationary one. It involves subtracting the previous observation from the current
observation to remove trends or seasonality.
Formula:
∇ X t =X t −X t −1
Here, ∇ X t is the differenced value at time t, and X t is the original value at time t.
4. Durbin-Watson Test
The Durbin-Watson test detects the presence of autocorrelation in the residuals
of a regression model.
Value ≈ 2 indicates no autocorrelation
Value < 2 indicates positive autocorrelation
Value > 2 indicates negative autocorrelation
5. Dickey-Fuller Test
The Dickey-Fuller test is used to test whether a unit root is present in an
autoregressive model.
Null hypothesis (H₀): The series has a unit root (non-stationary)
Alternative hypothesis (H₁): The series is stationary