100% found this document useful (1 vote)
57 views

Lecture 5 6 Forecasting

The document discusses forecasting methods including exponential smoothing with trend adjustment and least squares regression. It provides an example of using exponential smoothing with trend adjustment to forecast demand for a pollution control equipment over 10 months. It also provides an example of using the least squares method to fit a linear trend line to past electrical power demand data and forecast demand for year 2013. The document covers key steps in exponential smoothing with trend adjustment including computing the smoothed forecast, trend, and forecast including trend. It also outlines the equations used to calculate the regression variables in the least squares method.

Uploaded by

Tariq Shams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
57 views

Lecture 5 6 Forecasting

The document discusses forecasting methods including exponential smoothing with trend adjustment and least squares regression. It provides an example of using exponential smoothing with trend adjustment to forecast demand for a pollution control equipment over 10 months. It also provides an example of using the least squares method to fit a linear trend line to past electrical power demand data and forecast demand for year 2013. The document covers key steps in exponential smoothing with trend adjustment including computing the smoothed forecast, trend, and forecast including trend. It also outlines the equations used to calculate the regression variables in the least squares method.

Uploaded by

Tariq Shams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 45

OTM 841

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

Reflection from Lecture 3-4

Dr. Muhammad Moazzam 2


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

Dr. Muhammad Moazzam 3


Dr. Muhammad Moazzam

Learning Objectives

When you complete this chapter, you


should be able to:
1. Apply forecasting tools and techniques
on business scenarios
2. Compute three measures of forecast
accuracy
3. Develop seasonal indices
4. Conduct regression and correlation
analysis

Dr. Muhammad Moazzam 4


Exponential Smoothing with Trend Dr. Muhammad Moazzam

Adjustment

When a trend is present, exponential smoothing


must be modified to respond to trend

Forecast Exponentially Exponentially


including (FITsmoothed
t) = (Ft) + smoothed (Tt)
trend forecast trend

Dr. Muhammad Moazzam 5


Exponential Smoothing with Trend
Adjustment
Assume that demand for our product or service has
been increasing by 100 units per month and that we
have been forecasting with = 0.4 in our exponential
smoothing model. The following table shows a severe
lag in the second, third, fourth, and fifth months, even
when our initial estimate for month 1 is perfect:
Exponential Smoothing with Trend Adjustment

Ft = (At - 1) + (1 - )(Ft - 1 + Tt - 1)

Tt = (Ft - Ft - 1) + (1 - )Tt - 1

= exponentially smoothed forecast average of the data series in


period t
= exponentially smoothed trend in period t
= actual demand in period t
= smoothing constant for the average (1)
= smoothing constant for the trend (1)
Exponential Smoothing with Trend Adjustment:
Procedure
Step 1: Compute Ft
Step 2: Compute Tt
Step 3: Calculate the forecast FITt = Ft + Tt
Example for Exponential Smoothing with Trend
Adjustment

A Portland manufacturer wants to forecast the demand for a pollution-


control equipment. Past data shows that there is an increasing trend.
The company assumes the initial forecast for month 1 was 11 units and
the trend over that period was 2 units. α = 0.2 β =0.4
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17
3 20
Step 1: Forecast for Month 2
4 19
5 24 F2 =α A1 + (1 - α)(F1 + T1)
6 21
7 31 F2 = (.2)(12) + (1 - .2)(11 + 2)
8 28 = 2.4 + 10.4 = 12.8 units
9 36
10
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80
3 20
Step 2: Trend for Month 2
4 19
5 24 T2 = β(F2 - F1) + (1 - β)T1
6 21
7 31 T2 = (.4)(12.8 - 11) + (1 - .4)(2)
8 28 = .72 + 1.2 = 1.92 units
9 36
10
Exponential Smoothing with
Trend Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80 1.92
3 20
Step 3: Calculate FIT for Month 2
4 19
5 24 FIT2 = F2 + T2
6 21
7 31 FIT2 = 12.8 + 1.92
8 28 = 14.72 units
9 36
10
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (At) Forecast, Ft Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80 1.92 14.72
3 20 15.18 2.10 17.28
4 19 17.82 2.32 20.14
5 24 19.91 2.23 22.14
6 21 22.51 2.38 24.89
7 31 24.11 2.07 26.18
8 28 27.14 2.45 29.59
9 36 29.28 2.32 31.60
10 32.48 2.68 35.16
Exponential Smoothing with
Trend Adjustment Example
35 –

