Authors: Zilin Pan, Billy Zhang
Study Period: 2003 – 2025
This study analyzes a comprehensive dataset spanning from 2003 to 2025, integrating internal airline operational metrics—such as Total_Passengers, Total_Fuel_Cost, and Delay—with external macroeconomic indicators including GDP_Growth and Oil_Price. The data was standardized to a quarterly frequency using a PeriodIndex to ensure temporal consistency for time-series modeling.
The primary objective is to forecast Total_Profit. By employing multivariate time-series modeling, this research investigates how exogenous variables influence airline profitability and captures the seasonality and inertia of profit fluctuations through historical look-back windows.
- Strongest Predictors: Oil Prices and GDP Growth are the most significant drivers of profitability.
- Model Characteristics: The optimized model exhibits a "short-term memory" characteristic, with an optimal
window_lengthof 2 quarters, suggesting that aviation profits are highly sensitive to immediate environmental shifts.
Data was aggregated from multiple sources, including BTS (Bureau of Transportation Statistics) web scraping:
- Passenger Volume: Aggregated from monthly data into quarterly
Total_Passengers. - Fuel Costs: Extracted from BTS fuel tables using
pd.read_htmland aggregated intoTotal_Fuel_Cost. - Operational Delays: Statistical count of quarterly delay incidents.
- Load Factor: Measuring the efficiency of seat utilization across the fleet.
External data was fetched via the FRED (Federal Reserve Economic Data) API:
- GDP Growth: Reflecting the overall health of the economy and travel demand.
- Oil Price: A primary driver of operational expenditure and fuel cost volatility.
The model incorporates historical dependencies using a specialized technical pipeline:
- Standardization:
StandardScalerto ensure all features are on a comparable scale. - Polynomial Expansion:
PolynomialFeaturesto capture complex, non-linear interactions between economic indicators and operational costs.
As implemented in the code.ipynb, the study utilizes:
- Primary Model:
RandomForestRegressor. - Optimization:
GridSearchCVfor hyperparameter tuning (optimizingn_estimators,max_depth, etc.). - Architecture: Scikit-Learn
Pipelineto automate data transformation and prevent data leakage during training.
The research demonstrates that external economic conditions provide substantial predictive power beyond historical profit data alone:
- Fuel Sensitivity: Oil price fluctuations have a nearly immediate and significant impact on quarterly profit margins.
- Economic Correlation: GDP fluctuations serve as a robust leading indicator for passenger demand and premium travel volume.
- Model Performance: The Random Forest approach successfully captured the cyclicality and volatility inherent in the aviation sector.
This framework confirms that tree-based ensemble methods are highly suitable for capturing the non-linear relationships in industries characterized by cyclical demand and cost volatility.
- Lagged Variables: Incorporating lagged oil-price variables to better capture delayed effects arising from fuel hedging contracts.
- Efficiency Metrics: Introducing "Profit per Available Seat Mile" (CASM/RASM) to control for airline scale expansion.
- Scenario Analysis: Developing stress-testing tools for extreme market conditions, such as sudden oil price spikes or recessionary demand collapses.