Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Lecture 2 - Forecasting

Download as pdf or txt
Download as pdf or txt
You are on page 1of 107

PRODUCTION MANAGMENT

Dr. Tien Minh Do


Department of Industrial Management
School of Economics and Management
Hanoi University of Science and technology
OUTLINE

• What Is Forecasting?
• The Strategic Importance of 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
1. Understand the three time horizons and which models apply for each use
2. Explain when to use each of the four qualitative models
3. Apply the naive, moving average, exponential smoothing, and trend methods
4. Compute three measures of forecast accuracy
5. Develop seasonal indices
6. Conduct a regression and correlation analysis
7. Use a tracking signal
WHAT IS FORECASTING?

• Process of predicting a future event

• Underlying basis of all business decisions


- Production ??
- Inventory
- Personnel
- Facilities
STRATEGIC IMPORTANCE OF FORECASTING
• Supply-Chain Management
- Good supplier relations
- Advantages in product innovation
- Cost and speed to market

• Human Resources
- Hiring
- Training
- Laying off workers

• Capacity planning
- Capacity shortages can result in undependable delivery, loss of
customers, loss of market share
FACTORS INFLUENCING FORECAST
• Product
- Life cycle: Introduction and growth require longer forecasts than maturity
and decline

- Product family and aggregated forecasts are more accurate than individual
product forecasts
FACTORS INFLUENCING FORECAST
• Internal factors: Most forecasting techniques are based on assumption that
the production system is stable in:
- Manpower (numbers, qualification, knowledge and skills)

- Machine (manual or automated operations, technical conditions, etc.)

- Production methods (layout, processes, procedures, etc.)

- Materials (supply, storage, quality, etc.)

- Working environment (physical and cultural)

- Statistical data collection habit


FACTORS INFLUENCING FORECAST
• External factors: Forecasts are seldom perfect due to impacts of the
following unpredictable outside factors
- Socio-economic development (Growth of GDP, Per capita GDP, Living
standards, etc.)

- Political risk (Stability, attitude and incentives)

- Market conditions (Competition, Customer taste, purchasing power)

- Technology innovation (New and improved technologies)

• Forecasting unit
- Forecasting Methods (time-series, associative, regression, survey)

- Quality of forecasting staffs


FORECASTING TIME HORIZONS
Horizon Short-term Medium-term Long-term
Characteristics
• Purchasing, job scheduling, workforce levels, job assignments,
Time horizon production Up to 1 year, generally 3 months to 3 years 3+ years
levels
less than 3 months
Purpose Deal with specific Deal with more Deal with more
issues comprehensive comprehensive
issues and support issues and support
management management
decisions regarding decisions regarding
planning and planning and
products, plants products, plants
and processes and processes
Purchasing, job
scheduling, workforce Sales and New product
levels, job production planning, facility
assignments, planning, location, research
production levels budgeting and development
Accuracy More accurate Less accurate Less accurate
TYPES OF FORECASTS
• Economic forecasts
- Address business cycle: inflation rate, money supply, housing starts, etc.

• Technological forecasts
- Predict rate of technological progress

- Impacts on development of new products

• Demand forecasts
- Predict sales of existing products and services
SEVEN STEPS IN FORECASTING

1. Determine the use of the forecast

2. Select the items to be forecasted

3. Determine the time horizon of the forecast

4. Select the forecasting model(s)

5. Gather the data needed to make the forecast

6. Make the forecast

7. Validate and implement results


FORECASTING APPROACHES
• Qualitative Methods
- Used when situation is vague and little data exist
► New products
► New technology
- Involves intuition, experience
► e.g., forecasting sales on Internet

• Quantitative methods
- Used when situation is ‘stable’ and historical data exist
► Existing products
► Current technology
- Involves mathematical techniques
► e.g., forecasting sales of color televisions
OVERVIEW OF QUALITATIVE METHODS
• Jury of executive opinion
- Pool opinions of high-level experts, sometimes augment by statistical
models

• Delphi method
- Panel of experts, queried iteratively

• Sales force composite


- Estimates from individual salespersons are reviewed for reasonableness,
then aggregated

• Market Survey
- Ask the customer
OVERVIEW OF QUALITATIVE METHODS
• Jury of executive opinion
- Pool opinions of high-level experts, sometimes augment by statistical models

- Involves small group of high-level experts and managers

- Group estimates demand by working together

- Combines managerial experience with statistical models

- Relatively quick

- ‘Group-think’ disadvantage
OVERVIEW OF QUALITATIVE METHODS
• Delphi method
- Panel of experts, queried iteratively

- Iterative group process continues until consensus is reached


Decision-Makers
- 3 types of participants (Evaluate responses
and make decisions)
➢ Decision makers

➢ Staff

➢ Respondents Staff
(Administering survey)

