Time Series Forecasting

Objective of time series analysis is to understand how change in time affect the dependent variables and accordingly predict values for future time intervals.
Author

Juma Shafara

Published

May 1, 2024

Keywords

time series analysis, time series characteristics, trend, seasonality, cyclicity, irregularities

Photo by DATAIDEA

Forecasting refers to the future predictions based on the time series data analysis. Below are the steps performed during time series forecasting

Models Used For Time Series Forecasting

  • Autoregression (AR)
  • Moving Average (MA)
  • Autoregressive Moving Average (ARMA)
  • Autoregressive Integrated Moving Average (ARIMA)
  • Seasonal Autoregressive Integrated Moving-Average (SARIMA)
  • Seasonal Autoregressive Integrated Moving-Average with Exogenous Regressors (SARIMAX)
  • Vector Autoregression (VAR)
  • Vector Autoregression Moving-Average (VARMA)
  • Vector Autoregression Moving-Average with Exogenous Regressors (VARMAX)
  • Simple Exponential Smoothing (SES)
  • Holt Winter’s Exponential Smoothing (HWES)

Next part of this article we are going to analyze and forecast air passengers time series data using ARIMA model. Brief introduction of ARIMA model is as below

ARIMA

  • ARIMA stands for Auto-Regressive Integrated Moving Averages. It is actually a combination of AR and MA model.
  • ARIMA has three parameters ‘p’ for the order of Auto-Regressive (AR) part, ‘q’ for the order of Moving Average (MA) part and ‘d’ for the order of integrated part.

Auto-Regressive (AR) Model:

  • As the name indicates, its the regression of the variables against itself. In this model linear combination of the past values are used to forecast the future values.
  • To figure out the order of AR model we will use PACF function

Integration(I):

  • Uses differencing of observations (subtracting an observation from observation at the previous time step) in order to make the time series stationary. Differencing involves the subtraction of the current values of a series with its previous values \(d\) number of times.
  • Most of the time value of \(d = 1\), means first order of difference.

Moving Average (MA) Model:

  • Rather than using past values of the forecast variable in a regression, a moving average model uses linear combination of past forecast errors
  • To figure out the order of MA model we will use ACF function

What’s on your mind? Put it in the comments!

Back to top