MS06
MS06
MS06
• Time Frames:
– Short-range (one to two months)
Sales
pw ard trend
U
Time
Cyclical Component
Sales
Time
Seasonal Component
• Regular Patterns
Sales seasonality
Develop (1) three-month and (2) five-month moving averages using the data.
Month Orders per Month 3-Month Moving Average 5-Month Moving Average
January 120 — —
February 90 — —
March 100 — —
April 75 103.3 —
May 110 88.3 —
June 50 95.0 99.0
July 75 78.3 85.0
August 130 78.3 82.0
September 110 85.0 88.0
October 90 105.0 95.0
November — 110.0 91.0
Moving Average
Comparison: Three- and five-month moving averages
Moving Average
• Longer-period moving averages react more slowly to
changes in demand than do shorter-period moving
averages.
• The appropriate number of periods to use often requires
trial-and-error experimentation.
• A moving average does not react well to changes
(trends, seasonal effects, etc.) but is easy to use and
inexpensive.
• Good for short-term forecasting.
Weighted Moving Average
• In a weighted moving average, weights are assigned to the most
recent data.
n
WMA = å W D
n i =1 i i
where Wi = the weight for period i, between 0% and 100% (0.00 – 1.00)
åWi = 1.00
Example: Paper clip company weight 50% for October, 33% for
September, 17% for August:
3
WMA = å W D = (.50)(90) + (.33)(110) + (.17)(130) = 103.4 orders
3 i =1 i i
1 January 37 37 37
2 February 40 37.00 37.00
3 March 41 37.90 38.50
4 April 37 38.83 39.75
5 May 45 38.28 38.37
6 June 50 40.29 41.68
7 July 43 43.20 45.84
8 August 47 43.14 44.42
9 September 56 44.30 45.71
10 October 52 47.81 50.85
11 November 55 49.06 51.42
12 December 54 50.84 53.21
13 January — 51.79 53.61
• Forecast for period 2 (February): F2 = a D1 + (1 - a )F1 = (.30 )(.37 ) + (1 - .30 )(.37 ) = 37 units
• Forecast for period 3 (March): F3 = a D2 + (1 - a )F2 = (.30 )(.40 ) + (1 - .30 )( 37 ) = 37.9 units
Exponential Smoothing: simple exponential smoothing
Comparison : Exponential smoothing forecasts
• The forecast that uses the higher smoothing constant (.50) reacts more strongly to changes in
demand than does the forecast with the lower constant (.30).
à Low smoothing constants are appropriate for stable data without trend
à higher constants appropriate for data with trends.
x2
x squared.
1 37 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
(sum) :78 :557 :3,867 :650
Linear Trend Line
Comparison: Linear trend line
• A trend line does not adjust to a change in the trend as does the
exponential smoothing method.
• This limits its use to shorter time frames in which the trend will not change.
Seasonal Adjustments
• A seasonal pattern is a repetitive up-and-down movement in demand.
å Dt -Ft
MAD = n
Where
t = the period number
Dt = demand in period t
Ft = the forecast for period t
n = the total number of periods
Mean Absolute Deviation: PM Computer Services
Table: Computational values for MAD and error
Forecast, Ft , (α = .30) Error, (Dt - Ft ) Dt - Ft
vertical bar, D sub t minus
Period Demand, Dt
1 37 37.00 — —
2 40 37.00 3.00 3.00
3 41 37.90 3.10 3.10
4 37 38.83 −1.83 1.83
5 45 38.28 6.72 6.72
6 50 40.29 9.71 9.71
7 43 43.20 −0.20 0.20
8 47 43.14 3.86 3.86
9 56 44.30 11.70 11.70
10 52 47.81 4.19 4.19
11 55 49.06 5.94 5.94
12 54 50.84 3.16 3.16
Blank 520* Blank 49.31 53.41
å Dt - Ft 53.41
MAD = n = = 4.85
11
Mean Absolute Deviation
• The lower the value of MAD relative to the magnitude of
the data, the more accurate the forecast: Compare
accuracies of different forecasts using MAD
• When viewed alone, MAD is difficult to assess : MAD
must be considered in light of magnitude of the data.
Mean Absolute Deviation
• Can be used to compare the accuracy of different forecasting
techniques working on the same set of demand data (P M
Computer Services):
– Exponential smoothing (a = .50): MAD = 4.04
– Adjusted exponential smoothing (a = .50, b = .30): MAD =
3.81
– Linear trend line: MAD = 2.29
• The linear trend line has the lowest MAD; increasing a from .30
to .50 improved the smoothed forecast.
Mean Absolute Deviation – percentage deviation
• Formula:
å Dt - Ft 53.41
MAPD = = = .103 or 10.3%
åDt 520
• MAPD for other three forecasts:
• Exponential smoothing (a = .50): MAPD = 8.5%
• Adjusted exponential smoothing (a = .50, b = .30): MAPD= 8.1%
• Linear trend: MAPD = 4.9%
Cumulative Error
• Cumulative error is the sum of the forecast errors (E = å et ).
• A relatively large positive value indicates the forecast is biased
low, a large negative value indicates the forecast is biased high. A
value close to zero implies “lack of bias”
• The cumulative error for a trend line is always almost zero, and
is therefore not a good measure for this method.
• The cumulative error for PM Computer Services can be read directly
from the table
b = å xy2 - nxy
å x - nx
2
where:
x = ånx = mean of the x data
x (wins) y (attendance, x y. x
Wins Attendance 1,000s) xy x2
square
4 36,300 d.
6 40,100 4 36.3 145.2 16
6 41,200 6 40.1 240.6 36
8 53,000 6 41.2 247.2 36
6 44,000 8 53.0 424.0 64
7 45,600 6 44.0 264.0 36
5 39,000 7 45.6 319.2 49
7 47,500 5 39.0 195.0 25
7 47.5 332.5 49
49 346.7 2,167.7 311
x = 49 = 6.125
8
y = 346.9 = 43.34
8
r = .948, r 2 = .899