30 –
Actual demand (At)
Product demand

25 –

20 –

15 –

10 – Forecast including trend (FITt)


5 –
with  = .2 and  = .4

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

Actual observation Deviation7


(y-value)

Deviation5 Deviation6

Deviation3

Deviation4

Deviation1
(error) Deviation2
Trend line, y ^= a + bx

Time period
Least Squares Method
Values of Dependent Variable

Actual observation Deviation7


(y-value)

Deviation5 Deviation6

Deviation3 Least squares method


minimizes the sum of the
squared errors (deviations)
Deviation4

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

∑xy - nxy 3,063 - (7)(4)(98.86)


b= = = 10.54
∑x2 - nx2 140 - (7)(42)

a = y - bx = 98.86 - 10.54(4) = 56.70


Least Squares Example
Time Electrical Power
Year Period (x) Demand x2 xy
2003 1 74 1 74
2004 2 79 4 158
2005The trend
3 line is 80 9 240
2006 4 90 16 360
2007 ^
y =5 56.70 + 10.54x
105 25 525
2008 6 142 36 852
2009 7 122 49 854
∑x = 28 ∑y = 692 ∑x2 = 140 ∑xy = 3,063
x=4 y = 98.86

∑xy - nxy 3,063 - (7)(4)(98.86)


b= = = 10.54
∑x2 - nx2 140 - (7)(42)

a = y - bx = 98.86 - 10.54(4) = 56.70


Least Squares Example
Trend line,
160 –
150 –
y^ = 56.70 + 10.54x
140 –
Power demand

130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
2006 2007 2008 2009 2010 2011 2012 2013 2014
Year
Least Squares Requirements

1. We always plot the data to ensure a linear relationship

2. We do not predict time periods far beyond the database

3. Deviations around the least squares line are assumed to


be random and normally distributed.
Seasonal Variations In Data

The multiplicative seasonal model


can adjust trend data for seasonal
variations in demand (jet skis, snow
mobiles)
Seasonal Variations In Data
Steps in the process:

1. Find average historical demand for each season (or month)


2. Compute the average demand over all seasons
3. Compute a seasonal index for each season
4. Estimate next year’s total demand
5. Divide this estimate of total demand by the number of seasons,
then multiply it by the seasonal index for that season
Seasonal Index Example
A Des Moines distributor of Sony laptop computers wants to develop
monthly indices for sales. Data from the past 3 years, by month, are
available.
Demand Average Average Seasonal
Month 2010 2011 2012 2010-2012 Monthly Index
Jan 80 85 105 90 94
Feb 70 85 85 80 94
Mar 80 93 82 85 94
Apr 90 95 115 100 94
May 113 125 131 123 94
Jun 110 115 120 115 94
Jul 100 102 113 105 94
Aug 88 102 110 100 94
Sept 85 90 95 90 94
Oct 77 78 85 80 94
Nov 75 72 83 80 94
Dec 82 78 80 80 94
Seasonal Index Example
Demand Average Average Seasonal
Month 2010 2011 2012 2010-2012 Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 85 80 94
Mar 80 93 Average
82 85 monthly demand
2010-2012 94
Seasonal 90
Apr index =95 115 Average monthly
100 94
demand
May 113 125 131 123 94
Jun 110 = 90/94
115 120 = .957 115 94
Jul 100 102 113 105 94
Aug 88 102 110 100 94
Sept 85 90 95 90 94
Oct 77 78 85 80 94
Nov 75 72 83 80 94
Dec 82 78 80 80 94
Seasonal Index Example
Demand Average Average Seasonal
Month 2010 2011 2012 2010-2012 Monthly 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
Dec 82 78 80 80 94 0.851
Seasonal Index Example
Demand Average Average Seasonal
Month 2010 2011 2012 2010-2012
Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 Forecast
85 for 2013
80 94 0.851
Mar 80 93 82 85 94 0.904
Apr 90Expected
95 annual demand
115 100 = 1,200 94 1.064
May 113 125 131 123 94 1.309
Jun 110 115 120 1,200 115 94 1.223
Jul 100 102Jan 113 x105
.957 = 96 94 1.117
12
Aug 88 102 110 100 94 1.064
Sept 85 90 1,200 90
Feb 95 x .851 = 85 94 0.957
Oct 77 78 85 12 80 94 0.851
Nov 75 72 83 80 94 0.851
Dec 82 78 80 80 94 0.851
Seasonal Index Example
2013 Forecast
140 – 2012 Demand
130 – 2011 Demand
2010 Demand
120 –
Demand

