Professional Documents
Culture Documents
Demand Forecasting - Note
Demand Forecasting - Note
Forecasting
Forecasting
Forecasting
Demand Forecasting
March 2012
Sales Forecasting
Sales forecasts are used to establish product levels, facilitate scheduling, set inventory
levels, determine manpower loading, make purchasing decisions, establish sales
conditions pricing and advertising, and financial planning cash budgeting and capital
budgeting
Many environmental factors influence the demand for products and services of an
organisation.
Forecast for groups of items tend to be more accurate than forecast for individual items
We are interested in estimating the level of future demand. Statistical techniques are used
to forecast.
All statistical forecasting techniques assume to some extent that forces that have existed
in the past will persist in the future.
New product demand (with little or no history of past demand) rely more on subjective
phenomenon and solicitation of opinions
Direct survey approach asking prospective customers of their buying interest
Indirect survey approach information from salesmen, wholesalers, area managers,
etc
Demand Forecasting
March 2012
Time series analysis, soliciting opinions, economic indicators and econometric models
Generally, these forecasts give starting point for making the final forecast
Final forecast usually requires an additional input in the form of judgment, intuition, and
experience and requires periodic review
Gross domestic product (GDP), Personal income, Bank deposits, Freight car
loadings, etc
One or more of these indicators have relationship with the forecast variable
Econometric Models
Attempt to show the relationships between relevant variables such as supply, demand,
prices and purchasing power of the consumer
Time series analysis predict future demand from past interval data.
A time series is a set of time ordered observations on a variable during successive and
equal time periods
Period
70
82
76
87
90
The above table shows a time series. This table shows the past demand in successive and
equal interval of time
Period
70
82
76
87
90
This table is not representing a time series as it is not showing demand in equal interval of
time.
Demand Forecasting
March 2012
Trend identify the rate of growth or decline of a series over time (Long-term historical
pattern of demand over time)
Seasonal variations consists of annually recurring movements above and below the trend
line
o Demand fluctuates in a repetitive pattern from year to year
o Seasonal periodic peaks and valleys should occur at the same time every year
o Seasonal variations should be of larger magnitude than the random variations
Cyclical variations are long term oscillations or swings about a trend line
The cycles may or may not be periodic, but they often are the result of business cycles of
expansion and contraction of economic activity over a number of years
Business cycles may be due to one or more of the following: prosperity, recession,
depression and recovery
The cycles may vary with respect to the time of occurrence, the length of the phases, and
the amplitude of the fluctuations
Raw Data
Trend Component
Seasonal Component
Cyclic Component
Random Component
Time (years)
Fig. 3 Various components of a time series
Demand Forecasting
March 2012
Random variations have no particular pattern and usually are without specific assignable
cause
They represent all influences not included in trend, seasonal, and cyclical variations
Erratic occurrence may be isolated and removed from the data, but there are no general
techniques for doing so
Arithmetic average
The time series contains interactive components. The models representing interactive
components of demand are classified as
o Multiplicative model
o Additive model
o Mixed model (partially additive, partially multiplicative)
Demand Forecasting
March 2012
Some Notations
Dt Actual demand for the period t
ft - forecast for the period t
Parameter a is not really known and is subjected to random changes from time to time.
Using the simple moving average procedure we can get an estimate for a and it can be get
updated as time progresses.
As new period demand observation is available, the old period demand data is removed
from average calculation.
Number of periods considered for average calculation is same but, demand data
considered for the calculation is different at different time periods.
= MAt,N
This estimate of a results from minimizing the sum of squares of error over the preceding
N period.
a t
Dt Dt N
N
2
t
x j a j
t = j N +1
ft+1 = MAt,N
ft+n = MAt,N (forecast for n period ahead)
Simple EWMA
Demand Forecasting
March 2012
Forecast equation is
ft+1 = Xt
This equation indicates that using exponential average in one period as a forecast for the
next period; it is possible to revise the average upward or downward, depending on the
forecast error.
Weights for the past data and for the initial average can be easily identified from the
equation given below.
Xt =
t 1
(1 ) D
+ (1 ) t X 0
t k
k =0
If exponential average is determined for third period, the weight for the demand of
various periods and the initial average can be clearly seen from the equation below
X 3 = D3 + (1 ) D2 + (1 ) 2 D1 + (1 ) 3 X 0
For the demand process, the best estimate of at which minimize the following the sum of
discounted squares of residuals
S= d
j =0
j +1
(D
t j
Average age of data in a simple EWMA is 1/ period. In a N month moving average the
average age of data is (N+1)/2
1/ = (N+1)/2
2
Relationship between N (period of moving average) and is =
N +1
Demand Forecasting
March 2012
Initialization
When significant historical data exists, simply use the average demand in the first several
periods as the initial estimate of Xt.
Forecast for future periods
ft+1 = Xt
ft+n = Xt (forecast for n period ahead)
Estimation procedure
A trend adjusted forecast is the sum of the best average and trend available at the current
time
Dt
Xt
Seasonal factors allow us to connect back and forth between periods of sales and the
exponential average.
Estimate for at is
Xt =
Dt
It m
+ (1 ) X t 1
where, m is the number of periods in seasonal pattern (m = 12 for monthly data and m = 4
for quarterly data with an annual seasonal pattern)
Demand Forecasting
March 2012
Dt
+ (1 )I t m
Xt
Estimate for at is
Xt =
Dt
It m
+ (1 )( X t 1 + Tt 1 )
Estimate for bt is
Tt = ( X t X t 1 ) + (1 )Tt 1
Estimate for I t is
It =
Dt
+ (1 )I t m
Xt
Forecast equation is
f t +1 = ( X t + Tt )I t +1 m
MAD =
Standard deviation, S r2 =
t =1
(Dt f t )2
n2
Demand Forecasting
March 2012
RAFE =
Revision
RAFE
MAD
1 TS 1
The limiting conditions are achieved if all errors are positive or all errors are negative.
= smoothing constant
MADt = ( Dt f t ) + (1 ) MADt 1
MSEt = ( Dt f t ) 2 + (1 ) MSEt 1
Forecasting Problems
Moving Average Methods
Twelve-month demand data of a product is given below. Use this data to develop forecasts
using three- and six-month moving averages, and three-month weighted moving average
(weights for data: 0.25, 0.25 and 0.5 for most recent) method.
TABLE 1 Demand data
Month
Jan. Feb. Mar. Apr. May June July Aug. Sep. Oct. Nov. Dec.
Demand 450 440 460 510 520 495 475 560 510 520 540 550
Month
January
February
March
April
May
June
July
August
September
October
November
December
Demand
(Dt)
450
440
460
510
520
495
475
560
510
520
540
550
Three-Month
Moving
Average
(MA t )
450
470
497
508
497
510
515
530
523
537
Three-Month
Moving Average
Forecast*
(ft)
450
470
497
508
497
510
515
530
523
Six-Month
Moving
Average
(MA t )
479
483
503
512
513
517
526
Six-Month
Moving
Average
Forecast (ft)
479
483
503
512
513
517
Month
January
February
March
April
May
June
July
August
September
October
November
December
Demand
(Dt)
450
440
460
510
520
495
475
560
510
520
540
550
Three-Month
Moving
Average
(MA t )
450
470
497
508
497
510
515
530
523
537
Three-Month
Moving
Average
Forecast (ft)
450
470
497
508
497
510
515
530
523
Three -Month
Weighted Moving
Average
(0.25,0.25.0.50)
Most Recent (MA t )
453
480
503
505
491
523
514
528
528
540
Three-Month
Weighted
Moving
Average
Forecast (ft)
453
480
503
505
491
523
514
528
528
X t = (1 )k Dt k + (1 )t X 0
k =0
Demand
(D t )
460
510
520
495
475
560
510
520
540
550
Smoothed Average
( Xt )
476.00
482.80
490.24
491.19
487.95
502.36
503.89
507.11
513.69
520.95
Forecast
(ft)
480
476
483
490
491
488
502
504
507
514
Weightsa
0.027
0.034
0.042
0.052
0.066
0.082
0.102
0.128
0.160
0.200
At the end of December, X DEC implicitly applies these weights to the sales from March through
Demand Forecasting
11
March 2012
March
April
May
June
July
August
September
October
November
December
January
February
Demand
(Dt)
460
510
520
495
475
560
510
520
540
550
555
569
Simple
exponential
averagea (Xt)
476.00
482.80
490.24
491.19
487.95
502.36
503.89
507.11
513.69
520.95
527.76
536.01
Trend adjusted
exponential
average (Xt)
480.00
483.20
494.83
506.74
511.80
511.18
526.23
529.62
533.55
540.16
547.43
554.35
562.72
Trend
(Tt)
Forecast
(ft)
9.00
7.84
8.60
9.26
8.42
6.61
8.30
7.32
6.64
6.63
6.76
6.79
7.11
489.00
491.04
503.43
516.00
520.22
517.79
534.53
536.94
540.20
546.79
554.19
561.15
Given for comparison purposes. Note how the simple exponential average lags the upward
trend.
Seasonally Adjusted Exponential Smoothing Method
Monthly demand data for three years is given in Table 6. Use the first two years data to
determine monthly seasonal index and determine monthly forecast of third year.
TABLE 6 Demand data for a seasonal product
Month
January
February
March
April
May
June
July
August
September
October
November
December
2006
Demand
2007
2008
80
75
80
90
115
110
100
90
85
75
75
80
100
85
90
110
131
120
110
110
95
85
85
80
95
75
90
105
120
117
102
98
95
75
85
75
Consider the average demand of years 2006 and 2007 as initial average (X0) to start
exponential smoothing forecast. Given =0.2, = 0.05
Seasonal index calculation
Calculate the average demand for each month (eg:- Average demand of January = January
month demands in 2006 + 2007)
Average these to get average monthly demand
Demand Forecasting
12
March 2012
Average
Demanda
90
80
85
100
123
115
105
100
90
80
80
80
Seasonal
Index
(It)
0.957
0.851
0.904
1.064
1.309
1.223
1.117
1.064
0.957
0.851
0.851
0.851
Month
January
February
March
April
May
June
July
August
September
October
November
December
Demand
(Dt) 2008
95
75
90
105
120
117
102
98
95
75
85
75
Deseasonalized
Demand
(Dt/(It-12))
99.27
88.13
99.56
98.68
91.67
95.67
91.32
92.11
99.27
88.13
99.88
88.13
Average
(Xt)
X 0 =94
95.05
93.67
94.85
95.62
94.83
95.00
94.26
93.83
94.92
93.56
94.82
93.48
Forecast
(ft)
89.96
80.88
84.68
100.92
125.17
115.98
106.11
100.29
89.80
80.78
79.62
80.69
Old
New
Seasonal Seasonal
Factor
Factor
(It-12)
(It)
0.957
0.959
0.851
0.848
0.904
0.906
1.064
1.066
1.309
1.307
1.223
1.223
1.117
1.115
1.064
1.063
0.957
0.959
0.851
0.849
0.851
0.853
0.851
0.849
Demand Forecasting
13
March 2012
Construction permits
15 9 40 20 25 25 15 35
Plaster board shipments 6 4 16 6 13 9 10 16
Solution
Consider construction permit as independent variable (X) and plaster board shipments as
dependent variable (Y) and establish a linear relationship.
Let the linear relationship be Y = aX + b
Normal equations to find a and b are
Y = a X + nb
XY = a X
+ b x
Forecasting equation is
Y = 0.395 X = 0.915
Demand Forecasting
14
March 2012