Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 43

Quantitative Demand Forecasting

Recommended resources

Hello! Welcome to the first lesson in our module on Operations and Process Management.

Introduction

In this lesson, we will focus on the foundational task of predicting demand. The learning outcome is to apply quantitative forecasting methods (e.g., moving average, exponential smoothing) to predict demand.

Forecasting is the starting point for most operational planning. Decisions about how much inventory to hold, how many staff to schedule, and what production capacity is needed all depend on a reliable estimate of future demand.

Given your background in applied mathematics and quantitative finance, you'll find that the time-series techniques we'll cover are conceptually similar to methods used in signal processing and financial modeling. Our focus here will be on their specific application within a business operations context.

We will cover three core methods:

  1. Simple and Weighted Moving Averages
  2. Exponential Smoothing
  3. Evaluating Forecast Accuracy

Let's begin by understanding the role of forecasting in operations.


1. Quantitative Forecasting in Operations

Quantitative forecasting models use historical data to predict future outcomes. They are most effective when you have numerical data and can assume that past patterns will continue into the future. These methods form the bedrock of modern demand planning, even as more complex AI/ML models become prevalent.

To get an overview, please read the following sections from an introductory text on Operations Management.

Forecasting – Introduction to Operations Management

This reading from 'Forecasting – Introduction to Operations Management' introduces the main concepts of quantitative, time-series forecasting and provides a high-level look at the specific methods we will be studying.

Please read the sections titled 'Quantitative Forecasting' and 'Time Series Methods'. As you read, focus on the definitions of the different components of a time series (e.g., trend, seasonal) and the brief introductions to the Naïve, Simple Moving Average, Weighted Moving Average, and Exponential Smoothing methods. We will explore the calculations in more detail shortly.

As the text highlights, time-series methods are about extracting patterns from past data. The core challenge is to distinguish the underlying signal (trend, seasonality) from random noise.


2. Moving Average Methods

Moving averages are among the most straightforward forecasting techniques. They work by smoothing out short-term fluctuations in a time series.

Simple Moving Average (SMA)

The simple moving average forecast is the arithmetic mean of the demand from the most recent "n" periods.

Formula:

The key decision is choosing the value of n.

  • A small n makes the forecast very responsive to recent changes but also susceptible to noise.
  • A large n creates a smoother, more stable forecast but is slower to react to underlying changes in demand.

Weighted Moving Average (WMA)

The WMA is a refinement of the SMA that allows you to assign more importance to recent data. Each of the past n periods is assigned a weight, with the sum of weights typically equaling 1.

Formula: where .

The following video provides a clear, practical demonstration of how to calculate a WMA.

Forecasting: Weighted Moving Averages, MAD

This video, 'Forecasting: Weighted Moving Averages, MAD', walks through the calculation of a WMA. It also shows how to handle cases where the weights do not sum to 1.

Please watch the segments from 00:14 to 02:12 and 02:45 to 04:07. The first part covers a 4-week WMA where weights sum to 1. The second part shows a 2-week WMA where they do not, requiring an extra division step. Pay attention to how the most recent data is assigned the highest weight.


3. Exponential Smoothing

Exponential smoothing is a sophisticated and widely used forecasting method. It's a type of weighted average where the weights applied to past observations decline exponentially over time. A key advantage is its computational efficiency: you only need the previous period's forecast and actual demand to compute the next forecast.

The most common form is Single Exponential Smoothing, which uses the following formula:

Where:

  • is the forecast for the next period.
  • is the actual demand in the current period t.
  • is the forecast for the current period t.
  • (alpha) is the smoothing constant, a value between 0 and 1.

The choice of is a classic parameter-tuning problem.

  • A high (e.g., 0.8) places more weight on the most recent actual demand, making the forecast highly responsive.
  • A low (e.g., 0.2) places more weight on the previous forecast, resulting in a much smoother forecast that is less reactive to recent fluctuations.

This next video provides an excellent walkthrough of the calculation.

Exponential Smoothing Method in Forecasting | Forecasting Techniques - Exponential smoothing method

Let's see exponential smoothing in action. This video, 'Exponential Smoothing Method in Forecasting', breaks down the formula and provides a complete, multi-period calculation example.

Watch from 00:54 to 06:52. The first part (until 02:42) explains the formula and the initialization step (setting the first forecast). The second part is a detailed calculation. Focus on how each new forecast iteratively uses the result from the prior period.

Note that there are more advanced versions, like Double (Holt's method) and Triple (Holt-Winters method) Exponential Smoothing, which incorporate trend and seasonality, respectively. For this lesson, we are focusing on the single smoothing method.


4. Evaluating Forecast Accuracy

Creating a forecast is only half the battle. In a business setting, you must be able to measure how accurate your forecast is to evaluate its performance and compare different models.

Three standard metrics are:

  • Mean Absolute Deviation (MAD): The average of the absolute forecast errors. It's easy to interpret as the average error magnitude.
  • Mean Squared Error (MSE): The average of the squared forecast errors. By squaring the errors, this metric penalizes large misses more heavily. This is analogous to an L2 loss function in machine learning.
  • Mean Absolute Percentage Error (MAPE): The average of the absolute errors taken as a percentage of actual demand. This is useful for comparing forecast accuracy across products with different demand volumes.

The following reading demonstrates how to calculate these metrics using a simple table.

Forecasting – Introduction to Operations Management

Now, let's learn how to calculate the key accuracy metrics. This section from the 'Forecasting – Introduction to Operations Management' text provides a clear, step-by-step example.

Read the section 'Forecast Accuracy Measures'. Work through the example table to see how the error (et), absolute error, squared error, and percentage error are calculated for each period, and how they are then averaged to find MAD, MSE, and MAPE.

A lower value for MAD, MSE, or MAPE indicates a more accurate forecast. When comparing different forecasting methods (e.g., a 3-period SMA vs. exponential smoothing with ), you would calculate these metrics for each and choose the model with the lower error.


5. Practice Problem

Let's apply what you've learned. Using the data below, calculate the forecast for June using each of the requested methods.

Data: Monthly sales of light bulbs.

Month Sales
Jan 255
Feb 298
Mar 357
Apr 319
May 360

Calculate the forecast for June using:

  1. The Naïve method.
  2. A three-month simple moving average.
  3. A three-month weighted moving average using weights of 0.5, 0.3, and 0.2 for the most recent, second most recent, and third most recent months, respectively.
  4. Exponential smoothing using an alpha () of 0.2 and a May forecast of 350.

Take a few minutes to perform the calculations. Once you're ready, you can check your answers against the solutions provided in the "End of Chapter Problems" section of the "Forecasting – Introduction to Operations Management" reading, under Problem #1.


Conclusion

In this lesson, we explored several fundamental quantitative methods for demand forecasting.

Key Takeaways:

  • Time-series forecasting uses historical data to predict future demand, forming a critical input for operational planning.
  • Moving Averages (SMA and WMA) smooth out data to generate a forecast. WMAs improve on SMAs by giving more weight to recent data. The key parameter is n, the number of periods.
  • Exponential Smoothing is an efficient method that computes a forecast using only the most recent actual demand and forecast. Its responsiveness is controlled by the smoothing constant, .
  • Forecast accuracy is measured with metrics like MAD, MSE, and MAPE, which are essential for comparing and selecting the best forecasting model for a given situation.

In our next lesson, we will shift from predicting demand to analyzing the processes that meet that demand. We will learn to formalize and analyze an operational process using a process flow diagram to identify the bottleneck and calculate throughput. The demand forecast you learned to generate today is the primary driver of any process analysis.