Respondents
(People who can make
valuable judgments)
OVERVIEW OF QUALITATIVE METHODS
• Sales force composite
- Estimates from individual salespersons are reviewed for reasonableness,
then aggregated

- Each salesperson projects his or her sales

- Combined at district and national levels

- Sales reps know customers’ wants

- May be overly optimistic


OVERVIEW OF QUALITATIVE METHODS
• Market Survey
- Ask customers about purchasing plans

- Useful for demand and product design and planning

- What consumers say, and what they actually do may be different

- May be overly optimistic


OVERVIEW OF QUANTITATIVE APPROACHES

1. Naive approach
2. Moving averages
Time-series models
3. Exponential smoothing
4. Trend projection

5. Linear regression Associative model


TIME-SERIES FORECASTING
• Definition of time-series forecasting
A technique for predicting future events by analyzing past trends, based
on the assumption that future trends will hold similar to historical trends

• Time series components


COMPONENTS OF DEMAND

Trend
component

Demand for product or service


Seasonal peaks

Actual demand
line

Average demand
over 4 years

Random variation
| | | |
1 2 3 4
Time (years)
TREND COMPONENT

• Persistent, overall upward or downward pattern

• Changes due to population, technology, age, culture, etc.

• Typically several years duration


SEASONAL COMPONENT

• Regular pattern of up and down fluctuations

• Due to weather, customs, etc.

• Occurs within a single year

Period length “Season” length Number of “seasons” in pattern


Week Day 7
Month Week 4 – 4.5
Month Day 28 – 31
Year Quarter 4
Year Month 12
Year Week 52
CYCLICAL COMPONENT

• Repeating up and down movements

• Affected by business cycle, political, and economic factors

• Multiple years duration

• Often causal or associative relationships

0 5 10 15 20
RANDOM COMPONENT

► Erratic, unsystematic, ‘residual’ fluctuations

► Due to random variation or unforeseen events

► Short duration and nonrepeating

M T W T F
NAIVE APPROACH
• Assumes demand in next period is the same as demand in most recent
period
► e.g., If January sales were 68, then February sales will be 68

• Sometimes cost effective and efficient

• Can be good starting point


MOVING AVERAGE METHOD

• Moving average is a series of arithmetic means

• Used if little or no trend

• Used often for smoothing


► Provides overall impression of data over time

Moving average =
å demand in previous n periods
n
MOVING AVERAGE EXAMPLE

MONTH ACTUAL SHED SALES 3-MONTH MOVING AVERAGE


January 10
February 12
March 13
April 16 (10 + 12 + 13)/3 = 11 2/3
May 19
June 23
July 26
August 30
September 28
October 18
November 16
December 14

Please using this method to make a forecast for the remaining months
MOVING AVERAGE EXAMPLE

MONTH ACTUAL SHED SALES 3-MONTH MOVING AVERAGE


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
August 30 (19 + 23 + 26)/3 = 22 2/3
September 28 (23 + 26 + 30)/3 = 26 1/3
October 18 (29 + 30 + 28)/3 = 28
November 16 (30 + 28 + 18)/3 = 25 1/3
December 14 (28 + 18 + 16)/3 = 20 2/3
WEIGHTED MOVING AVERAGE

• Used when some trend might be present


► Older data usually less important

• Weights based on experience and intuition

Weighted å(( Weight for period n) (Demand in period n))


moving =
average å Weights
WEIGHTED MOVING AVERAGE

MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE


January 10
February 12
March 13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6
May 19 APPLIED
WEIGHTS PERIOD
June 23 3 Last month
July 26 2 Two months ago
August 30 1 Three months ago
September 28 6 Sum of the weights
October Forecast for18
this month =
November 16 last mo. + 2 x Sales 2 mos. ago + 1 x Sales 3 mos. ago
3 x Sales
December 14 Sum of the weights
WEIGHTED MOVING AVERAGE

MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE


January 10
February 12
March 13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6
May 19
June 23
July 26
August 30
September 28
October 18
November 16
December 14

Please using this method to make a forecast for the remaining months
WEIGHTED MOVING AVERAGE

MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE


January 10
February 12
March 13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6
May 19 [(3 x 16) + (2 x 13) + (12)]/6 = 14 1/3
June 23 [(3 x 19) + (2 x 16) + (13)]/6 = 17
July 26 [(3 x 23) + (2 x 19) + (16)]/6 = 20 1/2
August 30 [(3 x 26) + (2 x 23) + (19)]/6 = 23 5/6
September 28 [(3 x 30) + (2 x 26) + (23)]/6 = 27 1/2
October 18 [(3 x 28) + (2 x 30) + (26)]/6 = 28 1/3
November 16 [(3 x 18) + (2 x 28) + (30)]/6 = 23 1/3
December 14 [(3 x 16) + (2 x 18) + (28)]/6 = 18 2/3
POTENTIAL PROBLEMS WITH MOVING AVERAGE

