Quantitative Methods & Decision Sciences

Chapter 7
Forecasting and Time-Series Analytics

Executive Post Graduate Program in Management (EPGPM)
Quantitative Methods & Decision Sciences   •   Post Graduate

Forecasting and Time-Series Analytics

Introduction and Context

Forecasting is the systematic estimation of future values using historical information, explanatory variables, expert knowledge, or a combination of these sources. In management, forecasts support decisions about procurement, production, staffing, inventory, cash flow, pricing, capacity, budgeting and investment. A forecast is not a promise about the future; it is a conditional statement about what is likely to occur under specified assumptions.

Time-series analytics focuses on observations recorded sequentially over time: daily sales, monthly electricity demand, quarterly revenue, hourly website traffic or annual employment. Unlike ordinary cross-sectional data, time-series observations may be dependent on earlier observations. This dependence, together with trend, seasonality, business cycles and structural change, makes forecasting both valuable and technically demanding.

A useful forecasting process includes:

  1. Define the decision, forecast horizon and required frequency.
  2. Specify the target variable and its unit of measurement.
  3. Collect, clean and visualize historical data.
  4. Diagnose trend, seasonality, outliers, dependence and structural breaks.
  5. Select one or more appropriate models.
  6. Estimate parameters using only information available at the forecast origin.
  7. Validate through time-ordered back-testing.
  8. Measure forecast accuracy and prediction uncertainty.
  9. Use the forecast in a decision model and monitor performance after implementation.

A statistically accurate forecast may still produce a poor decision if costs, capacity constraints or managerial objectives are ignored. Forecasting is therefore both a quantitative and a managerial activity.

Learning Objectives

By the end of this chapter, the learner should be able to:

  • distinguish level, trend, seasonality, cyclical movement, irregular variation and structural change;
  • calculate and interpret moving-average and exponential-smoothing forecasts;
  • decompose a time series using additive and multiplicative frameworks;
  • apply regression and ARIMA concepts appropriately;
  • evaluate forecasts using scale-dependent and scale-independent accuracy measures;
  • design time-series validation and compare competing models;
  • recognize forecast uncertainty, data limitations, ethical risks and model failure;
  • translate forecasts into demand, financial and capacity decisions.

The Structure of a Time Series

Let yt denote the observed value of a variable at time t. A series may contain several components:

  • Level: the underlying average magnitude of the series.
  • Trend: persistent long-run increase or decrease.
  • Seasonality: a regular pattern associated with calendar position, such as month, weekday or quarter.
  • Cycle: longer, often irregular expansions and contractions, frequently associated with economic conditions.
  • Irregular variation: random or unusual short-term movement.
  • Structural change: a change in the data-generating process, such as a new regulation, product launch, merger or pandemic.

Two common decomposition forms are:

Additive: yt = Tt + St + Ct + It
Multiplicative: yt = Tt × St × Ct × It

Here Tt is trend, St seasonality, Ct cyclical movement and It irregular variation. The additive form is appropriate when seasonal fluctuations are approximately constant in absolute units. The multiplicative form is more appropriate when seasonal variation grows with the level of the series. Multiplicative models require positive observations; logarithms are often used to convert multiplication into addition.

A time plot should precede model selection. It may reveal missing periods, changing variance, one-off shocks, calendar effects or an apparent trend that is actually a sequence of level shifts. Autocorrelation plots and seasonal summaries provide additional evidence, but statistical tests should support rather than replace substantive understanding.

Moving Averages

A simple moving average smooths recent observations and uses their average as the next forecast. For a window of length k, the one-step-ahead forecast is:

Ft+1 = (yt + yt-1 + … + yt-k+1) ÷ k

The method assumes that recent observations are informative about the near future and that no strong trend or changing seasonal pattern is being ignored. All observations receive equal weight. A larger k produces greater smoothing but reacts more slowly to changes; a smaller window reacts faster but remains more affected by noise.

Centered moving averages and seasonality

A centered moving average is often used to estimate the trend-cycle component when seasonal observations occur at regular intervals. For an even seasonal period, such as four quarters or twelve months, a second averaging step is needed to center the moving average between observations. The method is primarily descriptive and is not necessarily the best forecasting model.

Worked example: three-period moving average

Suppose weekly demand is 120, 135 and 150 units in the latest three weeks. The forecast for week 4 is:

