Sei sulla pagina 1di 45

Operations

Management
Topic 2 – Forecasting

UiTM Shah Alam


Lecturer: Dr. Noor Azlina Mohd. Salleh
T1-A14-8C

3/12/2019 NY- MEM 575: Courtesy of Mc Graw Hill 1


and Pearson-Prentice Hall
Learning outcomes

At the end of this lesson students should be able to :


1. Discuss the overview of forecasting techniques
2. Compare and contrast qualitative and quantitative
approaches to forecasting
3. Apply the naive, moving averages, weighted moving averages
and exponential smoothing methods.
4. Compute and analyze three measures of forecast accuracy;
MAD, MSE and MAPE

NY- MEM 575: Courtesy of Mc Graw Hill and Pearson-


3/12/2019 Prentice Hall 2
What is Forecasting?
1. Process of predicting a
future event Hmm…. you are
going to get an A for
2. Underlying basis of this subject. But!!!

all business decisions


 Production
 Inventory
 Personnel
 Facilities

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 3
and Pearson-Prentice Hall
Forecasting Time Horizons
1. Short-range forecast
 Up to 1 year, generally less than 3 months
 Purchasing, job scheduling, workforce levels, job
assignments, production levels
2. Medium-range forecast
 3 months to 3 years
 Sales and production planning, budgeting
3. Long-range forecast
 3+ years
 New product planning, facility location, research and
development

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 4
and Pearson-Prentice Hall
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
6. Make the forecast
7. Validate and implement results
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 5
and Pearson-Prentice Hall
Types of Forecasts
1. Economic forecasts
 Address business cycle – inflation rate, money
supply, housing starts, etc.
2. Technological forecasts
 Predict rate of technological progress
 Impacts development of new products
3. Demand forecasts
 Predict sales of existing products and services

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 6
and Pearson-Prentice Hall
Strategic Importance of Forecasting

1. Human Resources – Hiring, training, laying


off workers
2. Capacity – Capacity shortages can result in
undependable delivery, loss of customers,
loss of market share
3. Supply Chain Management – Good supplier
relations and price advantages

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 7
and Pearson-Prentice Hall
The Realities!

1. Forecasts are seldom perfect


2. Most techniques assume an underlying
stability in the system
3. Product family and aggregated forecasts
are more accurate than individual product
forecasts

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 8
and Pearson-Prentice Hall
Forecasting Methods
Generally there are two types of forecasting
methods; Qualitative and Quantitative
Methods
1. Qualitative methods are based on:
 judgment
 opinion
 past experience
 best guesses

2. Quantitative methods are based on:


 mathematical methods
 two traditional types; time series and regression

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 9
and Pearson-Prentice Hall
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

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 10
and Pearson-Prentice Hall
Forecasting Approaches
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

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 11
and Pearson-Prentice Hall
Overview of Quantitative
Approaches
1. Naive approach
2. Moving averages
Time-Series
3. Weighted Moving Averages Models
4. Exponential smoothing
5. Trend projection
Associative
6. Linear regression Model

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 12
and Pearson-Prentice Hall
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

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 13
and Pearson-Prentice Hall
Time Series Components

Trend Cyclical

Seasonal Random

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 14
and Pearson-Prentice Hall
Components of Demand
Trend
component
Seasonal peaks
Demand for product or service

Actual
demand

Average demand
over four years
Random
variation
| | | |
1 2 3 4
Year Figure 4.1
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 15
and Pearson-Prentice Hall
Trend Component
1. Persistent, overall upward or
downward pattern
2. Changes due to population,
technology, age, culture, etc.
3. Typically several years duration

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 16
and Pearson-Prentice Hall
Seasonal Component
1. Regular pattern of up and down
fluctuations
2. Due to weather, customs, etc.
3. Occurs within a single year
Number of
Period Length Seasons
Week Day 7
Month Week 4-4.5
Month Day 28-31
Year Quarter 4
Year Month 12
Year Week
NY- MEM 575: Courtesy of Mc Graw Hill
52
3/12/2019 17
and Pearson-Prentice Hall
Cyclical Component
1. Repeating up and down movements
2. Affected by business cycle, political, and
economic factors
3. Multiple years duration
4. Often causal or
associative
relationships
0 5 10 15 20
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 18
and Pearson-Prentice Hall
Random Component
1. Erratic, unsystematic, ‘residual’
fluctuations
2. Due to random variation or unforeseen
events
3. Short duration and
non-repeating