• Increasing n smooths the forecast but makes it less sensitive to changes

• Does not forecast trends well

• Requires extensive historical data


GRAPH OF MOVING AVERAGES

Weighted moving average


30 –

Sales demand 25 –

20 –

15 – Actual sales

10 – Moving average

5–
| | | | | | | | | | | |

J F M A M J J A S O N D
Month

© 2014 Pearson Education, Inc. 4 - 34


EXPONENTIAL SMOOTHING

• Form of weighted moving average


► Weights decline exponentially
► Most recent data weighted most

• Requires smoothing constant (α)


► Ranges from 0 to 1
► Subjectively chosen

• Involves little record keeping of past data


EXPONENTIAL SMOOTHING

New forecast = Last period’s forecast + a (Last period’s actual demand


– Last period’s forecast)

Ft = Ft – 1 + a (At – 1 - Ft – 1)

where Ft = new forecast


Ft – 1 = Last previous period’s forecast
a= smoothing (or weighting) constant (0 ≤ a ≤ 1)
At – 1 = Last previous period’s actual demand
EXPONENTIAL SMOOTHING EXAMPLE

• Predicted demand = 142 Ford Mustangs

• Actual demand = 153

• Smoothing constant a = .20

© 2014 Pearson Education, Inc. 4 - 37


EXPONENTIAL SMOOTHING EXAMPLE

Predicted demand = 142 Ford Mustangs


Actual demand = 153
Smoothing constant a = .20

New forecast = 142 + .2(153 – 142)

© 2014 Pearson Education, Inc. 4 - 38


EXPONENTIAL SMOOTHING EXAMPLE

• Predicted demand = 142 Ford Mustangs


• Actual demand = 153
• Smoothing constant a = .20

New forecast = 142 + .2(153 – 142)


= 142 + 2.2
= 144.2 ≈ 144 cars

© 2014 Pearson Education, Inc. 4 - 39


EFFECT OF SMOOTHING CONSTANTS

• Smoothing constant generally .05 ≤ a ≤ .50


• As a increases, older values become less significant
WEIGHT ASSIGNED TO
MOST 2ND MOST 3RD MOST 4th MOST 5th MOST
RECENT RECENT RECENT RECENT RECENT
SMOOTHING PERIOD PERIOD PERIOD PERIOD PERIOD
CONSTANT (a ) a(1 – a) a(1 – a)2 a(1 – a)3 a(1 – a)4

a = .1 .1 .09 .081 .073 .066


a = .5 .5 .25 .125 .063 .031
IMPACT OF DIFFERENT a

225 –

a = .5
Actual demand
200 –
Demand

175 –

a = .1
150 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Quarter
IMPACT OF DIFFERENT a

• Chose high values of a when underlying


average is likely to change
• Choose low values of a when underlying
225 – average is stable

a = .5
Actual demand
200 –
Demand

175 –

a = .1
150 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Quarter
CHOOSING a

• The objective is to obtain the most accurate forecast no matter the


technique

• We generally do this by selecting the model that gives us the lowest


forecast error

• Forecast error = Actual demand – Forecast value = At – Ft


COMMON MEASURES OF ERROR

Mean Absolute Deviation (MAD)


σ𝒏𝒕=𝟏 𝑨𝒕 − 𝑭𝒕
𝑴𝑨𝑫 =
𝒏
Where:
MAD - Mean Absolute Deviation
𝑨𝒕 - Actual value
𝑭𝒕 - Forecast value
𝒏 – Number of values in the data set
DETERMINING THE MAD
Ft = Ft – 1 + a (At – 1 - Ft – 1)
ACTUAL
TONNAGE FORECAST WITH
QUARTER UNLOADED FORECAST WITH a = .10 a = .50
1 180 175 175

2 168 175.50 = 175.00 + 0.10(180 – 175) 177.50

3 159 174.75 = 175.50 + 0.10(168 – 175.50) 172.75

4 175 173.18 = 174.75 + 0.10(159 – 174.75) 165.88

5 190 173.36 = 173.18 + 0.10(175 – 173.18) 170.44

6 205 175.02 = 173.36 + 0.10(190 – 173.36) 180.22

7 180 178.02 = 175.02 + 0.10(205 – 175.02) 192.61

8 182 178.22 = 178.02 + 0.10(180 – 178.02) 186.30

9 ? 178.59 = 178.22 + 0.10(182 – 178.22) 184.15


DETERMINING THE MAD

ACTUAL FORECAST ABSOLUTE FORECAST ABSOLUTE


TONNAGE WITH DEVIATION FOR WITH DEVIATION FOR
QUARTER UNLOADED a = .10 a = .10 a = .50 a = .50
1 180 175 5.00 175 5.00

