This project applies classical time series decomposition and forecasting methods to monthly airline passenger data for the United States in the 1950s. The objective is to analyze passenger trends and seasonality, build an appropriate forecasting model, and evaluate its predictive accuracy for the year 1960.
- Source: Public monthly airline passengers data (US, 1949–1960), a standard dataset for time series analysis.
- Variables: Month (Jan–Dec), Year (1949–1960), Number of passengers per month.
- Sample Size: 144 months (12 years × 12 months).
- File Provided:
Air-passengersdata.xlsx
Figure 1. Monthly Airline Passengers in the US (1949–1959): Clear trend and strong seasonality are visible.
- Calculated 12-month moving averages to smooth the trend.
- Computed centered moving averages for seasonal effect estimation.
- Estimated monthly seasonal indices using the ratio-to-moving-average method.
- Deseasonalized the time series and fitted a linear trend to the deseasonalized data.
- Produced monthly forecasts for 1960 and recomposed to the original scale using seasonal indices.
- Evaluated model accuracy using MAE and MSE.
Figure 2. Calculation of 12-Month Moving Average, Centered MA, and Seasonal Ratio.
Figure 3. Monthly Seasonal Indices (multiplicative factors for each month). Figure 4. Scatter plot of deseasonalized values and linear trendline (high R²).
The series shows a strong upward trend and pronounced annual seasonality. Multiplicative decomposition is appropriate as seasonal amplitude increases over time.
Figure 5. Forecasted passengers for 1960, actuals, and error metrics.
Mean Absolute Error (MAE) = 16.65 | Mean Squared Error (MSE) = 580.75
- Clear upward trend in passengers and strong month-to-month seasonality (especially July–August peaks).
- Multiplicative decomposition is effective for capturing variable seasonal effect.
- Model provides accurate predictions (low MAE/MSE) and can inform resource planning.
- Recommend regular model updates and validation against new actuals.
- No adjustment for external events or shocks (e.g., strikes, economic downturns).
- Assumes trend and seasonality continue into the forecast year (1960).
- Model does not detect outliers.
Classical time series decomposition with a multiplicative approach gave accurate and interpretable forecasts for airline passenger numbers. This method is suitable for similar demand forecasting tasks in business analytics, especially where seasonality grows with volume.