Autoregression
- Predict future values of a time series by regressing on its past observations (lags).
- Choose a number of lags and fit a regression to estimate how past values influence the next value.
- Commonly applied to forecasting problems like product demand, stock prices, and weather.
Definition
Section titled “Definition”Autoregression is a time series analysis technique that uses previous values of a time series to predict future values.
Explanation
Section titled “Explanation”Autoregression models predict a time series’ next value by using a specified number of past values (lags) as predictors. The steps described in the source are:
- Identify the number of lags to include (for example, 3 lags uses the current and previous 2 months to predict the next month).
- Use regression analysis to estimate the relationship between the series and its lagged values.
- Form a mathematical equation from the regression coefficients to produce forecasts.
The method is applied to time-series forecasting and modeling for domains such as stock prices, product demand, and weather patterns.
Examples
Section titled “Examples”Predicting monthly sales
Section titled “Predicting monthly sales”Given monthly sales data:
- Month 1: 100 units
- Month 2: 120 units
- Month 3: 140 units
- Month 4: 160 units
Using autoregression with 3 lags, the relationship identified by regression is:
Substituting the values:
Predicting stock prices
Section titled “Predicting stock prices”Given daily stock prices:
- Day 1: $100
- Day 2: $105
- Day 3: $110
- Day 4: $115
Using autoregression with 2 lags, the regression relationship is:
Substituting the values:
Use cases
Section titled “Use cases”- Forecasting stock prices
- Predicting demand for products
- Modeling weather patterns
Related terms
Section titled “Related terms”- Time series forecasting