2 168 175.50 7.50 177.50 9.50

3 159 174.75 15.75 172.75 13.75

4 175 173.18 1.82 165.88 9.12

5 190 173.36 16.64 170.44 19.56

6 205 175.02 29.98 180.22 24.78

7 180 178.02 1.98 192.61 12.61

8 182 178.22 3.78 186.30 4.30

Sum of absolute deviations: 82.45 98.62

σ𝒏𝒕=𝟏 𝑨𝒕 − 𝑭𝒕
𝑴𝑨𝑫 = 10.31 12.33
𝒏
COMMON MEASURES OF ERROR

Mean Squared Error (MSE)


σ𝒏𝒕=𝟏 𝑨𝒕 − 𝑭𝒕 𝟐
𝑴𝑺𝑬 =
𝒏

Where:
MSE – Mean Squared Error
𝑨𝒕 - Actual value
𝑭𝒕 - Forecast value
𝒏 – Number of values in the data set
DETERMINING THE MSE

ACTUAL
TONNAGE FORECAST FOR
QUARTER UNLOADED a = .10 (ERROR)2
1 180 175 52 = 25
2 168 175.50 (–7.5)2 = 56.25
3 159 174.75 (–15.75)2 = 248.06
4 175 173.18 (1.82)2 = 3.31
5 190 173.36 (16.64)2 = 276.89
6 205 175.02 (29.98)2 = 898.80
7 180 178.02 (1.98)2 = 3.92
8 182 178.22 (3.78)2 = 14.29
Sum of errors squared = 1,526.52

å (Forecast errors)
2

MSE = = 1,526.52 / 8 = 190.8


n
COMMON MEASURES OF ERROR

Mean Absolute Percent Error (MAPE)

σ𝒏𝒕=𝟏 𝟏𝟎𝟎 𝑨𝒕 − 𝑭𝒕 Τ𝑨𝒕


𝑴𝑨𝑷𝑬 =
𝒏
Where:
MAPE - Mean Absolute Percent Error
𝑨𝒕 - Actual value
𝑭𝒕 - Forecast value
𝒏 – Number of values in the data set
DETERMINING THE MAPE

ACTUAL
TONNAGE FORECAST FOR ABSOLUTE PERCENT ERROR
QUARTER UNLOADED a = .10 100(ERROR/ACTUAL)
1 180 175.00 100(5/180) = 2.78%
2 168 175.50 100(7.5/168) = 4.46%
3 159 174.75 100(15.75/159) = 9.90%
4 175 173.18 100(1.82/175) = 1.05%
5 190 173.36 100(16.64/190) = 8.76%
6 205 175.02 100(29.98/205) = 14.62%
7 180 178.02 100(1.98/180) = 1.10%
8 182 178.22 100(3.78/182) = 2.08%
Sum of % errors = 44.75%

MAPE =
å absolute percent error 44.75%
= = 5.59%
n 8
COMPARISON OF FORECAST ERROR

Rounded Absolute Rounded Absolute


Actual Forecast Deviation Forecast Deviation
Tonnage with for with for
Quarter Unloaded a = .10 a = .10 a = .50 a = .50
1 180 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 175.02 29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
COMPARISON OF FORECAST ERROR

σ𝒏𝒕=𝟏 𝑨𝒕 − 𝑭𝒕 Rounded Absolute Rounded Absolute


𝑴𝑨𝑫 = Actual Forecast Deviation Forecast Deviation
𝒏
Tonnage with for with for
Quarter Unloaded a = .10 a = .10 a = .50 a = .50
For a1 = .10 180 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 = 82.45/8
159 = 10.31
174.75 15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
For a5 = .50 190 173.36 16.64 170.44 19.56
6 205
= 98.62/8 175.02
= 12.33 29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
COMPARISON OF FORECAST ERROR

σ𝒏𝒕=𝟏 𝑨𝒕 − 𝑭𝒕Rounded
𝟐 Absolute Rounded Absolute
𝑴𝑺𝑬 = Actual Forecast Deviation Forecast Deviation
𝒏
Tonnage with for with for
Quarter Unloaded a = .10 a = .10 a = .50 a = .50
For1a = .10180 175 5.00 175 5.00
2 168
= 1,526.54/8 =175.5
190.82 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
For4a = .50175 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205
= 1,561.91/8 =175.02
195.24 29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
MAD 10.31 12.33
COMPARISON OF FORECAST ERROR

Rounded Absolute Rounded Absolute


Actual Forecast Deviation Forecast Deviation
σ𝒏𝒕=𝟏
Tonnage 𝑭𝒕 Τ𝑨𝒕
𝟏𝟎𝟎 𝑨𝒕 − with for with for
𝑴𝑨𝑷𝑬 = Unloaded
Quarter a = .10 a = .10 a = .50 a = .50
𝒏
1 180 175 5.00 175 5.00
For 2a = .10168 175.5 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 = 44.75/8
175 =173.18
5.59% 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
For 6a = .50205 175.02 29.98 180.22 24.78
7 = 54.05/8
180 = 178.02
6.76% 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
MAD 10.31 12.33
MSE 190.82 195.24
COMPARISON OF FORECAST ERROR

