Professional Documents
Culture Documents
FORECASTING
Chapter 3
Forecasting in Operations and Supply
Chain Management
q Forecasting is a vital function and impacts every
significant management decision
¤ Finance and accounting use forecasts as the basis for
budgeting and cost control
¤ Marketing relies on forecasts to make key decisions
such as new product planning and personnel
compensation
¤ Production uses forecasts to select suppliers, determine
capacity requirements, and to drive decisions about
purchasing, staffing, and inventory
3- 2
Decoupling Points
q Decoupling points occur when inventory is positioned
in the supply chain to allow one operation to act
independently of another
¤ For example, inventory at a retail store separates
(buffers) the manufacturer from the actions of individual
consumers
q Forecasts of demand at these decoupling points
allows inventory to be set to the proper level
3- 3
LO2
Demand Management
Independent Demand:
Finished Goods
A Dependent Demand:
Raw Materials,
Component parts,
B(4) C(2) Sub-assemblies, etc.
3- 4
Forecasting Methods
5
Forecasting
Methods
Quantitative Qualitative
3- 6
7
3- 7
What to look for in a time series?
8
3- 8
Finding Components of Demand
Seasonal variation
x Linear
x x
x x
x x x Trend
Sales
x
x x x
x
x
xx
x xx x x
x
x
x x x x x x
x x x x x x
x x x
x xxxxx
x
x x
1 2 3 4
Year
3- 9
Trends
q Identification
of trend lines is a common starting
point when developing a forecast
q Common trend types include linear, S-curve,
asymptotic, and exponential : we focus on linear
3- 10
Classification of Time Series Models
q No Trend; No Seasonality
¤ Moving Average Techniques
n Simple MA
n Weighted Moving Average
¤ Exponential Smoothing Technique
q With Trend but Not Seasonality
¤ Exponential Smoothing With Trend
¤ Simple Linear Regression (least Squares method)
3- 11
Selecting a Forecasting Method
q Exponential Smoothing
3- 13
Smoothing Methods- Moving Averages
1000
900
Demand
Demand
800
3-Week
700
6-Week
600
Note how the 3-
500
Week is smoother
1 2 3 4 5 6 7 8 9 10 11 12 than the Demand,
Week and 6-Week is even
smoother
3- 18
Weighted Moving Average Formula
3- 19
Weighted Moving Average Example Data
Question: Given the weekly demand and weights, what is the forecast for the
4th period or Week 4?
Note that the weights place more emphasis on the most recent data,
that is time period “t-1”
3- 20
Weighted Moving Average Example Solution
F4 = 0.5(720)+0.3(678)+0.2(650)=693.4
3- 21
Weighted Moving Averages
q To use this method we must first select the number of data
values, n, to be included in the average
q Next, we must choose the weight for each of the data values
q The more recent observations are typically given more weight
than older observations
q For convenience, the weights should sum to 1
q Experience and/or trial-and-error are the simplest
approaches
3- 22
Moving Average Methods vs
Exponential Smoothing Methods
q If you are making forecasts for 20 thousand items in a
Wal-Mart and using a 60-day moving average method,
there is a great computational burden? You need to keep
too much data in storage, and need to do too many
calculations.
q Exponential Smoothing technique (which is very easy to
use and understand), resolves this issue (the issue of large
number of calculations and storage requirements) with
surprising accuracy.
3- 23
Exponential Smoothing
3- 25
Exponential Smoothing Example
Week Demand Forecast
1 820 820
2 775 820 𝐹$ = 𝐹# + 𝛼 𝐴# − 𝐹# =820 + 0.2(820-820)
3 680 811
4 655 785 𝐹% = 𝐹& + 𝛼 𝐴& − 𝐹& =811+ 0.2(680-811)
5 750 759
6 802 757 𝐹' = 𝐹( + 𝛼 𝐴( − 𝐹( =759+ 0.2(750-759)
7 798 766
8 689 772 𝐹) = 𝐹* + 𝛼 𝐴* − 𝐹* =766+ 0.2(798-766)
9 775 756
10 760 𝐹#+ = 𝐹, + 𝛼 𝐴, − 𝐹, =756+ 0.2(775-756)
3- 26
Exponential Smoothing Problem (1) Data
Week Demand
1 820 Question: Given the weekly
2 775 demand data, what are the
3 680 exponential smoothing
4 655 forecasts for periods 2-10
5 750 using a=0.2?
6 802 Assume F1=D1
7 798
8 689
9 775
10
3- 27
Exponential Smoothing Problem (1)
Week Demand Forecast
1 820 820
2 775 820 𝐹$ = 𝐹# + 𝛼 𝐴# − 𝐹# =820 + 0.2(820-820)
3 680 811
4 655 785 𝐹% = 𝐹& + 𝛼 𝐴& − 𝐹& =811+ 0.2(680-811)
5 750 759
6 802 757 𝐹' = 𝐹( + 𝛼 𝐴( − 𝐹( =759+ 0.2(750-759)
7 798 766
8 689 772 𝐹) = 𝐹* + 𝛼 𝐴* − 𝐹* =766+ 0.2(798-766)
9 775 756
10 760 𝐹#+ = 𝐹, + 𝛼 𝐴, − 𝐹, =756+ 0.2(775-756)
3- 28
The following table shows respective forecasts for alpha=0.1 and 0.6,
respectively. Note that you can only forecast one time period into the future.
Note how that the smaller alpha results in a smoother line in this example .
Forecasts are less reactive to demand changes in that case.
900
800 Demand
Demand
700 0.1
600 0.6
500
1 2 3 4 5 6 7 8 9 10
Week
3- 30
Which alpha to choose?
q UseMAD or Se, to decide which alpha has less
error.
q MAD= Mean Absolute Deviation.
q Se = Standard Error.
q See Performance Measures.xls
3- 31
The MAD Statistic to Determine Forecasting Error
n
1 MAD » 0.8 standard deviation
åA
t=1
t - Ft
1 standard deviation » 1.25 MAD
MAD =
n
3- 32
Classification of Time Series Models
q No Trend; No Seasonality
¤ Moving Average Techniques
n Simple MA
n Weighted Moving Average
¤ Exponential Smoothing Technique
n MA, ES,ES with Trend
¤ MAD and Se
q With Trend but Not Seasonality
¤ Exponential Smoothing With Trend
¤ Simple Linear Regression (least Squares method)
q With Trend and Seasonality
¤ Additive vs Multiplicative Demand Models
3- 33
Exponential Smoothing – Effect of Trends
q The presence of a trend in the data causes the
exponential smoothing forecast to always lag
behind the actual data
q This can be corrected by adding a trend adjustment
¤ The trend smoothing constant is delta (𝛿)
𝐹𝐼𝑇! = 𝐹! + 𝑇!
𝐹! = 𝐹𝐼𝑇!"# + 𝛼 𝐴!"# − 𝐹𝐼𝑇!"#
𝑇! = 𝑇!"# + 𝛿 𝐹! − 𝐹𝐼𝑇!"#
𝐹! = 𝐸𝑥𝑝𝑜𝑛𝑒𝑛𝑡𝑖𝑎𝑙𝑙𝑦 𝑠𝑚𝑜𝑜𝑡ℎ𝑒𝑑 𝑓𝑜𝑟𝑒𝑐𝑎𝑠𝑡 𝑓𝑜𝑟 𝑝𝑒𝑟𝑖𝑜𝑑 𝑡
𝑇! = 𝐸𝑥𝑝𝑜𝑛𝑒𝑛𝑡𝑖𝑎𝑙𝑙𝑦 𝑠𝑚𝑜𝑜𝑡ℎ𝑒𝑑 𝑡𝑟𝑒𝑛𝑑 𝑓𝑜𝑟 𝑝𝑒𝑟𝑖𝑜𝑑 𝑡
𝐹𝐼𝑇! = 𝐹𝑜𝑟𝑒𝑐𝑎𝑠𝑡 𝑖𝑛𝑐𝑙𝑢𝑑𝑖𝑛𝑔 𝑡𝑟𝑒𝑛𝑑 𝑓𝑜𝑟 𝑝𝑒𝑟𝑖𝑜𝑑 𝑡
𝐹𝐼𝑇!"# = 𝐹𝑜𝑟𝑒𝑐𝑎𝑠𝑡 𝑖𝑛𝑐𝑙𝑢𝑑𝑖𝑛𝑔 𝑡𝑟𝑒𝑛𝑑 𝑓𝑜𝑟 𝑝𝑟𝑒𝑣𝑖𝑜𝑢𝑠 𝑝𝑒𝑟𝑖𝑜𝑑
𝐴!"# = 𝐴𝑐𝑡𝑢𝑎𝑙 𝑜𝑐𝑐𝑢𝑟𝑒𝑛𝑐𝑒 𝑓𝑜𝑟 𝑝𝑟𝑒𝑣𝑖𝑜𝑢𝑠 𝑝𝑒𝑟𝑖𝑜𝑑
𝛼 = 𝑆𝑚𝑜𝑜𝑡ℎ𝑖𝑛𝑔 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 (𝑎𝑙𝑝ℎ𝑎)
𝛿 = 𝑆𝑚𝑜𝑜𝑡ℎ𝑖𝑛𝑔 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 (𝑑𝑒𝑙𝑡𝑎) 3- 34
Example – Exponential Smoothing with
Trend Adjustment
q Calculate the new forecast, assuming the following
¤ The previous forecast including trend (𝐹𝐼𝑇DEF) is 110 and
the previous estimate of the trend (𝑇DEF) is 10
¤ 𝛼 = 0.2 and 𝛿 = 0.3
¤ Actual demand for period t-1 was 115
3- 35
Choosing Alpha and Delta
q Relatively small values for 𝛼 and 𝛿 are common
q Usually in the range 0.1 to 0.3
q𝛼 depends upon how much random variation is
present
q 𝛿 depends upon how steady the trend is
q Measurements of forecast error can be used to
select values of 𝛼 and 𝛿 to minimize overall
forecast error
3- 36
Linear Regression Analysis
q Regression is used to identify the functional
relationship between two or more correlated
variables, usually from observed data
q One variable (the dependent variable) is predicted
for given values of the other variable (the
independent variable)
q Linear regression is a special case which assumes the
relationship between the variables can be explained
with a straight line
𝑌! − 𝑡ℎ𝑒 𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒 𝑣𝑎𝑙𝑢𝑒, (Sales)
Yt=a + bt 𝑎 − 𝑡ℎ𝑒 𝑦 − 𝑖𝑛𝑡𝑒𝑟𝑐𝑒𝑝𝑡 𝑜𝑓 𝑡ℎ𝑒 𝑙𝑖𝑛𝑒
𝑏 − 𝑡ℎ𝑒 𝑠𝑙𝑜𝑝𝑒 𝑜𝑓 𝑡ℎ𝑒 𝑙𝑖𝑛𝑒
𝑡 − 𝑖𝑛𝑑𝑒𝑥 𝑓𝑜𝑟 𝑡ℎ𝑒 𝑡𝑖𝑚𝑒 𝑝𝑒𝑟𝑖𝑜𝑑
3- 37
Example 3.2 – Least Squares Method
Quarter Sales Quarter Sales
The least squares method determines the
1 600 7 2,600
parameters a and b such that the sum of
the squared errors is minimized – the 2 1,550 8 2,900
“least squares” 3 1,500 9 3,800
4 1,500 10 4,500
5 2,400 11 4,000
6 3,100 12 4,900
3- 38
Example 3.2 - Calculations
∑ 𝑡𝑦 − 𝑛𝑡̅ 6 𝑦# 268,200 − 12 ∗ 6.5 ∗ 2,779.2 𝒕 𝒚 𝒕×𝒚 𝒕𝟐 𝒀
𝑏= = = 359.6
∑ 𝑡 ! − 𝑛𝑡̅ ! 650 − 12 ∗ 6.5! 1 600 600 1 801.3
a = 𝑦# − 𝑏𝑡̅ = 2,779.2 − 359.6 ∗ 6.5 = 441.67 2 1,550 3,100 4 1,160.9
3- 40
Classification of Time Series Models
q No Trend; No Seasonality
¤ Moving Average Techniques
n Simple MA
n Weighted Moving Average
¤ Exponential Smoothing Technique
q With Trend but Not Seasonality
¤ Exponential Smoothing With Trend
¤ Simple Linear Regression (least Squares method)
q With Trend and Seasonality
¤ Additive vs Multiplicative Demand Models
3- 41
Time Series Decomposition
¨ Chronologically ordered data is referred to as a
time series
¨ A time series may contain one or many elements
¤ Trend, seasonal, cyclical, autocorrelation, and random
¨ Identifying these elements and separating the time
series data into these components is known as
decomposition
3- 42
Seasonal Variation
¨ Seasonal variation may be either additive or
multiplicative (shown here with a changing trend)
3- 43
Forecasting with Trend and Seasonal Components
q Additive Seasonal Time Series Model
Forecast including trend and Seasonality = Yt=Tt +St
q Multiplicative Seasonal Time Series Model
Forecast including trend and Seasonality = Yt=Tt X St
See above figures.
Mostly we experience multiplicative models.
q If we are given the actual demand data and a Trend line as in
exhibit 3.10, see example 3.4 and Problem 28 Solutions
provided in the Solutionsto Suggested Problems from Forecasting
Chapter.pdf to see how to find the seasonality indices and
making forecasts.
q Else, if we are given the actual demand data and are asked to
decompose the data into its multiplicative trend and seasonality
components and then make forecasts, follow the next
procedure.
3- 44
Decomposition Using Least Squares
Regression
1. Decompose the time series into its components
a. Find seasonal component
b. Deseasonalize the demand
c. Find the trend component
2. Forecast future values of each component
a. Project trend component into the future
b. Multiply the trend component by the seasonal
component
3- 45
Multiplicative Time Series Model
Decomposition Steps of Multiplicative Time Series Model
step 1 = avg. demand for the entire data
step 3 = divide avg. seasonal dem. by avg. dem. to get seasonal indices
step 4 = de-seasonalize the data: divide the actuals by its seasonal index
Regression Results:
Y = 555.0 + 342.2t
Forecast for
periods 13-16
3- 48
Decomposition – Step 6
q Create the final forecast by adjusting the regression line by the
seasonal factor
Y = 555.0 + 342.2t
Y = 555 + 342.2(13)= 5003.5 x 0.82 = 4102.87
Y = 555 + 342.2(14)= 5345.8 x 1.10 = 5880.27
Y = 555 + 342.2(15)= 5687.9 x 0.97 =5517.26
Y = 555 + 342.2(16)= 6030.1 x 1.12 = 6753.71
3- 49
Forecast Errors
q Forecast error is the difference between the forecast
value and what actually occurred
q All forecasts contain some level of error
q Sources of error
¤ Bias – when a consistent mistake is made
¤ Random – errors that are not explained by the model being
used
q Measures of error
¤ Mean absolute deviation (MAD)
¤ Mean absolute percent error (MAPE)
¤ Tracking signal
3- 50
Forecast Error Measurements
q Ideally, MAD will be zero q MAPE scales the forecast error to
(no forecasting error) the magnitude of demand
q Larger values of MAD
MAD
indicate a less accurate MAPE =
Average Demand
model
∑/-.# 𝐴! − 𝐹! q Tracking signal indicates whether
MAD =
𝑛 forecast errors are accumulating
𝑤ℎ𝑒𝑟𝑒
𝑡 = period number over time or not (either positive or
𝐴! = actual demand during period 𝑡 negative errors)
𝐹! = forecast demand during period 𝑡
Running sum of forecast errors
𝑛 = total number of periods 𝑇𝑆 =
Mean absolute deviation
3- 51
Computing Forecast Error
3- 52
Causal Relationship Forecasting
q Causalrelationship forecasting uses independent
variables other than time to predict future demand
¤ This independent variable must be a leading indicator
q Many apparently causal relationships are actually
just correlated events – care must be taken when
selecting causal variables
3- 53
Multiple Regression Techniques
3- 54
Multiple Regression analysis
q Identify factors (independent variables) that can be used to
predict the values for the forecast variable (e.g., sales).
q A little more involved data collection than the time series
cases.
q Use Excel (Tools/Data analysis) to obtain the statistics.
q Check each independent variable and the intercept for
statistical significance (p-values ~ £ 0.05)
q Drop insignificant variable(s), one at a time and re-run the
model as many times as needed
q If the “clean” model has a good adjusted R2 (subjective
measure) the final model can be used to make decisions.
3- 56
Collaborative Planning, Forecasting,
and Replenishment (CPFR)
qA web-based process used to coordinate the efforts
of a supply chain
¤ Demand forecasting
¤ Production and purchasing
¤ Inventory replenishment
3- 57
Things to do before next time.
q Read Chapter 3
q Understand the Ch 3 Solved Problems
q Solve Ch 3 Problems: 6, 7, 15, 17, 18, 22, 27, 28,
and 29
q Read Chapter 8 –Sales and Operations Planning
58