Part 4 – Creating an ARIMA model for predicting flight delays
In Chapter 8, Analytics Study: Prediction - Financial Time Series Analysis and Forecasting, we used time series analysis to build a forecasting model for predicting financial stocks. We can actually use the same technique in flight delays since, after all, we are also dealing here with time series, and so in this section, we'll follow the exact same steps. For each destination airport and optional airline, we'll build a pandas DataFrame that contains matching flight information.
Note
Note: We'll use the statsmodels
library again. Make sure to install it if you haven't done so already and refer to Chapter 8, Analytics Study: Prediction - Financial Time Series Analysis and Forecasting ...
Get Data Analysis with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.