110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
Associative Forecasting Methods

Used when changes in one or more independent variables can be


used to predict the changes in the dependent variable

Most common technique is linear regression analysis

We apply this technique just as we did in the time series example


Associative Forecasting
Forecasting an outcome based on predictor variables 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
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 Area Payroll


($ millions), y ($ billions), x
2.0 1
3.0 3
2.5 4
2.0 2 4.0 –
2.0 1
3.0 –

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

∑xy - nxy 51.5 - (6)(3)(2.5)


x = ∑x/6 = 18/6 = 3 b= = = .25
∑x2 - nx2 80 - (6)(32)

y = ∑y/6 = 15/6 = 2.5 a = y - bx = 2.5 - (.25)(3) = 1.75


Associative Forecasting Example

y^ = 1.75 + .25x Sales = 1.75 + .25(payroll)

If payroll next year


is estimated to be $6 4.0 –
billion, then: 3.25
3.0 –

Sales = 1.75 + .25(6) Nodel’s sales 2.0 –


Sales = $3,250,000
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
Correlation
• How strong is the linear relationship between the variables?
• Correlation does not necessarily imply causality!
• Coefficient of correlation, r, measures degree of association
• Values range from -1 to +1

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

(c) No correlation: x (d) Perfect negative x


r=0 correlation:
r = -1
Correlation Analysis: Example
In previous example , we looked at the relationship between Nodel
Construction Company’s renovation sales and payroll in its hometown of
West Bloomfield. The VP now wants to know the strength of the
association between area payroll and sales.
Correlation
Coefficient of Determination, r2, measures the percent of change in y
predicted by the change in x
1. Values range from 0 to 1
2. Easy to interpret

For the Nodel Construction example:


r = .901
r2 = .81
Activity
Dave Fletcher, the general manager of North Carolina Engineering Corporation
(NCEC), thinks that his firm’s engineering services contracted to highway
construction firms are directly related to the volume of highway construction
business contracted with companies in his geographic area. He wonders if this
is really so, and if it is, can this information help him plan his operations better
by forecasting the quantity of his engineering services required by construction
firms in each quarter of the year? The following table presents the sales of his
services and total amounts of contracts for highway construction over the past
eight quarters:

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

If more than one independent variables are to be used in the model,


linear regression can be extended to multiple regression to
accommodate several independent variables

^y = a + b x + b x …
1 1 2 2

Computationally, this is quite complex and generally done on the


computer
Multiple Regression Analysis

In the Nodel example, including interest rates in the model gives


the new equation:
^
y = 1.80 + .30x1 - 5.0x2

An improved correlation coefficient of r = .96 means this model


does a better job of predicting the change in construction sales

Sales = 1.80 + .30(6) - 5.0(.12) = 3.00


Sales = $3,000,000
Focus Forecasting
► Developed at American Hardware Supply,
based on two principles:
1. Sophisticated forecasting models are not
always better than simple ones
2. There is no single technique that should be
used for all products or services

► Uses historical data to test multiple


forecasting models for individual items
► Forecasting model with the lowest error used
to forecast the next demand

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

20% – Figure 4.12

15% –

10% –

5% –

11-12 1-2 3-4 5-6


7-8 9-10
12-1
(Lunchtime) 2-3 4-5
(Dinnertime) 6-7
8-9 Hour of day10-11
44
FedEx Call Center Forecast
Figure 4.12
12% –

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy