📊Predictive Analytics in Business Unit 5 – Time Series Analysis & Forecasting
Time series analysis and forecasting are crucial tools for understanding and predicting patterns in sequential data. These techniques help businesses and researchers extract insights from historical observations, identify trends and seasonality, and make informed predictions about future values.
From data preparation to advanced modeling approaches, time series analysis encompasses a wide range of methods. Key concepts include stationarity, autocorrelation, and decomposition, while popular models like ARIMA and exponential smoothing form the foundation for accurate forecasting in various real-world applications.
Exponential Smoothing (ES) models use weighted averages of past observations to forecast future values
Simple ES, Holt's linear trend ES, Holt-Winters' seasonal ES
Forecasting Techniques
Recursive forecasting uses the model to predict one step ahead, then updates the model with the actual value before predicting the next step
Direct forecasting trains separate models for each forecast horizon
Rolling forecasting uses a fixed window of historical data to train the model and updates the window as new observations become available
Ensemble forecasting combines predictions from multiple models to improve accuracy and robustness
Simple averaging, weighted averaging, or stacking
Hierarchical forecasting reconciles forecasts at different levels of aggregation (bottom-up, top-down, or middle-out approaches)
Forecast combination methods (Bates-Granger, Newbold-Granger, Holt-Winters) assign weights to individual forecasts based on their historical performance
Model Evaluation
Splitting data into training and testing sets to assess model performance on unseen data
Cross-validation techniques (rolling origin, time series cross-validation) for time-dependent data
Evaluation metrics for point forecasts
Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Percentage Error (MAPE)
Evaluation metrics for probabilistic forecasts
Coverage probability, prediction intervals, Continuous Ranked Probability Score (CRPS)
Residual diagnostics to check model assumptions
Ljung-Box test for autocorrelation, Jarque-Bera test for normality, Engle's ARCH test for heteroscedasticity
Comparing models using information criteria (AIC, BIC) or forecast accuracy measures
Backtesting to evaluate model performance on historical data
Real-World Applications
Demand forecasting in supply chain management (inventory optimization, production planning)
Sales forecasting in retail and e-commerce (promotional planning, pricing strategies)
Energy demand forecasting for utilities (electricity, gas, water)
Traffic volume forecasting for transportation planning and management