F4 = (120 + 135 + 150) ÷ 3 = 135 units

If actual demand in week 4 is 156, the next three-period forecast becomes:

F5 = (135 + 150 + 156) ÷ 3 = 147 units

The latest forecast incorporates the newly observed value and drops the oldest observation. A moving average cannot generate a forecast before enough historical observations exist.

Exponential Smoothing

Exponential smoothing assigns greater weight to recent observations while retaining information from the entire history. Simple exponential smoothing is suitable for a series with no systematic trend or seasonality. Its updating equation is:

Ft+1 = αyt + (1 − α)Ft, 0 < α < 1

where yt is the latest observation, Ft is the forecast for period t, and α is the smoothing parameter. A high α responds rapidly to recent changes; a low α produces greater smoothing. The initial forecast F1 must be specified, often as the first observation or an initial average.

Worked example: simple exponential smoothing

Let the initial forecast be 100, α = 0.30, and the observed value in period 1 be 120. Then:

F2 = 0.30(120) + 0.70(100) = 106

If the period-2 observation is 110:

F3 = 0.30(110) + 0.70(106) = 107.2

The forecast moves toward the new observations but does not fully adopt them.

Holt’s method and damped trend

When a series has a trend but no seasonality, Holt’s linear method estimates a level and a trend:

lt = αyt + (1 − α)(lt−1 + bt−1)
bt = β(lt − lt−1) + (1 − β)bt−1
Ft+h = lt + hbt

Here lt is the estimated level, bt is the estimated trend, h is the forecast horizon, and β is the trend-smoothing parameter, with 0 < α, β < 1. Holt’s method can over-project a temporary trend. A damped-trend version gradually reduces the trend contribution:

Ft+h = lt + (φ + φ2 + … + φh)bt, 0 < φ < 1

The damping factor φ makes long-horizon forecasts more conservative.

Holt–Winters seasonal smoothing

For data with trend and seasonality, Holt–Winters methods estimate level, trend and seasonal indices. Additive seasonality is used when seasonal effects are approximately constant; multiplicative seasonality is used when seasonal effects are proportional to the level. Parameter estimation is usually performed by minimizing a loss function on the historical data. Care is required with initialization and with missing or irregularly spaced observations.

Decomposition and Seasonal Adjustment

Decomposition separates a series into interpretable components. In a multiplicative model, a seasonal index above 1 indicates that a period is typically above the underlying level; an index below 1 indicates below-level demand. For a complete seasonal cycle, multiplicative indices are commonly normalized so that their average is 1, while additive seasonal effects are normalized so that their sum is 0.

Seasonal adjustment can improve comparisons across periods. For example, comparing December sales with November sales without accounting for holiday seasonality may lead to an incorrect conclusion about underlying growth. However, seasonal adjustment can conceal commercially important seasonal demand if managers use the adjusted series instead of the original series for operational planning.

Decomposition procedure

A practical classical procedure is:

  1. Estimate the trend-cycle with a moving average.
  2. Compare observations with the estimated trend-cycle to obtain seasonal-irregular factors.
  3. Aggregate factors by season and normalize them.
  4. Remove seasonality to obtain a seasonally adjusted series.
  5. Model the adjusted trend and reapply seasonal factors for future forecasts.

Modern state-space and structural time-series models estimate these components jointly and can represent changing seasonality more flexibly.

Regression-Based Forecasting

Regression forecasting explains a target variable using predictors. A basic linear model is:

yt = β0 + β1x1t + β2x2t + … + βpxpt + εt

where β0 is the intercept, βj are predictor effects, xjt are explanatory variables and εt is the error term. Forecasting requires future values of the predictors, either observed, separately forecast or specified through scenarios.

Time-related variables can represent trend and seasonality. For example, monthly seasonal dummy variables may be included, with one month omitted as the reference category to avoid perfect multicollinearity. A deterministic trend may be represented by t, although a linear trend should not be imposed merely because a short sample appears to rise.

Regression errors may be autocorrelated. If so, ordinary least squares coefficient estimates may remain unbiased under restrictive conditions, but standard errors and prediction intervals can be misleading. Residual diagnostics should examine residual plots, autocorrelation and changing variance. Dynamic regression, intervention variables and regression with ARIMA errors can address dependence more appropriately.