Rounded Absolute Rounded Absolute


Actual Forecast Deviation Forecast Deviation
Tonnage with for with for
Quarter Unloaded a = .10 a = .10 a = .50 a = .50
1 180 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 175.02 29.98 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
MAD 10.31 12.33
MSE 190.82 195.24
MAPE 5.59% 6.76%
EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT

When a trend is present, exponential smoothing must be modified


MONTH ACTUAL DEMAND FORECAST (Ft) FOR MONTHS 1 – 5

1 100 Ft = 100 (given)

2 200 Ft = F1 + a(A1 – F1) = 100 + .4(100 – 100) = 100

3 300 Ft = F2 + a(A2 – F2) = 100 + .4(200 – 100) = 140

4 400 Ft = F3 + a(A3 – F3) = 140 + .4(300 – 140) = 204

5 500 Ft = F4 + a(A4 – F4) = 204 + .4(400 – 204) = 282


EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT
Forecast Exponentially Exponentially
including (FITt) = smoothed (Ft) + smoothed (Tt)
trend forecast trend

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

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

where Ft = exponentially smoothed forecast average


Tt = exponentially smoothed trend
At = actual demand
a = smoothing constant for average (0 ≤ a ≤ 1)
b = smoothing constant for trend (0 ≤ b ≤ 1)
EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT

Step 1: Compute Ft

Step 2: Compute Tt

Step 3: Calculate the forecast FITt = Ft + Tt


EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT
EXAMPLE

MONTH (t) ACTUAL DEMAND (At) MONTH (t) ACTUAL DEMAND (At)

1 12 6 21

2 17 7 31

3 20 8 28

4 19 9 36

5 24 10 ?

a = .2 b = .4
EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT
EXAMPLE

TABLE 4.1 Forecast with a - .2 and b = .4


SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt FITt
1 12 11 2 13.00
2 17 12.80
3 20
4 19
Step 1: Average for Month 2
5 24
6 21 F2 = aA1 + (1 – a)(F1 + T1)
7 31
8 28 F2 = (.2)(12) + (1 – .2)(11 + 2)
9 36 = 2.4 + (.8)(13) = 2.4 + 10.4
10 —
= 12.8 units
EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT
EXAMPLE

TABLE 4.1 Forecast with a - .2 and b = .4


SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt FITt
1 12 11 2 13.00
2 17 12.80 1.92
3 20
4 19
5 24 Step 2: Trend for Month 2
6 21
7 31 T2 = b(F2 - F1) + (1 - β)T1
8 28
T2 = (.4)(12.8 - 11) + (1 - .4)(2)
9 36
10 — = .72 + 1.2 = 1.92 units
EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT
EXAMPLE

TABLE 4.1 Forecast with a - .2 and b = .4


SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt FITt
1 12 11 2 13.00
2 17 12.80 1.92 14.72
3 20
4 19
5 24 Step 3: Calculate FIT for Month 2
6 21
7 31 FIT2 = F2 + T2
8 28
FIT2 = 12.8 + 1.92
9 36
10 — = 14.72 units
EXPONENTIAL SMOOTHING WITH TREND ADJUSTMENT
EXAMPLE

TABLE 4.1 Forecast with a - .2 and b = .4


SMOOTHED FORECAST
FORECAST SMOOTHED INCLUDING TREND,
MONTH ACTUAL DEMAND AVERAGE, Ft TREND, Tt 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

40 –
35 – Actual demand (At)
30 –
Product demand

25 –
20 –
15 –
10 – Forecast including trend (FITt)
5 – with a = .2 and b = .4

0 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Time (months)
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 (y-values)


Actual observation Deviation7
(y-value)

Deviation5 Deviation6

Deviation3
Least squares method minimizes the
sum ofDeviation
the squared
4
errors (deviations)

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

| | | | | | |
1 2 3 4 5 6 7
Time period
© 2014 Pearson Education, Inc. 4 - 66
LEAST SQUARES METHOD

Equations to calculate the regression variables

ŷ = a + bx

b=
å xy - nxy
å x - nx
2 2

a = y - bx
© 2014 Pearson Education, Inc. 4 - 67
LEAST SQUARES EXAMPLE

ELECTRICAL ELECTRICAL
YEAR POWER DEMAND YEAR POWER DEMAND
1 74 5 105
2 79 6 142
3 80 7 122
4 90
LEAST SQUARES EXAMPLE

