Forecasting M
Forecasting M
Forecasting M
Definition:
Process of predicting a future event for quantitative
or qualitative data.
Short-range forecast
Medium-range forecast
Long-range forecast
3+ years
New product planning, facility location, research
and development
Forecasting is affected by :
Trend
Cyclical
Seasonal
Random
Quantity
Trend
Time
Historical Data Have consistently increase trend.
Quantity
Time
Historical Data have a horizontal line.
Seasonal
Quantity
Year 1
Months
Seasonal: Data consistently show peaks and valleys.
Quantity
Year 1
Year 2
|
Months
Seasonal: Data consistently show peaks and valleys.
Quantity
Cyclical
Years
Cyclical: Data reveal gradual increases and
decreases over extended periods.
FORECASTING
METHODS
QUANTITATIVE
METHODS
TIME SERIES
METHODS
CAUSAL
FORECASTING
METHODS
QUALITATIVE
METHODS
QUANTITATIVE
METHODS
Naive approach
Moving averages
Weighted M.A.
Trend projection
Linear regression
TIME SERIES
METHODS
CAUSAL
FORECASTING
METHODS
Random ?
Trend
component
Seasonal peaks
Actual
demand
Average
demand over
four years
|
Year
QUANTITATIVE METHODS
1. Naive Approach
Uh, give me a minute....
We sold 250 wheels last
week.... Now, next week we should sell....
2. Moving average
Moving average =
Arrivals Forecast
400
380
411
397
Actual
Shed Sales
10
12
13
16
19
23
26
3-Month
Moving Average
Customer arrival
800
740
810
790
D4 + D3 + D2
3
6-week MA
forecast
3-week MA
forecast
Patient arrivals
410
390
370
10
15
20
25
30
Week
Weights Applied
3
2
1
6
Month
Actual
Shed Sales
January
February
March
April
May
June
July
10
12
13
16
19
23
26
Period
Last month
Two months ago
Three months ago
Sum of weights
3-Month Weighted
Moving Average
4. Trend Linear
= a + bx
a = y - bx
b =
xy - n(y)(x)
x
- n(x )2
b = n xy ( x) ( y )
n x2 ( x ) 2
Time Demand
Period
x2
xy
2005
74
74
2006
79
158
2007
80
240
2008
90
16
360
2009
105
25
525
2010
142
36
852
2011
122
49
854
x=28 y=692
x2=140 xy=3.063
x
28
4
n
7
y
692
98.86
n
7
xy - n x y
3,063 (7)(4)(98. 86)
295
10.54
b
2
2
2
x n x
140 (7)(4)
28
a y - b x 98.86 - 10.54(4)
56.70
Demand
141.02 units
Demand
151.56 units
Seasonal index
Example 1.
Sales Demand
Month
Average Demand
2009
2010
2011
2009-2011
Monthly
Seasonal
Index
Jan
80
85
105
90
94
0.957
Feb
70
85
85
80
94
0.851
Mar
80
93
82
85
94
0.904
Apr
90
95
115
100
94
1.064
May
113
125
131
123
94
1.309
Jun
110
115
120
115
94
1.223
Jul
100
102
113
105
94
1.117
Aug
88
102
110
100
94
1.064
Sept
85
90
95
90
94
0.957
Oct
77
78
85
80
94
0.851
Nov
75
72
83
80
94
0.851
Example 2.
Quarter
Year 1
Year 2
Year 3
Year 4
45
70
100
100
335
370
585
725
520
590
830
1160
100
170
285
215
Total
1000
1200
1800
2200
Example 3.
Quarter
Year 3
Year 4
100
100
585
725
830
1160
285
215
Total
1800
2200
5. Linear Regression
= a + bx
a = y - bx
b=
xy - n(y)(x)
x
- n(x )2
n
n x i yi x i yi
x
n
x
i
i
i
i
n
n
y
i
i
i
i
n
Regression
equation:
Y = a + bX
Dependent variable
X
Independent variable
Regression
equation:
Y = a + bX
Dependent variable
Actual
value
of Y
Value of X used
to estimate Y
X
Independent variable
Month
Sales
(000 units)
Advertising
(000 $)
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
Month
Sales
(000 units)
Advertising
(000 $)
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
a = Y bX
b=
XY nXY
X 2 nX 2
Month
1
2
3
4
5
Sales, Y Advertising, X
(000 units)
(000 $)
XY
264
116
165
101
209
a = Y bX
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
b=
XY nXY
X 2 nX 2
X2
Y2
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
Month
Sales, Y Advertising, X
(000 units)
(000 $)
XY
X2
Y2
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
Total
855
Y = 171
8.2
X = 1.64
1560.8
14.90
164,259
a = Y bX
b=
XY nXY
X 2 nX 2
Month
Sales, Y Advertising, X
(000 units)
(000 $)
XY
1
2
3
4
5
264
116
165
101
209
Total
855
Y = 171
a = Y bX
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
X2
Y2
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
8.2
1560.8 14.90 164,259
X = 1.64
1560.8 5(1.64)(171)
b=
14.90 5(1.64)2
Month
Sales, Y Advertising, X
(000 units)
(000 $)
XY
X2
Y2
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
Total
855
Y = 171
8.2
X = 1.64
1560.8
14.90
164,259
a = Y bX
b = 109.229
Month
Sales, Y Advertising, X
(000 units)
(000 $)
XY
X2
Y2
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
Total
855
Y = 171
8.2
X = 1.64
1560.8
14.90
164,259
Month
Sales, Y Advertising, X
(000 units)
(000 $)
XY
X2
Y2
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
Total
855
Y = 171
8.2
X = 1.64
1560.8
14.90
164,259
a = 8.136
b = 109.229
Month
Sales, Y Advertising, X
(000 units)
(000 $)
XY
X2
Y2
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
Total
855
Y = 171
8.2
X = 1.64
1560.8
14.90
164,259
a = 8.136
b = 109.229
Y = 8.136 + 109.229(X)
Month
Sales, Y Advertising, X
(000 units)
(000 $)
XY
X2
Y2
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
660.0
150.8
231.0
101.0
418.0
6.25
1.69
1.96
1.00
4.00
69,696
13,456
27,225
10,201
43,681
Total
855
Y = 171
8.2
X = 1.64
1560.8
14.90
164,259
r=
n XY X Y
[n X 2 ( X) 2][n Y 2 ( Y) 2]
Month
Sales
(000 units)
Advertising
(000 $)
1
2
3
4
5
264
116
165
101
209
2.5
1.3
1.4
1.0
2.0
a = 8.136
b = 109.229X
r = 0.98
300
250
200
Month
Sales
(000 units)
1
150
2
100
3
4
505
264
116
165
101
209
Y=
Advertising
(000 $)
8.136
2.5
1.3
1.4
1.0
+2.0109.229X
|
|
|
|
Forecast
6
1.0
1.5for Month
2.0
2.5
Advertising (thousands of dollars)
a = 8.136
b = 109.229X
r = 0.98
300
250
200
Month
Sales
(000 units)
1
150
2
100
3
4
505
264
116
165
101
209
Y=
Advertising
(000 $)
8.136
2.5
1.3
1.4
1.0
+2.0109.229X
|
|
|
|
If 1.0
current
= 62,500
1.5 inventory
2.0
2.5
Advertising (thousands of dollars)
a = 8.136
b = 109.229X
r = 0.98
units,
Assignment
Chicken Palace periodically offers carryout five-piece chicken dinners
at special prices. Let Y be the number of dinners sold and X be the price.
Based on the historical observations and calculations in the following
table, determine the regression equation, correlation coefficient, and
coefficient of determination. How many dinners can Chicken Palace
expect to sell at $3.00 each?
Price (X)
$2.70
760
$3.50
510
$2.00
980
$4.20
250
$3.10
320
$4.05
480
Week 3
Monday
82
93
Tuesday
71
77
Wednesday
89
83
Thursday
94
103
Friday
144
135
Saturday
135
140
Sunday
48
37
Week
Day
Find how many visitors for week 4 using seasonal index for
Monday-Wednesday/Friday-Sunday.