NEW
Also known as: AR Model, Sequential prediction model
Time-series model that predicts current values as a linear function of prior observations and stochastic noise.
DESCRIPTION
An autoregressive (AR) model regresses a time series on its own lagged values, assuming stationarity for stable parameters. AR(p) order indicates how many past steps inform the current prediction. Estimation often uses Yule–Walker equations or maximum likelihood. AR is a building block for ARMA/ARIMA and seasonal extensions. In sequence modeling and language models, autoregression also denotes generating outputs conditioned on previously generated tokens.
ALTERNATIVE DEFINITIONS
Wikipedia
In statistics, an autoregressive (AR) model is a representation of a type of random process; as such, it is used to describe certain time-varying processes.
Highlights AR as a representation of random processes and time variation.
Forecasting: Principles and Practice
An autoregressive (AR) model uses the dependent relationship between an observation and a number of lagged observations.
Clarifies dependence on lagged values for prediction.
RELATED TERMS
Autoregressive Moving Average ARIMA SARIMA Partial Autocorrelation Stationarity Yule–Walker Equations State Space Model Language Model Teacher Forcing
COMPETING TERMS
RELATIONS
- Broader: Model
- Equivalent to: Auto-regression
- Narrower: Auto-regression
KNOWLEDGE AREAS
TARGET AUDIENCE
Data Scientist AI Engineer MLOps Engineer Data Analyst
EXTERNAL SOURCES
- Wikipedia - Autoregressive model
- Statsmodels - AutoReg class documentation
- Hyndman & Athanasopoulos - AR models explained clearly
TOP QUESTIONS
When should I use an Autoregressive Model?
Use AR when a stationary time series shows significant autocorrelation at recent lags. It’s effective for short-term forecasting and as a component in ARIMA models.
Category: Application
How do I choose the order p of an Autoregressive Model?
Inspect partial autocorrelation plots and use information criteria (AIC/BIC). Cross-validation on forecasting error helps confirm the chosen order.
Category: Best practices
What is the difference between AR and MA models?
AR models depend on past values, while MA models depend on past shocks (errors). ARMA combines both mechanisms.
Category: Distinction
Do Autoregressive Models require stationarity?
Yes, classical AR assumes stationarity. Differencing or detrending may be needed before fitting.
Category: Requirements
How does autoregression relate to language models?
Autoregressive language models generate tokens conditioned on prior tokens, analogous to AR dependence in time series.
Category: Concepts
What are common mistakes with Autoregressive Models?
Overfitting with excessive lags and ignoring nonstationarity are common pitfalls. Always validate residuals.
Category: Mistakes
How do I evaluate an Autoregressive Model?
Use out-of-sample forecasts and metrics like MAE, RMSE, or MAPE. Check residual autocorrelation and normality.
Category: Validation
Can Autoregressive Models handle seasonality?
Yes, via seasonal lags or within SARIMA models that incorporate seasonal differencing and terms.
Category: Techniques
Why is regularization useful in high-order AR models?
L1/L2 penalties prevent overfitting by shrinking coefficients, especially when many lags are considered.
Category: Best practices