ELECTRICAL POWER
YEAR (x) DEMAND (y) x2 xy
1 74 1 74
2 79 4 158
3 80 9 240
4 90 16 360
5 105 25 525
6 142 36 852
7 122 49 854
Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063

x=
å x 28
= =4 y=
å y 692
= = 98.86
n 7 n 7
LEAST SQUARES EXAMPLE

( ) ( 4) (98.86)x= 295 = 10.54xy


ELECTRICAL POWER
YEAR (x)
b1=
å xy - nxyDEMAND
3,063(y)- 7
=
2

åx 140 - (7) ( 4 )
74 1 74
2
- nx 2 2
28
2 79 4 158
3 80 9 240
a4 = y - bx = 98.86 -10.54
90 4 = 56.70 () 16 360
5 105 25 525
6 142
ŷ = 56.70 +10.54x
36 852
Thus,
7 122 49 854
Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063

x=
å
Demandx in
= =4 y=
å
28year 8 = 56.70y + 692
=
10.54(8)
= 98.86
n 7 = 141.02,
n or
7 141 megawatts
LEAST SQUARES EXAMPLE

Trend line,
160 – y^ = 56.70 + 10.54x

Power demand (megawatts)
150
140 –
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Year
LEAST SQUARES REQUIREMENTS

• We always plot the data to insure a linear relationship

• We do not predict time periods far beyond the database

• Deviations around the least squares line are assumed to be random


SEASONAL VARIATIONS IN DATA

The multiplicative seasonal model can


adjust trend data for seasonal
variations in demand
SEASONAL VARIATIONS IN DATA
Steps in the process for monthly seasons:

1. Find average historical demand for each month

2. Compute the average demand over all months

3. Compute a seasonal index for each month

4. Estimate next year’s total demand

5. Divide this estimate of total demand by the number of months,


then multiply it by the seasonal index for that month
SEASONAL INDEX EXAMPLE

DEMAND
AVERAGE AVERAGE
YEARLY MONTHLY SEASONAL
MONTH YEAR 1 YEAR 2 YEAR 3 DEMAND DEMAND INDEX
Jan 80 85 105 90
Feb 70 85 85 80
Mar 80 93 82 85
Apr 90 95 115 100
May 113 125 131 123
June 110 115 120 115
July 100 102 113 105
Aug 88 102 110 100
Sept 85 90 95 90
Oct 77 78 85 80
Nov 75 82 83 80
Dec 82 78 80 80
Total average annual demand = 1,128
SEASONAL INDEX EXAMPLE

