Forecasting and Time-Series AnalysisIntroductionForecasting is the systematic estimation of future values using historical observations, explanatory information, expert judgement, or a combination of these sources. In business administration, forecasts support capacity planning, budgeting, inventory control, staffing, marketing, financial management, and strategic decision-making. A forecast is not a prediction of certainty; it is a quantified statement about plausible future conditions under specified assumptions. Time-series analysis focuses on observations recorded sequentially over time. Examples include monthly sales, daily website traffic, quarterly GDP, weekly demand, and hourly electricity consumption. The distinctive feature of time-series data is that observations may be dependent: current demand may reflect previous demand, seasonal routines, promotions, weather, or macroeconomic conditions. A useful forecasting process begins with a decision, not with a method. The analyst should identify the forecast horizon, frequency, decision consequences, available information, cost of errors, and stability of the underlying environment. A sophisticated model can perform poorly when the data are poorly defined, the horizon is inappropriate, or structural change is ignored. Learning ObjectivesBy the end of this chapter, students should be able to: - Explain the components and characteristics of time-series data.
- Apply moving averages and exponential-smoothing methods.
- Model trend and seasonality using decomposition and regression.
- Use regression forecasting while distinguishing association from causation.
- Explain the logic of introductory ARIMA models.
- Compare forecasts using appropriate error measures and validation procedures.
- Evaluate forecasting scenarios, risks, ethics, and managerial implications.
1. The Structure of Time-Series DataLet yt denote the observed value of a variable at time t, where t = 1, 2, ..., T. A time series may contain several elements: - Level: the typical magnitude of the series.
- Trend: persistent long-term increase or decrease.
- Seasonality: a repeating pattern linked to a calendar or operating cycle, such as month, weekday, or quarter.
- Cycle: longer, often less regular fluctuations associated with economic or business conditions.
- Irregular component: random variation, unusual events, measurement error, or shocks.
A classical additive decomposition is: yt = Tt + St + It where Tt is trend, St is seasonal variation, and It is the irregular component. This form is appropriate when seasonal fluctuations have approximately constant absolute size. A multiplicative decomposition is: yt = Tt × St × It This is more appropriate when seasonal variation grows proportionally with the level. Since multiplication requires positive or appropriately transformed values, additive decomposition is often preferable for series containing zero or negative observations. Forecasting methods generally assume that the data-generating process will remain sufficiently similar in the forecast period. This assumption is called stability or stationarity, depending on the model. It is never guaranteed. A pandemic, regulatory change, competitor entry, product launch, or change in measurement can make historical relationships unreliable. Time-Series Plotting and Data PreparationBefore fitting a model, the analyst should plot the series against time and inspect: - missing observations and irregular time intervals;
- outliers and possible data-entry errors;
- changes in definitions or measurement systems;
- trend, seasonality, and changing variance;
- interventions such as promotions or strikes;
- whether the forecast target is measured in units, currency, rates, or percentages.
Time must be ordered correctly. Randomly shuffling observations before splitting training and test sets causes information from the future to influence model selection and produces optimistic performance estimates. 2. Naïve Forecasts and BenchmarkingA benchmark provides a reference against which more complex models should be judged. The simplest naïve forecast uses the most recent observation: Ft+1 = yt where Ft+1 is the forecast for the next period. This method is often surprisingly strong for short horizons and highly persistent series. A seasonal naïve forecast uses the observation from the corresponding previous season: Ft+h = yt+h-m where m is the seasonal period and h is the forecast horizon. For monthly data with annual seasonality, m = 12. For daily data with a weekly cycle, m = 7. A forecast should not be called useful merely because it is statistically sophisticated. It should outperform a relevant benchmark on data not used to estimate the model. 3. Moving-Average ForecastingA simple moving average forecasts the next period by averaging the most recent k observations: Ft+1 = (yt + yt-1 + ... + yt-k+1) ÷ k Here, k is the window length. The observations and forecast must use the same units as yt. A larger window smooths more noise but responds more slowly to changes. A smaller window reacts more quickly but may produce a less stable forecast. Worked Example: Three-Period Moving AverageSuppose weekly demand for the last three weeks was 120, 135, and 150 units. The forecast for week 4 is: F4 = (120 + 135 + 150) ÷ 3 = 135 units If actual demand in week 4 is 144 units, a rolling forecast for week 5 using weeks 2–4 is: F5 = (135 + 150 + 144) ÷ 3 = 143 units The moving average treats all included observations equally. It is therefore less responsive than methods that assign greater weight to recent observations. It also does not naturally model trend or seasonality unless modified or combined with other procedures. A centered moving average, often used for descriptive decomposition, averages observations before and after a time point. It is useful for estimating the underlying level, but it cannot be used directly for real-time forecasting when future observations are unavailable. 4. Exponential SmoothingExponential smoothing assigns the greatest weight to the most recent observation while retaining information from earlier observations through the previous forecast. Simple exponential smoothing is: Ft+1 = αyt + (1 − α)Ft where 0 ≤ α ≤ 1 is the smoothing parameter, yt is the current observation, and Ft is the forecast for period t. A high α reacts rapidly to recent changes; a low α produces greater smoothing. An initial forecast must be specified, commonly as the first observation or an initial average. Worked ExampleLet α = 0.30, current demand yt = 150, and current forecast Ft = 140. Then: Ft+1 = 0.30(150) + 0.70(140) = 45 + 98 = 143 units Simple exponential smoothing is suitable when the series has no systematic trend or seasonality. It is not designed to extrapolate a changing trend effectively. Holt’s Trend MethodHolt’s method extends exponential smoothing by estimating both level and trend: ℓt = αyt + (1 − α)(ℓt−1 + bt−1) bt = β(ℓt − ℓt−1) + (1 − β)bt−1 Ft+h = ℓt + hbt Here, ℓt is the estimated level, bt is the estimated trend, β is the trend-smoothing parameter with 0 ≤ β ≤ 1, and h is the number of periods ahead. Holt’s method may be specified with additive or damped trend. A damped trend gradually reduces the extrapolated trend and is often safer for longer horizons because indefinite linear growth is rarely realistic. Holt–Winters Seasonal MethodWhen both trend and seasonality are present, Holt–Winters methods estimate level, trend, and seasonal indices. For an additive seasonal model with period m, one common formulation is: ℓt = α(yt − st−m) + (1 − α)(ℓt−1 + bt−1) bt = β(ℓt − ℓt−1) + (1 − β)bt−1 st = γ(yt − ℓt) + (1 − γ)st−m Ft+h = ℓt + hbt + st−m+1+((h−1) mod m) The parameters α, β, and γ lie between 0 and 1. The additive form assumes seasonal effects have roughly constant size. Multiplicative forms use ratios such as yt ÷ st−m and are suitable when seasonal effects scale with the level and observations are positive. In practice, parameters are often selected by minimizing an error criterion on the training data, but the final choice should be assessed on a validation period. Minimizing in-sample error alone can overfit. 5. Trend and Seasonality ModelsRegression with Time TrendA linear trend model is: yt = β0 + β1t + εt where β0 is the intercept, β1 is the average change per time period, and εt is the error term. The forecast is the fitted value: ŷt = b0 + b1t The coefficient b1 has units of the response per time unit. A linear trend is useful when the relationship is approximately straight over the relevant horizon; it should not be extrapolated mechanically far beyond the observed range. Seasonal Dummy VariablesFor quarterly data, a regression can include three seasonal dummy variables, with one quarter omitted as the reference category: yt = β0 + β1t + δ1Q1t + δ2Q2t + δ3Q3t + εt The omitted quarter is represented by all dummy variables equal to zero. Each δ measures the average difference from the reference quarter, holding trend constant. Including all four quarter dummies along with an intercept creates perfect multicollinearity, known as the dummy-variable trap. Fourier terms can represent smooth seasonality: yt = β0 + β1t + a1 sin(2πt/m) + c1 cos(2πt/m) + εt where m is the seasonal period. Additional harmonics can model more complex seasonal shapes, but excessive harmonics may overfit. Transformations and Multiplicative EffectsIf variation increases with the level, a logarithmic transformation may stabilize variance: zt = ln(yt) A regression fitted to zt forecasts the logarithm of the outcome. Exponentiating gives a forecast on the original scale, but because E(exp(z)) ≠ exp(E(z)) in general, a bias adjustment may be needed when estimating the conditional mean. Analysts should state whether the objective is a median forecast or a mean forecast on the original scale. 6. Regression Forecasting and Causal InformationRegression forecasting uses explanatory variables such as price, advertising expenditure, income, weather, or interest rates: yt = β0 + β1x1,t + β2x2,t + ... + βpxp,t + εt The coefficients describe conditional associations under the model. They do not automatically establish causality. Causal interpretation requires a defensible research design and assumptions about confounding, simultaneity, measurement, and model specification. Regression forecasting is useful when future values of the predictors are known or can themselves be forecast. If future advertising expenditure is unknown, a sales forecast based on advertising requires either a planned advertising scenario or a second forecast for advertising. This creates forecast uncertainty from predictors in addition to uncertainty in the regression relationship. Time-series regression errors may be autocorrelated. Ordinary least squares coefficient estimates can remain unbiased under some conditions, but standard errors and prediction intervals may be misleading if serial dependence is ignored. Residual plots, autocorrelation diagnostics, robust methods, or dynamic regression models should therefore be considered. 7. Introductory ARIMA MethodsARIMA models describe dependence within a series after differencing has removed nonstationary trend. The notation ARIMA(p,d,q) contains: - p: order of the autoregressive component;
- d: number of ordinary differences;
- q: order of the moving-average error component.
A first difference is: Δyt = yt − yt−1 An AR(1) model is: yt = c + φ1yt−1 + εt where φ1 measures dependence on the previous value. An MA(1) model is: yt = μ + εt + θ1εt−1 where the current value depends on the current and previous random shocks. A general ARIMA model applies autoregressive and moving-average terms to the differenced series. Seasonal ARIMA extends this logic with seasonal autoregressive, differencing, and moving-average terms. A stationary series has a stable probabilistic structure over time, commonly including constant mean and variance and dependence that declines sufficiently with lag. The practitioner may inspect plots, autocorrelation functions (ACF), partial autocorrelation functions (PACF), and unit-root tests. These tools are informative but not infallible; business context and forecast performance remain important. The Box–Jenkins process is iterative: - Identify plausible differencing and model orders.
- Estimate candidate models.
- Diagnose residuals.
- Compare out-of-sample forecasts.
- Re-estimate and monitor as new data arrive.
A well-specified model should leave residuals that resemble uncorrelated noise. A residual pattern indicates information left unused. However, a statistically significant pattern may have little practical importance, and a visually attractive model may still fail after structural change. 8. Forecast-Error Measures and Model ComparisonLet et = yt − Ft be the forecast error, with actual value yt and forecast Ft. A positive error means the forecast underestimates the actual value. Mean Absolute ErrorMAE = (1/n)∑|et| MAE is expressed in the original units and gives equal linear weight to errors of different signs. Mean Squared Error and Root Mean Squared ErrorMSE = (1/n)∑et² RMSE = √MSE RMSE is in the original units but penalizes large errors more strongly than MAE. Mean Absolute Percentage ErrorMAPE = (100/n)∑|et ÷ yt| MAPE is interpretable as an average percentage error but is undefined when yt = 0 and unstable when actual values are close to zero. It can also be asymmetric in managerial interpretation. Weighted and Scaled MeasuresWeighted MAE or weighted RMSE may reflect that errors in high-volume or high-value periods matter more. A scaled measure such as the mean absolute scaled error compares model errors with errors from a naïve benchmark, improving comparability across series. The chosen metric should reflect the decision cost. A retailer facing stockouts may penalize under-forecasting more than over-forecasting; a staffing system may have different costs for each error direction. Worked ComparisonSuppose actual demand is 100, 120, and 80 units. Model A forecasts 90, 130, and 75; Model B forecasts 105, 110, and 90. Errors for A are 10, −10, and 5. Thus: MAEA = (10 + 10 + 5) ÷ 3 = 8.33 units Errors for B are −5, 10, and −10. Thus: MAEB = (5 + 10 + 10) ÷ 3 = 8.33 units The models tie on MAE. Their RMSE values differ: Model A has √((100+100+25)÷3) ≈ 9.57, while Model B has √((25+100+100)÷3) ≈ 9.57. In this particular example they also tie on RMSE. The result illustrates why model selection should use sufficient test observations and, where relevant, multiple measures. Forecast evaluation should use rolling-origin or time-series cross-validation. The model is trained on an initial period, forecasts a later period, then the training window expands or rolls forward. This respects temporal order and evaluates the actual operating task. Prediction intervals communicate uncertainty. A point forecast alone can encourage false precision. Intervals widen with horizon in many models, although the exact form depends on model assumptions and parameter uncertainty. 9. Scenario-Based ForecastingA scenario is a coherent set of assumptions about future conditions. For example: - Base case: expected price, demand, and economic conditions.
- Upside case: stronger market growth and successful promotion.
- Downside case: competitor entry, supply disruption, or recession.
Scenario analysis is not the same as assigning arbitrary high and low numbers. Each scenario should identify assumptions, dependencies, probabilities if appropriate, and management actions. Regression models can generate conditional forecasts under alternative predictor values; time-series models can provide a baseline around which scenario adjustments are made. Decision-makers should distinguish: - model uncertainty: uncertainty about the correct model;
- parameter uncertainty: uncertainty about estimated coefficients;
- process uncertainty: irreducible variation in future outcomes;
- scenario uncertainty: uncertainty about external conditions.
A forecast dashboard should display the point forecast, interval, key assumptions, recent errors, and triggers for model review. 10. Illustrative Case: Forecasting Demand for a University CaféBackgroundThe fictional Riverside University Café sells prepared meals and beverages. Management must schedule staff and place food orders weekly. Demand has increased over two years, with predictable lower demand during examination breaks and summer closure. Promotions have also produced temporary spikes. ProblemThe manager currently uses the previous week’s sales as the next-week forecast. This creates over-ordering before breaks and stockouts after successful promotions. The manager wants a transparent method that can be updated weekly and compared with alternatives. AnalysisThe analyst first plots 104 weeks of sales and identifies a trend, a strong annual academic-cycle pattern, and several promotion weeks. The data are divided chronologically: the first 80 weeks form the training period, and the final 24 weeks form the test period. A seasonal naïve benchmark uses sales from the corresponding week in the previous academic cycle. Candidate models are: - seasonal naïve;
- four-week moving average;
- Holt–Winters additive seasonality;
- regression with time trend, academic-period indicators, and promotion status.
Promotion status is known in advance for planned campaigns. If it is not known, the manager must forecast alternative promotion plans rather than treat the variable as known. Approach and SolutionThe analyst evaluates all models using rolling-origin forecasts and MAE, while separately reporting RMSE because large stockout-producing errors are costly. Residual plots are inspected for remaining seasonality and systematic bias. The regression model performs best during promotion weeks but requires reliable promotion information. Holt–Winters performs more consistently when promotions are unplanned. The seasonal naïve benchmark is competitive during ordinary weeks. Management therefore adopts a hybrid policy: use the Holt–Winters forecast as the baseline, add a documented promotion adjustment when a campaign is approved, and compare weekly performance against the seasonal naïve benchmark. Forecasts are accompanied by an 80% prediction interval and an escalation rule when actual demand falls outside the interval twice in four weeks. OutcomeAfter one academic term, MAE falls relative to the previous-week method, and food waste declines because forecasts are less inflated before breaks. Stockouts remain during unexpected events, but the monitoring rule prompts faster review. The manager does not treat the model as an automatic ordering authority; operational judgement remains necessary for perishables and supplier constraints. Learning Points- A benchmark is essential for demonstrating value.
- Calendar knowledge can be as important as mathematical complexity.
- Explanatory variables are useful only when their future values are available or scenario-defined.
- Error costs should influence evaluation metrics.
- Monitoring and governance are part of forecasting, not postscript activities.
11. Implementation, Governance, and Professional PracticeA defensible forecasting system should maintain a data dictionary, version-controlled code, documented assumptions, and an audit trail of forecast revisions. Data access should follow authorization and privacy principles. Although sales forecasting usually uses aggregated data, customer-level data may reveal personal or commercially sensitive information. Automated and AI-assisted forecasting tools can rapidly compare models, detect anomalies, and generate explanations. They do not eliminate the need for human oversight. Risks include leakage of future information, biased training data, opaque transformations, inappropriate extrapolation, and automation bias. A model should be challenged by domain experts, tested on temporally appropriate data, and monitored for drift. Ethically responsible forecasting requires transparency about uncertainty. Presenting a single precise number when the interval is wide can mislead investors, employees, suppliers, or public decision-makers. Forecasts that influence staffing or credit decisions should be checked for disparate impacts and should permit review of material errors. Best practice includes: - define the decision and horizon before choosing a model;
- establish naïve benchmarks;
- preserve temporal ordering in validation;
- compare models using decision-relevant metrics;
- inspect residuals and forecast bias;
- communicate intervals and assumptions;
- monitor performance after deployment;
- review the model after structural breaks;
- retain human accountability for consequential decisions.
Chapter SummaryForecasting converts historical and contextual information into structured estimates of future conditions. Time-series observations may contain level, trend, seasonality, cycles, and irregular variation. Moving averages provide transparent smoothing; exponential smoothing adapts weights toward recent observations; Holt and Holt–Winters methods extend smoothing to trend and seasonality. Regression models incorporate explanatory variables but require future predictor values and should not be interpreted causally without appropriate assumptions. ARIMA models represent dependence in differenced series and are developed through identification, estimation, diagnosis, and validation. Forecast quality must be assessed out of sample using measures such as MAE, RMSE, MSE, and carefully interpreted percentage measures. Rolling-origin validation respects temporal order. Scenario analysis makes external assumptions explicit, while prediction intervals communicate uncertainty. Effective forecasting is therefore not simply a contest for the lowest error: it is a governed managerial process linking data, models, decisions, costs, and changing conditions. Key TermsTime series: Observations recorded sequentially over time. Forecast: An estimate of a future observation or condition. Level: The underlying typical magnitude of a series. Trend: Persistent long-term movement in a series. Seasonality: A repeating pattern linked to a fixed calendar or operating period. Cycle: Longer-term fluctuation that is not necessarily fixed or regular. Irregular component: Unsystematic variation or shock. Naïve forecast: A forecast based on a recent or corresponding historical observation. Moving average: An average of a fixed number of recent observations. Exponential smoothing: A method that weights recent observations more heavily through recursive updating. Smoothing parameter: A value controlling responsiveness to new observations. Holt’s method: Exponential smoothing for level and trend. Holt–Winters method: Exponential smoothing for level, trend, and seasonality. Autocorrelation: Dependence between observations separated by a specified lag. Stationarity: A stable statistical structure over time. ARIMA: Autoregressive integrated moving-average model. MAE: Mean absolute error, measured in original units. RMSE: Root mean squared error, which penalizes large errors more heavily. Prediction interval: A range intended to contain a future observation with stated coverage. Scenario analysis: Evaluation of forecasts under coherent alternative assumptions. Review Questions5 Short Answer Questions- Distinguish trend from seasonality in a time series.
- What is the main effect of increasing the moving-average window length?
- State the simple exponential-smoothing equation and define its parameter.
- Why must one seasonal dummy variable be omitted when an intercept is included?
- Why is a naïve forecast an important benchmark?
5 Long Answer Questions- Explain the classical additive and multiplicative decomposition models and identify when each is appropriate.
- Compare simple exponential smoothing, Holt’s method, and Holt–Winters methods in terms of data patterns and assumptions.
- Explain how regression forecasting differs from causal analysis.
- Describe the Box–Jenkins process for developing an introductory ARIMA model.
- Discuss how forecast-error measures can influence managerial model selection.
3 Analytical / Application Questions- A retailer has monthly sales with an upward trend and strong annual seasonality. Recommend two candidate forecasting methods, explain your choice, and design a time-ordered validation plan.
- A firm’s regression forecast uses price and advertising expenditure, but next quarter’s advertising budget has not been approved. Explain how this affects the forecast and propose a scenario framework.
- Two models have equal MAE, but one has substantially higher RMSE and produces more under-forecasts during stockout-prone periods. Which model should management prefer, and what additional evidence would you request?
Multiple Choice Questions with AnswersQuestion 1Which component represents a repeating pattern linked to a calendar period? A. Trend B. Seasonality C. Irregular variation D. Parameter uncertainty Correct Answer: B. Seasonality Question 2If the last three observations are 120, 135, and 150 units, what is the three-period moving-average forecast? A. 125 units B. 130 units C. 135 units D. 140 units Correct Answer: C. 135 units Question 3In simple exponential smoothing, a high value of α generally makes the forecast: A. More responsive to recent observations B. Less responsive to recent observations C. Independent of the latest observation D. Automatically seasonal Correct Answer: A. More responsive to recent observations Question 4Which method is specifically designed to estimate level, trend, and seasonality? A. Simple moving average B. Simple exponential smoothing C. Holt–Winters smoothing D. Naïve forecasting Correct Answer: C. Holt–Winters smoothing Question 5In a regression with an intercept and seasonal dummy variables, one category is normally omitted to avoid: A. Heteroskedasticity B. Perfect multicollinearity C. Underfitting D. Autocorrelation Correct Answer: B. Perfect multicollinearity Question 6Which measure is expressed in the original units and gives linear weight to absolute errors? A. MAE B. MAPE C. MSE D. R² Correct Answer: A. MAE Question 7A seasonal naïve forecast for a monthly series with annual seasonality usually uses: A. The immediately preceding day B. The average of all historical months C. The value from the same month in the previous year D. The fitted regression intercept Correct Answer: C. The value from the same month in the previous year Question 8In ARIMA notation, the letter I refers to: A. Intervention B. Integration through differencing C. Information criteria D. Independent variables Correct Answer: B. Integration through differencing Question 9Why should time-series validation preserve chronological order? A. To ensure future information does not enter model training B. To increase the number of observations C. To remove all forecast uncertainty D. To guarantee normally distributed errors Correct Answer: A. To ensure future information does not enter model training Question 10When actual values can be zero, which error measure should not be used without modification because it becomes undefined? A. MAE B. RMSE C. MAPE D. MSE Correct Answer: C. MAPE
|