An intervention variable can represent a one-time event or a sustained level change. For example, a post-policy indicator may equal 0 before a regulation and 1 afterward. A pulse variable may equal 1 only during a disruption. Such variables are useful for structural change, but causal interpretation requires a credible design and appropriate controls.

ARIMA Concepts

ARIMA models represent dependence within a time series after transformation. The notation ARIMA(p,d,q) identifies:

  • p: order of the autoregressive component;
  • d: number of ordinary differences used to achieve stationarity;
  • q: order of the moving-average error component.

A stationary series has stable statistical properties, including a stable mean and autocovariance structure over time. Differencing is defined as:

∆yt = yt − yt−1

A second difference is ∆2yt = ∆yt − ∆yt−1. Over-differencing can add unnecessary noise, while under-differencing leaves nonstationarity.

An AR(1) model is:

yt = c + φyt−1 + εt

where c is a constant, φ is the autoregressive coefficient and εt is a zero-mean innovation. For a simple stationary AR(1) process, |φ| < 1 is required. An MA(1) model is:

yt = μ + εt + θεt−1

where μ is the mean and θ is the moving-average coefficient. In an ARIMA model, autoregressive and moving-average terms are applied to the differenced series.

Seasonal ARIMA extends the framework with seasonal autoregressive, differencing and moving-average terms. It is useful when autocorrelation recurs at a fixed seasonal lag, such as 12 for monthly data. Model identification commonly uses the time plot, autocorrelation function, partial autocorrelation function and information criteria such as AIC, while final selection should also consider out-of-sample accuracy and managerial plausibility.

A fitted model should leave residuals that are approximately uncorrelated, have a stable variance and contain no systematic pattern. A residual whiteness test, such as the Ljung–Box test, can provide evidence, but a non-significant result does not prove that the model is correct.

Forecast Accuracy and Validation

Forecast accuracy must be assessed on data not used to estimate the model. Randomly splitting a time series can leak future information into the training sample. A preferable approach is a rolling-origin evaluation: estimate using an initial historical window, forecast the next period or horizon, record the error, expand or move the window, and repeat.

Let et = yt − Ft be the forecast error. Common measures include:

MAE = (1/n)∑|et|
RMSE = √[(1/n)∑et2]
MAPE = (100/n)∑|et ÷ yt|, yt ≠ 0
sMAPE = (100/n)∑[2|yt − Ft| ÷ (|yt| + |Ft|)]

MAE is expressed in the original unit and is easy to interpret. RMSE penalizes large errors more heavily. MAPE is scale-free but is undefined when actual values are zero and unstable when actual values are close to zero. sMAPE reduces some problems but is not universally superior and can behave unexpectedly near zero. Weighted measures may be appropriate when errors in certain products or periods have greater business cost.

Bias should also be examined. Mean error is:

ME = (1/n)∑et

A positive ME, under the convention et = yt − Ft, indicates systematic under-forecasting. Accuracy should be reported by horizon, product, location and regime rather than only as one aggregate number.

Prediction intervals communicate uncertainty. They are wider for longer horizons and generally widen when residual variance is high. A prediction interval is not the same as a confidence interval for an average parameter: it concerns the range of a future observation and therefore includes both parameter uncertainty and future random variation.

Structural Change, Volatility and Model Risk

Historical relationships may fail after a structural break. Warning signs include abrupt changes in mean, trend, variance, seasonality or predictor relationships. Causes include technology adoption, competitor entry, supply disruption, policy reform, accounting changes and changes in customer behavior.

Useful responses include:

  • segmenting the history and estimating models on the most relevant regime;
  • adding intervention or event variables;
  • using change-point detection as a diagnostic;
  • applying rolling estimation so that old observations receive less influence;
  • creating scenarios rather than relying on one extrapolation;
  • combining statistical forecasts with carefully documented judgment.

Financial series often exhibit volatility clustering, where large changes tend to follow large changes. A standard demand model may forecast the conditional mean adequately while failing to represent changing risk. In such settings, volatility models or quantile forecasts may be required, particularly for risk management.

Illustrative Case: Forecasting Capacity for MetroMeal Deliveries

Background. MetroMeal, a fictional prepared-meal delivery company, must schedule kitchen labor and courier capacity for the next quarter. Daily orders show a rising trend, strong weekday effects and occasional promotional spikes.

Problem. Management initially used a 7-day moving average. The method was simple, but it under-predicted orders immediately after promotions and sometimes over-predicted the quiet days following a spike. A single accuracy number concealed these differences.