DEMAND
AVERAGE AVERAGE
YEARLY MONTHLY SEASONAL
MONTH YEAR 1 YEAR 2 YEAR 3 DEMAND DEMAND 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 Average 1,128
June 110 115 120 115 94 monthly = = 94
July 100 102 113 105 94 12 months
demand
Aug 88 102 110 100 94
Sept 85 90 95 90 94
Oct 77 78 85 80 94
Nov 75 82 83 80 94
Dec 82 78 80 80 94
Total average annual demand = 1,128
SEASONAL INDEX EXAMPLE
DEMAND
AVERAGE AVERAGE
YEARLY MONTHLY SEASONAL
MONTH YEAR 1 YEAR 2 YEAR 3 DEMAND DEMAND INDEX
Jan 80 85 105 90 94 .957( = 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
June 110 115 120 115 94
July 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 82 83 80 94
Dec 82 78 80 80 94
Total average annual demand = 1,128

Average monthly demand for past 3 years


Seasonal =
Average monthly demand
index
SEASONAL INDEX EXAMPLE
DEMAND
AVERAGE AVERAGE
YEARLY MONTHLY SEASONAL
MONTH YEAR 1 YEAR 2 YEAR 3 DEMAND DEMAND INDEX
Jan 80 85 105 90 94 .957( = 90/94)
Feb 70 85 85 80 94 .851( = 80/94)
Mar 80 93 82 85 94 .904( = 85/94)
Apr 90 95 115 100 94 1.064( = 100/94)
May 113 125 131 123 94 1.309( = 123/94)
June 110 115 120 115 94 1.223( = 115/94)
July 100 102 113 105 94 1.117( = 105/94)
Aug 88 102 110 100 94 1.064( = 100/94)
Sept 85 90 95 90 94 .957( = 90/94)
Oct 77 78 85 80 94 .851( = 80/94)
Nov 75 82 83 80 94 .851( = 80/94)
Dec 82 78 80 80 94 .851( = 80/94)
Total average annual demand = 1,128
SEASONAL INDEX EXAMPLE

Seasonal forecast for Year 4: 1200

MONTH DEMAND MONTH DEMAND

Jan 1,200 July 1,200


x .957 = 96 x 1.117 = 112
12 12
Feb 1,200 Aug 1,200
x .851 = 85 x 1.064 = 106
12 12
Mar 1,200 Sept 1,200
x .904 = 90 x .957 = 96
12 12
Apr 1,200 Oct 1,200
x 1.064 = 106 x .851 = 85
12 12
May 1,200 Nov 1,200
x 1.309 = 131 x .851 = 85
12 12
June 1,200 Dec 1,200
x 1.223 = 122 x .851 = 85
12 12
SEASONAL INDEX EXAMPLE

Year 4 Forecast
140 – Year 3 Demand
130 – Year 2 Demand
Year 1 Demand
120 –
Demand

110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
ASSOCIATIVE FORECASTING

• Used when changes in one or more independent variables can be used to


predict the changes in the dependent variable

• Most common technique in this forecast is linear regression analysis

• This technique is applied similar to the time-series example


ASSOCIATIVE FORECASTING

Forecasting an outcome based on predictor variables using the least


squares technique

^
y = a + bx

where y^ = value of the dependent variable (in our


example, sales)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
ASSOCIATIVE FORECASTING EXAMPLE

NODEL’S SALES AREA PAYROLL NODEL’S SALES AREA PAYROLL


(IN $ MILLIONS), y (IN $ BILLIONS), x (IN $ MILLIONS), y (IN $ BILLIONS), x
2.0 1 2.0 2
3.0 3 2.0 1
2.5 4 3.5 7

4.0 –

Nodel’s sales
(in$ millions)
3.0 –

2.0 –

1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
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

x=
å x 18
= =3 y=
å y 15
= = 2.5
6 6 6 6

b=
å xy - nxy 51.5 - (6)(3)(2.5)
= = .25 a = y - bx = 2.5 - (.25)(3) = 1.75
å x - nx
2 2
80 - (6)(3 ) 2
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

x=
å x = 18 = 3 y=
å y = 15 = 2.5
6 6 6 6

b=
å xy - nxy 51.5 - (6)(3)(2.5)
= = .25 a = y - bx = 2.5 - (.25)(3) = 1.75
å x - nx
2
80 - (6)(3 )
2 2

ŷ = 1.75 + .25x
Sales = 1.75 + .25(payroll)
ASSOCIATIVE FORECASTING EXAMPLE
SALES, y PAYROLL, x x2 xy
2.0 1 1 2.0
4.0 –
Nodel’s sales
(in$ millions)

3.0 3 9 9.0
3.0 – 2.5 4 16 10.0
2.0 2 4 4.0
2.0 –
2.0 1 1 2.0
| | |3.5 | | | | 7 49 24.5
1.0 –0 1 2 3 4 5 67
Σy payroll
Area Σx = 18
= 15.0(in $ billions) Σx2 = 80 Σxy = 51.5

x=
å x 18
= =3 y=
å y 15
= = 2.5
6 6 6 6

b=
å xy - nxy 51.5 - (6)(3)(2.5)
= = .25 a = y - bx = 2.5 - (.25)(3) = 1.75
å x - nx2
80 - 2
(6)(3 ) 2

ŷ = 1.75 + .25x
Sales = 1.75 + .25(payroll)
ASSOCIATIVE FORECASTING EXAMPLE

If payroll next year is estimated to be $6 billion, then:

Sales (in $ millions) = 1.75 + .25(6) = 1.75 + 1.5 = 3.25

Sales (in $ millions) = $3,250,000


ASSOCIATIVE FORECASTING EXAMPLE

If payroll next year is estimated to be $6 billion, then:

4.0 –
3.25
Nodel’s sales
(in$ millions)
3.0 –

2.0 –
Sales (in$ millions) = 1.75 + .25(6)
1.0 –
= 1.75 + 1.5 = 3.25
| | | | | | |
0 1 2 3 4 5 6 7
Sales = $3,250,000
Area payroll (in $ billions)
STANDARD ERROR OF THE ESTIMATE

• A forecast is just a point estimate of a future value


• This point is actually the mean of a probability distribution

4.0 –
3.25

Nodel’s sales
(in$ millions)
3.0 – Regression line,
ŷ =1.75+.25x
2.0 –

1.0 –

| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
STANDARD ERROR OF THE ESTIMATE

S y,x =
å ( y - y c
) 2

n-2

where y = y-value of each data point


yc = computed value of the dependent
variable, from the regression equation
n = number of data points
STANDARD ERROR OF THE ESTIMATE

• Computationally, this equation is considerably easier to use

S y,x =
å - aå y - bå xy
y 2

n-2
• We use the standard error to set up prediction intervals around the
point estimate
STANDARD ERROR OF THE ESTIMATE

S y,x =
å - aå y - bå xy
y 2

=
39.5 -1.75(15.0) - .25(51.5)
n-2 6-2
= .09375
= .306 (in $ millions)

The standard error


of the estimate is 4.0 –
$306,000 in sales 3.25

Nodel’s sales
3.0 –

(in$ millions)
2.0 –

1.0 –

| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
MULTIPLE-REGRESSION ANALYSIS

• If more than one independent variable is to be used in the model, linear


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

ŷ = a + b1x1 + b2 x2

• 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:

ŷ = 1.80 +.30x1 - 5.0x2

• An improved correlation coefficient of r = .96 suggests 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
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
CORRELATION COEFFICIENT

nå xy - å xå y
r=
é ùé ù
êënå x - ( )
å x úûêënå y - ( )
å y úû
2 2
2 2
CORRELATION COEFFICIENT

y y

x x
(a) Perfect negative (e) Perfect positive
correlation y y correlation

y
x x
(b) Negative (d) Positive correlation
correlation

x
(c) No correlation

High Moderate Low Low Moderate High


| | | | | | | | |

–1.0 –0.8 –0.6 –0.4 –0.2 0 0.2 0.4 0.6 0.8 1.0
Correlation coefficient values
CORRELATION COEFFICIENT

y x x2 xy y2
2.0 1 1 2.0 4.0
3.0 3 9 9.0 9.0
2.5 4 16 10.0 6.25
2.0 2 4 4.0 4.0
2.0 1 1 2.0 4.0
3.5 7 49 24.5 12.25
Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5 Σy2 = 39.5

(6)(51.5) – (18)(15.0)
r=
é(6)(80) – (18)2 ùé(16)(39.5) – (15.0)2 ù
ë ûë û

309 - 270 39 39
= = = = .901
(156)(12) 1,872 43.3
CORRELATION

• Coefficient of Determination, r2, measures the percent of change in y


predicted by the change in x
► Values range from 0 to 1
► Easy to interpret

• For the Nodel Construction example:


► r = .901
► r2 = .81
MONITORING AND CONTROLLING FORECASTS

• Tracking Signal
► Measures how well the forecast is predicting actual values

► Ratio of cumulative forecast errors to mean absolute deviation (MAD)


✓ Good tracking signal has low values
✓ If forecasts are continually high or low, the forecast has a bias error

σ𝒏𝒕=𝟏 𝑨𝒕 − 𝑭𝒕 σ𝒏𝒕=𝟏 𝑨𝒕 − 𝑭𝒕
𝑻𝑹𝑨𝑪𝑲𝑰𝑵𝑮 𝑺𝑰𝑮𝑵𝑨𝑳 = = 𝒏
𝑴𝑨𝑫 σ𝒕=𝟏 𝑨𝒕 − 𝑭𝒕
𝒏

Where:
𝑨𝒕 - Actual demand
𝑭𝒕 - Forecast demand
𝑴𝑨𝑫 – Mean absolute deviation
𝒏 – Numbers of data in the data set
MONITORING AND CONTROLLING FORECASTS

• Tracking signal

Signal exceeding limit


Tracking signal
Upper control limit
+

0 MADs Acceptable
range


Lower control limit

Time
MONITORING AND CONTROLLING FORECASTS

• Tracking Signal Example


ABSOLUTE CUM ABS TRACKING
ACTUAL FORECAST CUM FORECAST FORECAST SIGNAL (CUM
QTR DEMAND DEMAND ERROR ERROR ERROR ERROR MAD ERROR/MAD)
1 90 100 –10 –10 10 10 10.0 –10/10 = –1

2 95 100 –5 –15 5 15 7.5 –15/7.5 = –2

3 115 100 +15 0 15 30 10. 0/10 = 0

4 100 110 –10 –10 10 40 10. 10/10 = –1

5 125 110 +15 +5 15 55 11.0 +5/11 = +0.5

6 140 110 +30 +35 30 85 14.2 +35/14.2 = +2.5

At the end of quarter 6, MAD =


å Forecast errors 85
= = 14.2
n 6
Cumulative error 35
Tracking signal = = = 2.5 MADs
MAD 14.2
ADAPTIVE SMOOTHING

• It’s possible to use the computer to continually monitor forecast error


and adjust the values of the a and b coefficients used in exponential
smoothing to continually minimize forecast error
• This technique is called adaptive smoothing
FOCUS FORECASTING

• Developed at American Hardware Supply, based on two principles:


► Sophisticated forecasting models are not always better than simple
ones
► 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
FORECASTING IN THE SERVICE SECTOR

• Presents unusual challenges


► Special need for short term records
► Needs differ greatly as function of industry and product
► Holidays and other calendar events
► Unusual events
FAST FOOD RESTAURANT FORECAST

Percentage of sales by hour of day


20% –

15% –

10% –

5% –

11-12 1-2 3-4 5-6 7-8 9-10


12-1 2-3 4-5 6-7 8-9 10-11
(Lunchtime) (Dinnertime)
Hour of day
FEDEX CALL CENTER FORECAST

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

You might also like