Auto-Regressive Integrated Moving Average (ARIMA) is a “method for forecasting or predicting future outcomes based on a historical time series. It is based on the statistical concept of serial correlation, where past data points influence future data points.” - Source: Investopedia
An ARIMA model has three key components:
Auto-Regressive (AR) part: involves regressing the current value of the series against its past values (lags). The idea is that past observations have an influence on the current value.
Integrated (I) part: refers to the differencing of observations to make the time series stationary (i.e. to remove trends or seasonality). A stationary time series has constant mean and variance over time.
Moving Average (MA) part: involves modeling the relationship between the current value of the series and past forecast errors (residuals). The model adjusts the forecast based on the error terms from previous periods.
In practice, ARIMA models may be better at short term forecasting, and may not perform as well in forecasting over the long term.
Assumption of Stationarity
Remember, ARMA models require data to be stationary. The mean and variance and autocorrelation should remain fairly constant over time.
For instance, while stock prices are generally non-stationary, ARIMA models can still be used by transforming the data to achieve stationarity. This is done through differencing, which is the “Integrated” (I) component of ARIMA. Stock returns (or the percentage change from the previous period) are typically more stationary and suitable for modeling.
Examples
These examples of autoregressive models are based on material by Prof. Ram Yamarthy.