Forecasting
Forecasting
Forecasting
15% –
10% –
5% –
10% –
8% –
6% –
4% –
2% –
0% –
2 4 6 8 10 12 2 4 6 8 10 12
A.M. P.M.
Hour of day
Figure 4.12
© 2008 Prentice Hall, Inc. 4–6
Seven Steps in Forecasting
Select the items to be forecasted
Determine the time horizon of the
forecast
Select the forecasting model(s)
Gather the data
Make the forecast
Validate and implement results
Associative
3. Linear regression or Causal
Model
Assumption:
Data follow an identifiable pattern over the time
© 2008 Prentice Hall, Inc. 4 – 16
Time Series Forecasting
Set of evenly spaced numerical data
Obtained by observing response
variable at regular time periods
Forecast based only on past values,
no other variables important
Assumes that factors influencing
past and present will continue
influence in future
Trend Cyclical
Seasonal Random
Seasonal peaks
Actual
demand
Average
demand over
Random four years
variation
| | | |
1 2 3 4
Year Figure 4.1
© 2008 Prentice Hall, Inc. 4 – 19
Trend Component
Persistent, overall upward or
downward pattern
Changes due to population,
technology, age, culture, etc.
Typically several years
duration
For example, population
increases over a period of time,
price increases over a period .
Usage of bulock carts
decreases
© 2008 Prentice Hall, Inc. 4 – 20
Seasonal Component
Regular pattern of up and
down fluctuations in a year
and occur every year
Due to weather, customs, etc.
Occurs within a single year
The sales in the departmental stores are more during festive
seasons that in the normal days.
Hotels Seasons
prosperity,
recession,depression and
recovery
0 5 10 15 20
© 2008 Prentice Hall, Inc. 4 – 22
Random Component
Erratic, unsystematic, ‘residual’
fluctuations
Due to random variation or
unforeseen events
Short duration and
nonrepeating
Irregular fluctuations results due
to the occurrence of unforeseen
events like
floods,earthquakes,wars,famines,
etc. M T W T F
© 2008 Prentice Hall, Inc. 4 – 23
Naive Approach
Three-period
Saturday Period Occupancy Moving Average Forecast
Aug. 1 1 79
8 2 84
15 3 83 82
22 4 81 83 82
29 5 98 87 83
Sept. 5 6 100 93 87
12 7 93
Actual 3-Month
Month Ticket Sales(00’) Moving Average(2014)
January 10
February 12
March 13
April 16 (10 + 12 + 13)/3 = 11 2/3
May 19 (12 + 13 + 16)/3 = 13 2/3
June 23 (13 + 16 + 19)/3 = 16
July 26 (16 + 19 + 23)/3 = 19 1/3
20 –
18 –
16 –
14 –
12 –
10 –
| | | | | | | | | | | |
J F M A M J J A S O N D
20 – Actual
sales
15 –
Moving
10 – average
5 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Figure 4.2
850
800
d 750 Demand
n 700
a 0.1
m 650
e 600 0.6
D
550
500
1 2 3 4 5 6 7 8 9 10
Week
40
n
Note that by itself, the MAD
A
t=1
t - Ft
40 only lets us know the mean
MAD = = = 10 error in a set of forecasts.
n 4
y^ = a + bx
^ = computed value of the variable to
where y
be predicted (dependent variable)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
© 2008 Prentice Hall, Inc. 4 – 45
Values of Dependent Variable
Least Squares Method
Deviation5 Deviation6
Deviation3
Deviation4
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
Deviation5 Deviation6
Deviation1
Deviation2
Trend line, y^ = a + bx
y^ = a + bx
a = y - bx Intercept
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Expenditure
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
© 2008 Prentice Hall, Inc. 4 – 53
From the following data obtain the regression
equation for Spicejet Airlines
Sales : 6 2 10 4 8
Ad expenditure : 9 11 5 8 7