Having established how to decompose time series, test for stationarity, and identify potential model structures using ACF and PACF plots in the previous chapters, we now focus on building statistical forecasting models. This chapter introduces the Autoregressive Integrated Moving Average (ARIMA) family of models, a widely used class for analyzing and predicting stationary time series data.
You will learn about the core building blocks:
We will cover the process of specifying the ARIMA model order, denoted as (p,d,q), using insights gained from ACF/PACF analysis. You'll see how to fit these models to data using Python's statsmodels
library, diagnose the model's fit by examining residuals, and generate forecasts for future time points. The chapter concludes with hands-on practice in building and evaluating a complete ARIMA forecasting workflow.
4.1 Autoregressive (AR) Models
4.2 Moving Average (MA) Models
4.3 Combining AR and MA: ARMA Models
4.4 Introducing Integration: ARIMA Models
4.5 Selecting ARIMA Order (p, d, q)
4.6 Fitting ARIMA Models in Python (statsmodels)
4.7 Model Diagnostics and Residual Analysis
4.8 Forecasting with ARIMA Models
4.9 Hands-on Practice: Building an ARIMA Model
© 2025 ApX Machine Learning