Analysis. The analytics team plotted daily orders, created weekday indicators and marked promotion dates. The plot showed that the variance increased with order volume, suggesting that a multiplicative or log-scale treatment might be useful. Residual autocorrelation remained after a seasonal regression, indicating that a dynamic component was also needed.

Approach. The team compared four candidates: a 7-day moving average, Holt’s damped trend, seasonal exponential smoothing and a regression model with trend, weekday indicators, promotion variables and ARIMA errors. They used rolling-origin validation over the last eight weeks. MAE was selected as the primary operational measure because staffing decisions were stated in orders, while RMSE was used as a secondary measure to identify costly large misses.

The regression-with-dynamic-errors model had the lowest validation MAE, but its advantage disappeared when evaluated only during an unusual festival period. Management therefore used the model as the baseline, added a festival scenario and produced an 80% prediction interval for staffing. Capacity was planned near the upper interval boundary on festival days, subject to the cost of idle labor.

Outcome. The company reduced routine overstaffing while preserving a flexible contractor pool for high-demand periods. Forecast errors were reviewed weekly, and promotion variables were updated before each campaign. The model was not treated as automatic: a governance review was triggered when errors exceeded a predefined threshold for three consecutive weeks.

Learning points. The case illustrates that model choice must reflect data structure and decision cost. Validation must preserve time order, promotional events must be represented explicitly, and forecast uncertainty must be connected to capacity decisions.

Managerial, Ethical and Technological Considerations

Forecasts allocate resources and can affect employees, customers and suppliers. Biased historical data may reproduce unequal service levels, such as systematically under-forecasting demand in neighborhoods with sparse historical observations. Forecasts used for staffing or credit decisions should be explainable, monitored for disparate impact and subject to human review where consequences are material.

Data governance should address ownership, access control, quality, retention, privacy and auditability. Personal data should not be collected or used merely because it improves predictive accuracy. Managers should document the forecast origin, variables, transformations, model version, assumptions, overrides and realized accuracy.

Machine-learning methods can model nonlinearities, interactions and high-dimensional predictors, but they do not eliminate the need for temporal validation, causal reasoning or uncertainty quantification. A complex model may be inferior to a transparent benchmark when data are limited, regimes change rapidly or decisions require explanation. Forecast combinations often improve robustness because different models capture different aspects of the signal; however, combinations should be validated rather than assumed to be superior.

Best practice is to maintain simple benchmarks, use a reproducible pipeline, monitor data drift and forecast drift, compare performance across segments, recalibrate prediction intervals and establish escalation rules for structural change. Human judgment should be recorded as an input with an identifiable rationale, not silently added to the statistical output.

Chapter Summary

Forecasting converts historical and contextual information into estimates of future conditions for decisions under uncertainty. Time-series analysis begins with diagnosis of level, trend, seasonality, cycles, irregular variation and structural change. Moving averages provide transparent smoothing; exponential smoothing gives greater weight to recent observations; Holt and Holt–Winters methods extend smoothing to trend and seasonality. Decomposition separates components for interpretation and seasonal adjustment.

Regression models incorporate explanatory variables and interventions, while ARIMA models represent autocorrelation after differencing. No method is universally best. Models must be evaluated through time-ordered, out-of-sample validation using measures such as MAE, RMSE and carefully interpreted percentage errors. Prediction intervals, scenario analysis and monitoring are essential because structural change and uncertainty limit extrapolation. Effective managerial forecasting combines statistical discipline, operational cost awareness, ethical governance and continuous review.

Key Terms

Forecast: A conditional estimate of a future value.

Time series: Observations recorded sequentially over time.

Level: The underlying average magnitude of a series.

Trend: Persistent long-run movement.

Seasonality: A regular calendar-related pattern.

Cycle: Longer-term fluctuation without necessarily fixed periodicity.

Irregular component: Unsystematic short-term variation.

Structural break: A change in the process generating observations.

Moving average: An average of a fixed number of recent observations.

Exponential smoothing: A method that weights recent observations more heavily.

Smoothing parameter: A parameter controlling responsiveness to new data.

Decomposition: Separation of a series into interpretable components.

Seasonal index: A measure of a period’s typical seasonal effect.

Autocorrelation: Dependence between observations at different time lags.

Stationarity: Stability of key statistical properties over time.

