Professional Documents
Culture Documents
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-1
The Effect of Inaccurate Forecasting
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-2
Components of Forecasting Demand
• Time frame (short to mid range *up to two
years) or (long range *longer than two year)
• Demand behavior
• Causes of behavior
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-3
Demand Behavior
• Trend
• a gradual, long-term up or down movement of demand
• Random variations
• movements in demand that do not follow a pattern
• Cycle
• an up-and-down repetitive movement in demand
• Seasonal pattern
• an up-and-down repetitive movement in demand
occurring periodically
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-4
Forecasting Methods
• Time series
• statistical techniques that use historical demand data
to predict future demand
• Regression methods
• attempt to develop a mathematical relationship
between demand and factors that cause its behavior
• Qualitative
• use management judgment, expertise, and opinion to
predict future demand
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-5
Forecasting Process
1. Identify the 2. Collect historical 3. Plot data and identify
purpose of forecast data patterns
7.
Is accuracy of No 8b. Select new
forecast forecast model or
acceptable? adjust parameters of
existing model
Yes
9. Adjust forecast based 10. Monitor results
8a. Forecast over
on additional qualitative and measure forecast
planning horizon
information and insight accuracy
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-6
Data Mining
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-7
Moving Average: Naïve Approach
ORDERS
MONTH PER MONTH FORECAST
Jan 120 -
Feb 90 120
Mar 100 90
Apr 75 100
May 110 75
June 50 110
July 75 50
Aug 130 75
Sept 110 130
Oct 90 110
Nov - 90
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-8
Simple Moving Average
n
i=1
Di
MAn =
n
where
n = number of periods in
the moving average
Di = demand in period i
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-9
3-month Simple Moving Average
ORDERS MOVING
MONTH PER MONTH AVERAGE 3
Jan 120 –
i=1
Di
Feb 90 – MA3 =
Mar 100 – 3
Apr 75 103.3
May 110 88.3 90 + 110 + 130
June 50 95.0
= 3
July 75 78.3
Aug 130 78.3
= 110 orders for Nov
Sept 110 85.0
Oct 90 105.0
Nov - 110.0
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-10
Weighted Moving Average
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-11
Weighted Moving Average Example
MONTH WEIGHT DATA
August 17% 130
September 33% 110
October 50% 90
3
November Forecast WMA3 =
i=1
Wi Di
= 103.4 orders
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-12
Exponential Smoothing
• Averaging method
• Weights most recent data more strongly
• Reacts more to recent changes
• Widely used, accurate method
• Smoothing constant, α
• applied to most recent data
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-13
Exponential Smoothing
Ft +1 = Dt + (1 - )Ft
where:
Ft +1 = forecast for next period
Dt = actual demand for present period
Ft = previously determined forecast for
present period
= weighting factor, smoothing constant
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-14
Effect of Smoothing Constant
If = 0, then Ft +1 = 0 Dt + 1 Ft = Ft
Forecast does not reflect recent data
If = 1, then Ft +1 = 1 Dt + 0 Ft = Dt
Forecast based only on most recent data
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-15
Exponential Smoothing (α=0.30)
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-16
Exponential Smoothing
FORECAST, Ft + 1
PERIOD MONTH DEMAND ( = 0.3) ( = 0.5)
1 Jan 37 – –
2 Feb 40 37.00 37.00
3 Mar 41 37.90 38.50
4 Apr 37 38.83 39.75
5 May 45 38.28 38.37
6 Jun 50 40.29 41.68
7 Jul 43 43.20 45.84
8 Aug 47 43.14 44.42
9 Sep 56 44.30 45.71
10 Oct 52 47.81 50.85
11 Nov 55 49.06 51.42
12 Dec 54 50.84 53.21
13 Jan – 51.79 53.61
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-17
Exponential Smoothing
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-18
Adjusted Exponential Smoothing
AFt +1 = Ft +1 + Tt +1
where
T = an exponentially smoothed trend factor
Tt +1 = (Ft +1 - Ft) + (1 - ) Tt
where
Tt = the last period trend factor
= a smoothing constant for trend
0 ≤ ≤ 1
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-19
Adjusted Exponential Smoothing (β=0.30)
PERIOD MONTH DEMAND T3 = (F3 - F2) + (1 - ) T2
1 Jan 37 = (0.30)(38.5 - 37.0) + (0.70)(0)
2 Feb 40 = 0.45
3 Mar 41
4 Apr 37 AF3 = F3 + T3 = 38.5 + 0.45
5 May 45 = 38.95
6 Jun 50
7 Jul 43 T13 = (F13 - F12) + (1 - ) T12
8 Aug 47 = (0.30)(53.61 - 53.21) + (0.70)(1.77)
9 Sep 56
= 1.36
10 Oct 52
11 Nov 55
12 Dec 54 AF13 = F13 + T13 = 53.61 + 1.36 = 54.97
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-20
Adjusted Exponential Smoothing
FORECAST TREND ADJUSTED
PERIOD MONTH DEMAND Ft +1 Tt +1 FORECAST AFt +1
1 Jan 37 37.00 – –
2 Feb 40 37.00 0.00 37.00
3 Mar 41 38.50 0.45 38.95
4 Apr 37 39.75 0.69 40.44
5 May 45 38.37 0.07 38.44
6 Jun 50 38.37 0.07 38.44
7 Jul 43 45.84 1.97 47.82
8 Aug 47 44.42 0.95 45.37
9 Sep 56 45.71 1.05 46.76
10 Oct 52 50.85 2.28 58.13
11 Nov 55 51.42 1.76 53.19
12 Dec 54 53.21 1.77 54.98
13 Jan – 53.61 1.36 54.96
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-21
Adjusted Exponential Smoothing
Forecasts
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-22
Linear Trend Line
xy - nxy
y = a + bx b =
x2 - nx2
a = y-bx
where
a = intercept where
b = slope of the line n = number of periods
x = time period
x
y = forecast for x = = mean of the x values
demand for period x n
y
y = n = mean of the y values
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-23
Least Squares Example
x(PERIOD) y(DEMAND) xy x2
1 73
2 40
3 41
4 37
5 45
6 50
7 43
8 47
9 56
10 52
11 55
12 54
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-24
Least Squares Example
x =
y =
b = xy - nxy =
x2 - nx2
a = y - bx
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-25
Linear trend line y = 35.2 + 1.72x
Forecast for period 13 y = 35.2 + 1.72(13) = 57.56 units
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-26
Least Squares Example
x(PERIOD) y(DEMAND) xy x2
1 73 37 1
2 40 80 4
3 41 123 9
4 37 148 16
5 45 225 25
6 50 300 36
7 43 301 49
8 47 376 64
9 56 504 81
10 52 520 100
11 55 605 121
12 54 648 144
78 557 3867 650
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-27
Least Squares Example
x = 78 = 6.5
12
y = 557 = 46.42
12
b = xy - nxy = 3867 - (12)(6.5)(46.42) =1.72
x2 - nx2 650 - 12(6.5)2
a = y - bx
= 46.42 - (1.72)(6.5) = 35.2
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-28
Linear trend line y = 35.2 + 1.72x
Forecast for period 13 y = 35.2 + 1.72(13) = 57.56 units
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-29
Seasonal Adjustments
Repetitive increase/ decrease in demand
Use seasonal factor to adjust forecast
Di
Seasonal factor = Si = D
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-30
Seasonal Adjustment
DEMAND (1000’S PER QUARTER)
YEAR 1 2 3 4 Total
2002 12.6 8.6 6.3 17.5 45.0
2003 14.1 10.3 7.5 18.2 50.1
2004 15.3 10.6 8.1 19.6 53.6
Total 42.0 29.5 21.9 55.3 148.7
D1 42.0 D3 21.9
S1 = = = 0.28 S3 = = = 0.15
D 148.7 D 148.7
D2 29.5 D4 55.3
S2 = = = 0.20 S4 = = = 0.37
D 148.7 D 148.7
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-31
Seasonal Adjustment
For 2005
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-32
Forecast Accuracy
• Forecast error
• difference between forecast and actual demand
• MAD
• mean absolute deviation
• MAPD
• mean absolute percent deviation
• Cumulative error
• Average error or bias
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-33
Mean Absolute Deviation (MAD)
Dt - Ft
MAD = n
where
t = period number
Dt = demand in period t
Ft = forecast for period t
n = total number of periods
= absolute value
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-34
MAD Example
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-35
MAD Calculation
Dt - Ft
MAD = n
53.39
=
11
= 4.85
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-36
Other Accuracy Measures
Mean absolute percent deviation (MAPD)
|Dt - Ft|
MAPD =
Dt
Cumulative error
E = et
Average error
et
E= n
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-37
Comparison of Forecasts
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-38
Forecast Control
• Tracking signal
• monitors the forecast to see if it is biased high or low
• 1 MAD ≈ 0.8 б
• Control limits of 2 to 5 MADs are used most frequently
(Dt - Ft) E
Tracking signal = =
MAD MAD
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-39
Tracking Signal Values
DEMAND FORECAST, ERROR E = TRACKING
PERIOD Dt Ft Dt - Ft (Dt - Ft) MAD SIGNAL
1 37 37.00 – – – –
2 40 37.00 3.00 3.00 3.00 1.00
3 41 37.90 3.10 6.10 3.05 2.00
4 37 38.83 -1.83 4.27 2.64 1.62
5 45 38.28 6.72 10.99 3.66 3.00
6 50 40.29 9.69 20.68 4.87 4.25
7 43 43.20 -0.20 20.48 4.09 5.01
8 47 43.14 3.86 24.34 4.06 6.00
9 56 44.30 11.70 36.04 5.01 7.19
10 52 47.81 4.19 40.23 4.92 8.18
11 55 49.06 5.94 46.17 5.02 9.20
12 54 50.84 3.15 49.32 4.85 10.17
6.10
TS3 = = 2.00
3.05
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-40
Tracking Signal Plot
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-41
Statistical Control Charts
Using we can calculate statistical control limits
for the forecast error
Control limits are typically set at 3
(Dt - Ft)2
= n-1
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-42
Statistical Control Charts
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-43
Regression Methods
• Linear regression
• mathematical technique that relates a dependent
variable to an independent variable in the form of a
linear equation
• Correlation
• a measure of the strength of the relationship between
independent and dependent variables
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-44
Linear Regression
y = a + bx a = y-bx
xy - nxy
b =
x2 - nx2
where
a = intercept
b = slope of the line
x
x = = mean of the x data
n
y
y = n = mean of the y data
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-45
Linear Regression Example
x y
(WINS) (ATTENDANCE) xy x2
4 36.3 145.2 16
6 40.1 240.6 36
6 41.2 247.2 36
8 53.0 424.0 64
6 44.0 264.0 36
7 45.6 319.2 49
5 39.0 195.0 25
7 47.5 332.5 49
49 346.7 2167.7 311
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-46
Linear Regression Example
49
x= = 6.125
8
346.9
y= = 43.36
8
xy - nxy2
b=
x2 - nx2
(2,167.7) - (8)(6.125)(43.36)
= (311) - (8)(6.125)2
= 4.06
a = y - bx
= 43.36 - (4.06)(6.125)
= 18.46
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-47
Linear Regression Example
60,000 –
50,000 –
40,000 –
Attendance, y
| | | | | | | | | | |
0 1 2 3 4 5 6 7 8 9 10
Wins, x
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-48
Correlation and Coefficient of
Determination
• Correlation, r
• Measure of strength of relationship
• Varies between -1.00 and +1.00
• Coefficient of determination, r2
• Percentage of variation in dependent variable
resulting from changes in the independent variable
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-49
Linear Regression Example
x y
(WINS) (ATTENDANCE) xy x2
4 36.3 145.2 16
6 40.1 240.6 36
6 41.2 247.2 36
8 53.0 424.0 64
6 44.0 264.0 36
7 45.6 319.2 49
5 39.0 195.0 25
7 47.5 332.5 49
49 346.7 2167.7 311
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-50
Linear Regression Example
49
x= = 6.125
8
346.9
y= = 43.36
8
xy - nxy2
b=
x2 - nx2
(2,167.7) - (8)(6.125)(43.36)
= (311) - (8)(6.125)2
= 4.06
a = y - bx
= 43.36 - (4.06)(6.125)
= 18.46
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-51
Computing Correlation
n xy - x y
r=
[n x2 - ( x)2] [n y2 - ( y)2]
(8)(2,167.7) - (49)(346.9)
r=
[(8)(311) - (49)2] [(8)(15,224.7) - (346.9)2]
r = 0.947
Coefficient of determination
r2 = (0.947)2 = 0.897
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-52
Multiple Regression
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-53
Multiple Regression Example
© 2014 John Wiley & Sons, Inc. - Russell and Taylor 8e 12-54