M T W T F
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 19
and Pearson-Prentice Hall
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

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 20
and Pearson-Prentice Hall
Techniques for Averaging

1. Moving average
2. Weighted moving average
3. Exponential smoothing

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 21
and Pearson-Prentice Hall
Moving Average Method
1. MA is a series of arithmetic means
2. Used if little or no trend
3. Used often for smoothing
 Provides overall impression of data over
time

∑ demand in previous n periods


Moving average =
n
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 22
and Pearson-Prentice Hall
Moving Average Example
Actual 3-Month
Month Sales 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

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 23
and Pearson-Prentice Hall
Graph of Moving Average

Moving
30 –
Average
28 –
Forecast
26 – Actual
24 – Sales
22 –
Sales

20 –
18 –
16 –
14 –
12 –
10 –
| | | | | | | | | | | |
J F M A M J J A S O N D
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 24
and Pearson-Prentice Hall
Weighted Moving Average

1. Used when trend is present


 Older data usually less important
2. Weights based on experience and
intuition

∑ (weight for period n)


Weighted x (demand in period n)
moving average = ∑ weights

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 25
and Pearson-Prentice Hall
Weights Applied Period
Weighted 3Moving Average
Last month
2 Two months ago
1 Three months ago
6 Sum of weights

Actual 3-Month Weighted


Month Sales Moving Average
January 10
February 12
March 13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 121/6
May 19 [(3 x 16) + (2 x 13) + (12)]/6 = 141/3
June 23 [(3 x 19) + (2 x 16) + (13)]/6 = 17
July 26 [(3 x 23) + (2 x 19) + (16)]/6 = 201/2

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 26
and Pearson-Prentice Hall
Moving Average And
Weighted Moving Average
Weighted
30 – moving
average
25 –
Sales demand

20 – Actual
sales
15 –
Moving
10 – average

5 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Figure 4.2
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 27
and Pearson-Prentice Hall
Potential Problems With
Moving Average

1. Increasing n smoothens the forecast but


makes it less sensitive to changes
2. Do not forecast trends well
3. Require extensive historical data

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 28
and Pearson-Prentice Hall
Exponential Smoothing

1. Form of weighted moving average


 Weights decline exponentially
 Most recent data weighted most
2. Requires smoothing constant ()
 Ranges from 0 to 1
 Subjectively chosen
3. Involves little record keeping of past data

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 29
and Pearson-Prentice Hall
Exponential Smoothing
Remember This!!!!!!!!
New forecast = Last period’s forecast
+  (Last period’s actual demand
– Last period’s forecast)

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

where Ft = new forecast


Ft – 1 = previous forecast
 = smoothing (or weighting)
constant (0 ≤  ≤ 1)
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 30
and Pearson-Prentice Hall
Choosing 

The objective is to obtain the most accurate


forecast no matter the technique; lowest
forecast error indicates better accuracy.

Forecast error = Actual demand - Forecast value


= At - Ft

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 31
and Pearson-Prentice Hall
Forecast Accuracy
(Common Measures of Error) – MAD #1
Error: difference between actual value and forecast
value
1. Mean Absolute Deviation (MAD)
 Average absolute error
{this value is computed by taking the sum of the absolute
values of the individual forecast errors and dividing by
the number of periods of data (n)}

∑ |Actual - Forecast|
MAD =
n

NY- MEM 575: Courtesy of Mc Graw Hill 32


3/12/2019
and Pearson-Prentice Hall
Forecast Accuracy
(Common Measures of Error)-MSE #2

2. Mean Squared Error (MSE)


 Average of squared error;
{ 2nd method of measuring overall forecast error; the
average of the squared differences between forecasted
and observed values}.

∑ (Actual - Forecast )2
MSE =
n

NY- MEM 575: Courtesy of Mc Graw Hill 33


3/12/2019
and Pearson-Prentice Hall
Forecast Accuracy
(Common Measures of Error)-MAPE #3

3. Mean Absolute Percent Error (MAPE)


 Average absolute percent error
{ the average of the absolute value difference betrween
the forecasted and the actual values; expressed in %}

n
MAPE = ∑100|Actuali - Forecasti|/Actuali

i=1 n

NY- MEM 575: Courtesy of Mc Graw Hill 34


