Forecasting
Forecasting
Forecasting
Forecasting
Dr. Muhammad Rizwan Khan
3
COMPONENTS OF FORECASTING DEMAND
Time frame: indicates how far into the future is forecast.
5
Demand Patterns
Horizontal. The fluctuation of data around a constant mean.
6
Demand Patterns
The four patterns of demand—horizontal, trend, seasonal, and
cyclical—combine in varying degrees to define the underlying time
pattern of demand for a service or product.
The fifth pattern, random variation, results from chance causes and
thus, cannot be predicted.
7
Demand Patterns
Quantity
Time
Quantity
Time
Year 1
Quantity
Year 2
| | | | | | | | | | | |
J F M A M J J A S O N D
Months
(c) Seasonal: Data consistently show peaks and valleys
Demand Patterns
Quantity
| | | | | |
1 2 3 4 5 6
Years
(d) Cyclical: Data reveal gradual increases and decreases over
extended periods
FORECASTING METHODS
• Types of methods:
1. Time series,
2. Causal,
3. Qualitative.
• Time series methods are statistical techniques that use historical demand data to predict
future demand.
• Regression (or causal) forecasting methods attempt to develop a mathematical relationship
(in the form of a regression model) between demand and factors that cause it to behave the
way it does.
• Qualitative (or judgmental) methods use management judgment, expertise, and opinion to
make forecasts. Often called “the jury of executive opinion,” they are the most common
type of forecasting method for the long-term strategic planning process.
• There are normally individuals or groups within an organization whose judgments and
opinions regarding the future are as valid or more valid than those of outside experts or
other structured approaches.
• Top managers are the key group involved in the development of forecasts for strategic
plans.
• They are generally most familiar with their firms’ own capabilities and resources and the
markets for their products. 12
Delphi Method
14
4. Select a forecast
1. Identify the 2. Collect historical 3. Plot data and
model that seems
purpose of forecast data identify patterns
appropriate for data
Yes
9. Adjust forecast
based on additional 10. Monitor results
8a. Forecast over
qualitative and measure
planning horizon
information and forecast accuracy
insight
15
Time Series Methods
Time series methods:
• Use historical demand data over a period of time to predict future
demand.
• Statistical techniques that make use of historical data accumulated over
a period of time.
• Time series methods assume that what has occurred in the past will
continue to occur in the future.
• As the name time series suggests, these methods relate the forecast to
only one factor—time.
• These methods assume that identifiable historical patterns or trends for
demand over time will repeat themselves.
• They include the moving average, exponential smoothing, and linear
trend line; and they are among the most popular methods for short-
range forecasting among service and manufacturing companies.
Time Series Methods
•Naïve Forecast
• The forecast for the next period equals the demand for the
current period (Forecast = Dt)
•Horizontal Patterns: Estimating the average
• Simple moving average
• Weighted moving average
• Exponential smoothing
Simple Moving Averages
• Specifically, the forecast for period t + 1 can be calculated at the end of period t
(after the actual demand for period t is known) as:
Where,
Dt = actual demand in period t
n = total number of periods in the average
Ft+1 = forecast for period t + 1
Example 1:
a) Compute a three-week moving average forecast for the arrival of
medical clinic patients in week 4. The numbers of arrivals for the past
three weeks were as follows:
Week Patient Arrivals
1 400
2 380
3 411
Et = Dt – Ft
E5 = 805 – 780 = 25
27
Exponential Smoothing
• A sophisticated weighted moving average that calculates the average of a time series by
implicitly giving recent demands more weight than earlier demands
• Requires only three items of data
• The last period’s forecast
• The demand for this period
• A smoothing parameter, alpha (α), where 0 ≤ α ≤ 1.0
• The equation for the forecast is
Ft+1 = α(Demand this period) + (1 – α)(Forecast calculated last period)
= αDt + (1 – α)Ft
• The emphasis given to the most recent demand levels can be adjusted by changing the
smoothing parameter.
• Larger α values emphasize recent levels of demand and result in forecasts more
responsive to changes in the underlying average.
• Smaller α values treat past demand more uniformly and result in more stable forecasts.
Forecast Error
• For any forecasting method, it is important to measure the accuracy of its
forecasts.
• Forecasts almost always contain errors.
• Random error results from unpredictable factors that cause the forecast to
deviate from the actual demand.
• Forecasting analysts try to minimize forecast errors by selecting appropriate
forecasting models but eliminating all forms of errors is impossible.
• Forecast error is simply the difference found by subtracting the forecast from
actual demand for a given period, or
where Et = Dt – Ft
Et = forecast error for period t
Dt = actual demand in period t
Ft = forecast for period t
Measures of Forecast Error
There are five basic measures of forecast error: CFE, MSE, , MAD, and MAPE.
• The cumulative sum of forecast errors (CFE) measures the total forecast error.
• The average forecast error, sometimes called the mean bias, is simply.
• The mean squared error (MSE), standard deviation of the errors (), and mean absolute
deviation (MAD) measure the dispersion of forecast errors attributed to trend, seasonal,
cyclical, or random effects.
• The mean absolute percent error (MAPE) relates the forecast error to the level of demand
and is useful for putting forecast performance in the proper perspective:
Standard deviation
Cumulative sum of forecast errors (Bias)
(Et – Ē ) 2
CFE = Et =
n– 1
Average forecast error Mean Absolute Deviation
Ē=
CFE |Et |
n MAD = n
Mean Squared Error Mean Absolute Percent Error
Et2 (|Et |/ Dt)(100)
MSE = n MAPE = n
Example:
The following table shows the actual sales of upholstered chairs for a furniture
manufacturer and the forecasts made for each of the last eight months.
Calculate CFE, MSE, σ, MAD, and MAPE for this product.
Month Demand Forecast Error Error2 Absolute Absolute % Error
t Dt Ft Et Et2 Error |Et| (|Et|/Dt)(100)
2 240 220 20
3 300 285 15
a. Forecast the demand for pizza for June 23 to July 14 by using the simple moving
average method with n = 3 then using the weighted moving average method with
and weights of 0.50, 0.30, and 0.20, with 0.50 applying to the most recent
demand.
b. Calculate the MAD for each method.
Problem:
0+3+6 0+2+2
MAD = =3 MAD = = 2.3
3 3
Y
Deviation, Regression
or error equation:
Estimate of Y = a + bX
Dependent variable
Y from
regression
equation
Actual
value
of Y
Value of X used
to estimate Y
X
Independent variable
QUESTIONS
41