Differencing: Subtracting a prior observation to reduce nonstationarity.

ARIMA: Autoregressive integrated moving-average model.

MAE: Mean absolute forecast error.

RMSE: Root mean squared forecast error.

Prediction interval: A range intended to contain a future observation with stated probability.

Review Questions

Short Answer Questions

  1. Distinguish trend from seasonality.
  2. What is the effect of increasing the window length in a moving average?
  3. State the simple exponential-smoothing equation and define its parameters.
  4. Why can MAPE be problematic when actual values are zero or close to zero?
  5. What does differencing attempt to achieve in ARIMA modelling?

Long Answer Questions

  1. Explain additive and multiplicative decomposition and identify when each is appropriate.
  2. Compare moving averages, exponential smoothing and regression forecasting in terms of assumptions, responsiveness and interpretability.
  3. Explain how Holt–Winters methods accommodate trend and seasonality.
  4. Describe a rigorous rolling-origin validation procedure and discuss suitable accuracy measures.
  5. Discuss the causes, consequences and management responses to structural change in a time series.

Analytical / Application Questions

  1. Weekly demand for the last three weeks was 240, 260 and 250 units. Calculate the next forecast using a three-period moving average. If actual demand is 280, calculate the following forecast.
  2. An organization uses simple exponential smoothing with α = 0.25. The current forecast is 800 and the latest actual value is 920. Calculate the next forecast and interpret the result.
  3. A forecasting model has MAE of 18 units and RMSE of 42 units, while a benchmark has MAE of 22 units and RMSE of 30 units. Which model would you choose for routine staffing, and what additional information would you request before making the decision?

Multiple Choice Questions with Answers

Question 1

A three-period moving-average forecast uses recent observations of 120, 135 and 150 units. What is the forecast for the next period?

A. 125 units

B. 135 units

C. 145 units

D. 150 units

Correct Answer: B. 135 units

Question 2

In simple exponential smoothing, what is the effect of increasing α?

A. The forecast responds more strongly to recent observations

B. The forecast ignores the latest observation

C. Seasonality is automatically removed

D. The forecast becomes equal to a long-run average

Correct Answer: A. The forecast responds more strongly to recent observations

Question 3

Which decomposition is most suitable when seasonal fluctuations increase as the series level rises?

A. Additive decomposition

B. Multiplicative decomposition

C. Constant decomposition

D. Cross-sectional decomposition

Correct Answer: B. Multiplicative decomposition

Question 4

Under the convention e_t = y_t − F_t, a positive mean error generally indicates:

A. Systematic over-forecasting

B. Systematic under-forecasting

C. No forecast error

D. Seasonality has been removed

Correct Answer: B. Systematic under-forecasting

Question 5

Which accuracy measure is expressed in the original units and is less dominated by large errors than RMSE?

A. MAE

B. MAPE

C. sMAPE

D. AIC

Correct Answer: A. MAE

Question 6

What does the integrated component d represent in ARIMA(p,d,q)?

A. The number of predictors

B. The number of seasonal periods

C. The number of differences applied

D. The number of forecast horizons

Correct Answer: C. The number of differences applied

Question 7

Why is random train-test splitting generally inappropriate for ordinary time-series validation?

A. It always reduces sample size to zero

B. It can allow future information to influence model estimation

C. It prevents calculation of MAE

D. It removes all seasonality

Correct Answer: B. It can allow future information to influence model estimation

Question 8

For a simple stationary AR(1) process, which condition on φ is generally required?

A. φ = 0 only

B. φ > 1

C. |φ| < 1

D. φ must be negative

Correct Answer: C. |φ| < 1

Question 9

Which event is most likely to create a structural break?

A. A routine observation with no policy change

B. A one-time rounding difference

C. A permanent regulatory change affecting demand

D. Using a different chart color

Correct Answer: C. A permanent regulatory change affecting demand

Question 10

A model has MAE 10 and another has MAE 15, but the first model has much larger errors during critical peak periods. What is the best managerial response?

A. Automatically select the first model using MAE alone

B. Ignore peak periods because averages are sufficient

C. Evaluate peak-period costs and consider weighted or segmented validation

D. Select the second model without further analysis

Correct Answer: C. Evaluate peak-period costs and consider weighted or segmented validation

Quantitative Methods & Decision Sciences
Chapter 7 of 15