Lecture 5 6 Forecasting
Lecture 5 6 Forecasting
OPERATIONS MANAGEMENT
Lecture 5 & 6:
Forecasting
23rd February 2024
Dr. Muhammad Moazzam
Assistant Professor Operations and Supply Chain
NUST BUSINESS SCHOOL (NBS)
National University of Sciences & Technology, Islamabad, Pakistan
Dr. Muhammad Moazzam
Outline
● What Is Forecasting?
● Seven Steps in the Forecasting System
● Forecasting Approaches
● Time-Series Forecasting
● Associative Forecasting Methods: Regression
and Correlation Analysis
● Monitoring and Controlling Forecasts
● Forecasting in the Service Sector
Learning Objectives
Adjustment
Ft = (At - 1) + (1 - )(Ft - 1 + Tt - 1)
Tt = (Ft - Ft - 1) + (1 - )Tt - 1
30 –
Actual demand (At)
Product demand
25 –
20 –
15 –
0 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Time (month)
Trend Projections
Fitting a trend line to historical data points to project into the
medium to long-range
Linear trends can be found using the least squares
technique
^
y = a + bx
^
where y = computed
value of the variable to be
predicted (dependent variable)
a = y-axis intercept
b = slope of the
regression line
x = the independent
variable
Least Squares Method
Values of Dependent Variable
Deviation5 Deviation6
Deviation3
Deviation4
Deviation1
(error) Deviation2
Trend line, y ^= a + bx
Time period
Least Squares Method
Values of Dependent Variable
Deviation5 Deviation6
Deviation1
(error) Deviation2
Trend line, y ^= a + bx
Time period
Least Squares Method
Equations to calculate the regression variables
^ = a + bx
y
Sxy - nxy
b=
Sx2 - nx2
a = y - bx
Least Squares Example
The demand for electric power at N.Y. Edison over 7 years is shown in
the table, in megawatts. The firm wants to forecast demand for years
2013 by fitting a straight-line trend to these data.
Time Electrical Power
Year Period (x) Demand (megawatt) x2 xy
2006 1 74 1 74
2007 2 79 4 158
2008 3 80 9 240
2009 4 90 16 360
2010 5 105 25 525
2011 6 142 36 852
2012 7 122 49 854
∑x = 28 ∑y = 692 ∑x2 = 140 ∑xy = 3,063
x=4 y = 98.86
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
2006 2007 2008 2009 2010 2011 2012 2013 2014
Year
Least Squares Requirements
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
Associative Forecasting Methods
y^ = a + bx
^ where y = computed value of the
variable to be predicted (dependent
variable)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
though to predict the value of the
dependent variable
Associative Forecasting Example
Nodel Construction Company renovates old homes in West Bloomfield,
Michigan. Over time, the company has found that its dollar volume of
renovation work is dependent on the West Bloomfield area payroll. Management
wants to establish a mathematical relationship to help predict sales.
Sales
3.5 7
2.0 –
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
Associative Forecasting Example
Sales, y Payroll, x x2 xy
2.0 1 1 2.0
3.0 3 9 9.0
2.5 4 16 10.0
2.0 2 4 4.0
2.0 1 1 2.0
3.5 7 49 24.5
∑y = 15.0 ∑x = 18 ∑x2 = 80 ∑xy = 51.5
nSxy - SxSy
r=
[nSx2 - (Sx)2][nSy2 - (Sy)2]
y
y Correlation Coefficient
nSxy - SxSy
r=
[nSx2 - (Sx)2][nSy2 - (Sy)2] (b) Positive x
(a) Perfect positive x correlation:
correlation: 0<r<1
r = +1
y y
a) Using this data, develop a regression equation for predicting the level of
demand of NCEC’s services.
b) Determine the coefficient of correlation and the standard error of the
estimate.
Multiple Regression Analysis
^y = a + b x + b x …
1 1 2 2
42
Forecasting in the Service
Sector
► Presents unusual challenges
► Special need for short term records i.e.
Barber shops, Banks
► Needs differ greatly as function of
industry and product i.e. flower shop
► Holidays and other calendar events
► Unusual events
43
Fast Food Restaurant Forecast
Percentage of sales by hour of day
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
45