Professional Documents
Culture Documents
Operations Management Lecture 7
Operations Management Lecture 7
Operations Management Lecture 7
Lect. 7 “Forecasting”
1
Forecasting Principles
perfect prediction.
individual items
periods
2
STEPS IN THE FORECASTING PROCESS
3
Types of Forecasting Methods
➢ Educated guesses
4
Types of Forecasting Methods
5
Qualitative Method
6
Quantitative Method
7
Time Series Method
8
Time Series Pattern
9
Time Series Models
➢ Naive:
➢ The forecast is equal to the actual value observed during the last period –
good for level patterns
Ft +1 = At
where Ft+1 = forecast for next period, t + 1
o For example, suppose that we have monthly seasonality and know that sales for last
January were 230 units. Using the naïve method, we would forecast sales of 230 units
for next January.
10
Time Series Models
➢ Simple Mean:
Ft +1 = A t / n
11
Time Series Models
Moving Average:
➢ The average value over a set time period (e.g.: the last four weeks)
➢ Each new forecast drops the oldest data point & adds a new observation
50+52+48
= 50
3
12
Time Series Models
13
Time Series Models
14
Time Series Models
Weighted Moving Average:
➢ All weights must add to 100% or 1.00 (e.g. Ct 0.5, Ct-1 0.3, Ct-2
0.2 (weights add to 1.0)
➢ Differs from the simple moving average that weighs all periods
equally - more responsive to trends
15
Time Series Models
16
Time Series Models
Exponential Smoothing:
➢ Most frequently used time series method because of ease of use and minimal
amount of data needed
➢ If no last period forecast is available, average the last few periods or use naive
method
➢ Higher α values (e.g. .7 or .8) may place too much weight on last period’s random
variation
Ft +1 = αA t + (1 − α )Ft
17
Time Series Models
The Hot Tamale Mexican restaurant uses exponential smoothing to forecast monthly usage of
tabasco sauce. Its forecast for September was 200 bottles, whereas actual usage in September was
300 bottles. If the restaurant’s managers use an of 0.70, what is their forecast for October?
18
Time Series Models
19
Time Series Models
1 300
2 315
3 290
4 345
5 320
6 360
20
Forecasting Trend
Basic forecasting models for trends compensate for the lagging that would
otherwise occur
Trend-adjusted exponential smoothing:- Exponential smoothing model that is
suited to data that exhibit a trend.
21
Forecasting Trend
Forecasting trend problem: a company uses exponential smoothing with trend to forecast
usage of its lawn care products. At the end of July the company wishes to forecast sales
for August. July demand was 62. The trend through June has been 15 additional gallons of
product sold per month. Average sales have been 57 gallons per month. The company
uses alpha+0.2 and beta +0.10. Forecast for August.
➢ Smooth the level of the series:
22
Liner Trend line
A time series technique that computes a forecast with trend by drawing a
Y = a + bX
where
a = value of y at X = 0 (Y intercept)
23
Liner Trend line
A manufacturer has plotted product sales over the past four weeks. Use a linear trend line to
generate forecast for week 5.
Week Sales
1 2300
2 2400
2375
3 2300
b=
XY − n XY =24,000−4(2.5)(2375) = 50 4 2500
30−4(2.52 )
X − nX
2 2
E.g.: take the average of all Spring indexes, then of all Summer
indexes, ...
25
Forecasting Seasonality
4. Forecast demand for the next year & divide by the number of
seasons
quarterly demand
seasonal index
26
Forecasting Seasonality
University wants to develop forecasts for next year’s quarterly enrollment. It has collected quarterly
enrollments for the past two years. It has also forecast total annual enrollment for next year to be
90,000 students. What is the forecast for each quarter of next year?
27
Forecasting Seasonality
Step 2 Step 3 Step 4 Step 5
28
Casual Models
◼ Often, leading indicators can help to predict changes in future
modeling
29
Casual Models
X − nX
2 2
a = Y − bX
◼ Develop your equation for
the trend line
Y = a + bX
30
Casual Models
A maker of personalized golf shirts has been tracking the relationship between
sales and advertising dollars over the past four years. The results are as
follows:
Sales ($) Advertising ($)
130,000 32,000
151,000 52,000
150,000 50,000
158,000 55,000
Use linear regression to find out what sales would be if the company invested
$53,000 in advertising for next year.
31
Casual Models
Sales in Adv. in XY 𝑋2 𝑌2
Thousan Thous
b=
XY − n XY
ds $ (Y) ands $
X − nX 2 2
(X)
32
Correlation Coefficient
➢ Correlation coefficient (r) measures the direction and strength of the linear
relationship between two variables. The closer the r value is to 1.0 the better
the regression line fits the data points.
n ( XY ) − ( X )( Y )
r=
( X ) − ( X ) ( Y ) − (Y )
2 2
2 2
n * n
4(28,202 ) − 189(589 )
r= = .982
4(9253) - (189) * 4(87,165) − (589 )
2 2
r 2 = (.982 ) = .964
2
34
Forecast Accuracy Measure
E t = A t − Ft
where
Et forecast error for period t
At actual value for period t
Ft forecast for period t
35
Forecast Accuracy Measure
MAD =
actual − forecast
n
➢ Cumulative Forecast Error (CFE)
➢ Measures any bias in the forecast
MSE =
n
➢ Tracking Signal
➢ Measures if your model is working
CFE
TS =
M AD
36
Forecast Accuracy Measure
Standard Parts Corporation is comparing the accuracy of two methods
that it has used to forecast sales of its popular valve. Forecasts using
method A and method B are shown against the actual values for January
through May. Which method provided better forecast accuracy?
Method A Method B
Month Actual F’cast Error Absolute 𝐸𝑟𝑟𝑜𝑟 2 F’cast Error Absolute 𝐸𝑟𝑟𝑜𝑟 2
sales Error Error
Jan. 30 28 2 2 4 27 3 3 9
Feb. 26 25 1 1 1 25 1 1 1
March 32 32 0 0 0 29 3 3 9
April 29 30 -1 1 1 27 2 2 4
May 31 30 1 1 1 29 2 2 4
Total 3 5 7 11 11 27
MAD 5/5=1 11/5=2.2
37
Forecast Accuracy Measure
A company uses a tracking signal with limits of ± 4 to decide whether a
forecast should be reviewed. Compute the tracking signal given the following
historical information and decide when the forecast should be reviewed.
Method A Method B
Month Actual F’cast Error Accumul Tracking F’cast Error Accumul Tracking
sales ative Signal ative Signal
Error Error
Jan. 30 28 2 2 2 27 3 3 1.5
Feb. 26 25 1 3 3 25 1 4 2
March 32 32 0 3 3 29 3 7 3.5
April 29 30 -1 2 2 27 2 9 4.5
May 31 30 1 3 3 29 2 11 5.5
MAD 5/5=1 10/5=2
MSE 7/5=1.4 27/5=5.4
38
Selecting the Right Forecasting Model
▪ The amount & type of available data
39
THANK YOU
40