Predict future values using past observations (Autoregression), assuming linear dependence on previous time steps.
Procedure
-
Ensure Stationarity
- Remove trend and seasonality via differencing or decomposition.
- Test for stationarity with the ADF test.
-
Model Identification
- Use PACF to determine AR order .
- Fit an AR() model:
-
Model Fitting & Diagnostics
- Estimate coefficients via Maximum Likelihood or Least Squares.
- Check residuals: should resemble white noise (no autocorrelation).
-
Forecasting
- Generate forecasts recursively using the fitted coefficients.
- For differenced data, reconstruct forecasts by reversing the differencing operation.
-
Interpretation
- AR models describe persistence or memory in data.
- A slow decay in ACF or significant PACF lags indicates how many past values drive predictions.