3/12/2019
and Pearson-Prentice Hall
Common Measures of Error or
Forecast Accuracy
1) Mean Absolute Deviation (MAD)
∑ |Actual - Forecast|
MAD =
n
2) Mean Squared Error (MSE)
∑ (Actual - Forecast )2
MSE =
n
3) Mean Absolute Percent Error (MAPE)
n
MAPE = ∑100|Actuali - Forecasti|/Actuali

i=1 n
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 35
and Pearson-Prentice Hall
Exponential Smoothing Example

Predicted demand = 142 Ford Mustangs


Actual demand = 153
Smoothing constant  = .20

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 36
and Pearson-Prentice Hall
Exponential Smoothing Example

Predicted demand = 142 Ford Mustangs


Actual demand = 153
Smoothing constant  = .20

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

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 37
and Pearson-Prentice Hall
Exponential Smoothing Example

Predicted demand = 142 Ford Mustangs


Actual demand = 153
Smoothing constant  = .20

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


= 142 + 2.2
= 144.2 ≈ 144 cars

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 38
and Pearson-Prentice Hall
Exponential Smoothing Example
2
Demand for the last four months was:

Predict demand for July using each of these methods:


(A)
1) A 3-period moving average
2) exponential smoothing with alpha equal to .20 (use naïve to
begin).
(B)
3) If the naive approach had been used to predict demand for April
through June, what would MAD have been for those months?

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 39
and Pearson-Prentice Hall
Exponential Smoothing Example 2
A) 1. (8+10+8)/3 = 8.67 (July Forecast)
2. Use naïve to begin
Month Demand Forecast
March 6 -
April 8 6
May 10 6 + 0.2(8 – 6) = 6.4
June 8 6.4 + 0.2(10 – 6.4) = 7.12
7.12 + 0.2(8 – 7.12) = 7.296

B)
Month March April May June
Demand 6 8 10 8
Naïve - 6 8 10
Absolute Error - 2 2 2
MAD = (2+2+2) /3 = 2
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 40
and Pearson-Prentice Hall
Other Examples
Moving Average

Weekly sales of ten-grain bread at the local organic food market are in the
table below. Based on this data, forecast week 9 using a five-week moving
average.

Week 1 2 3 4 5 6 7 8

Sales 415 389 420 382 410 432 405 421

(382+410+432+405+421)/5 = 410.0

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 41
and Pearson-Prentice Hall
Other Examples
Exponential Smoothing & MAD
Jim's department at a local department store has tracked the sales of a product
over the last ten weeks. Forecast demand using exponential smoothing with
an alpha (α) of 0.4, and an initial forecast of 28.0. Calculate MAD, MSE and
MAPE.
Period Demand
1 24
2 23
3 26
4 36
5 26
6 30
7 32
8 26
9 25
10 28
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 42
and Pearson-Prentice Hall
Other Examples –
Exponential Smoothing
Demand І At – FtІ ( At – Ft)2 100*І At – FtІ / At
Period Forecast Error
(Actual) І errorІ (error) 2 100 (І error І/actual)

1 24 28.00 -4 4 16 16.6 %
2 23 26.40 -3.40 3.40 11.56 14.78 %
3 26 25.04 0.96 0.96 0.92 3.69 %
4 36 25.42 10.58 10.58 111.94 29.39 %
5 26 29.65 -3.65 3.65 13.32 14.04%
6 30 28.19 1.81 1.81 3.28 6.03%
7 32 28.92 3.08 3.08 9.49 9.63 %
8 26 30.15 -4.15 4.15 17.22 15.96 %
9 25 28.49 -3.49 3.49 12.18 13.96%
10 28 27.09 0.91 0.91 0.83 3.25%
Total -1.36 36.03 196.74 127.33 %
Average -0.14 3.6 19.6 12.73 %
Bias MAD MSE MAPE

NY- MEM 575: Courtesy of Mc Graw Hill


3/12/2019 43
and Pearson-Prentice Hall
Let’s Recap
1. Discuss the overview of forecasting techniques
2. Compare and contrast qualitative and quantitative
approaches to forecasting
3. Apply the naive, moving averages, weighted moving averages
and exponential smoothing methods.
4. Compute and analyze three measures of forecast accuracy;
MAD, MSE and MAPE

NY- MEM 575: Courtesy of Mc Graw Hill and Pearson-


3/12/2019 Prentice Hall 44
NY- MEM 575: Courtesy of Mc Graw Hill
3/12/2019 45
and Pearson-Prentice Hall

Potrebbero piacerti anche