Forecasting
1
Forecast
2
Forecasts are a basic input in the decision processes of operations management because they provide information on future demand. The importance of forecasting to operations management cannot be overstated. The primary goal of operations management is to match supply to demand. Having a forecast of demand is essential for determining how much capacity or supply will be needed to meet demand.
Uses of Forecasts
3
Accounting | Cost/profit estimates |
Finance | Cash flow and funding |
Human Resources | Hiring/recruiting/training |
Marketing | Pricing, promotion, strategy |
MIS | IT/IS systems, services |
Operations | Schedules, MRP, workloads |
Product/service design | New products and services |
4
REMARKS
5
Elements of a Good Forecast
6
Timely
Accurate
Reliable
Meaningful
Written
Easy to use
Steps in the Forecasting Process
7
Step 1 Determine purpose of forecast
Step 2 Establish a time horizon
Step 3 Select a forecasting technique
Step 4 Select a forecasting technique
Step 5 Prepare the forecast
Step 6 Monitor the forecast
“The forecast”
Step 1 Determine the purpose of the forecast.
Step 3 Obtain, clean, & analyze appropriate data
FORECAST ACCURACY
8
9
FORECASTS BASED ON TIME-SERIES DATA
10
Naive Methods
A naive forecast uses a single previous value of a time series as the basis of a forecast. The naive approach can be used with a stable series (variations around an average), with seasonal variations, or with trend.
Types of Forecasts
11
Judgmental Forecasts
12
Associative Forecasting
13
Associative Forecasting
14
Linear Regression (cont.)
y = a + bx
Where
y = predicted (dependent) variable
x = predictor (independent) variable
b = slope of the line
a = value of y when x = 0 (the height of line at the y intercept)
15
Computing a and b
Given n data points, find the intercept a and the slope b to
16
Linear Model Seems Reasonable
17
Computed�relationship
Another Linear Regression Example�Variables: Weeks and Sales
18
Linear Trend Calculation
19
y = 143.5 + 6.3 t
Sales in week t = 143.5 + 6.3 t
a
=
812
-
6.3(15)
5
=
b
=
5 (2499)
-
15(812)
5(55)
-
225
=
12495
-
12180
275
-
225
=
6.3
143.5
Linear Trend Calculation
y = 143.5 + 6.3t
When t = 0, the value of y is 143.45 and the slope of the line is 6.3. meaning that the value of of y will increase by 6.3 units for each time period. If t = 10, the forecast is 143.5 + 6.3(10) = 206.5
20
Excel example
regression.xls
Linear Regression
21
22
23
Time series
Types of Variations in Time Series Data
24
Forecast Variations
25
Trend
Irregular�variation
Cycles
Seasonal variations
Year 01
00
99
Figure 3-1
Cyclical
Naïve Forecasts
Some notation: Forecast at time t is F(t)
Actual observation at time t is A(t)
Today is temperature is 98 F, A(Today)=98
F(Tomorrow)=98
F(Day after)=98
26
Uses for Naïve Forecasts
27
Naive Forecasts
28
Uh, give me a minute....
We sold 250 wheels last
week.... Now, next week we should sell....
Naïve (Cont.)
29
Time Series Models: Variations�What is random and what is not?
30
Techniques for Averaging
31
Simple Moving Average�Note the sensitivity of forecasts
32
Actual
MA(t,3)
MA(t,5)
Averaging (over time) techniques are used to smooth variations in the data.
33
Ex: Three period moving average forecast
Month Demand
1 42 MA(6,3) = (43 + 40 + 41) / 3
2 40 = 41.33.
3 43 If A(6) = 39, then
4 40 MA(7,3) = (40 + 41 + 39) / 3
5 41 = 40.00
6 39
34
Weighted average
Moving Average
Weighted Moving Average
35
Weighted average
Compute a weighted average forecast using a weight of 0.4 for the most recent period, 0.3 for the next most recent, 0.2 for the next and 0.1 for the next.
Continuing with the data on the left
F(6) = .40(41)+.30(40)+.20(43)+.10(40)=41.0
If the actual demand for period 6 is 39,
F(7) = .40(39)+.30(41)+.20(40)+.10(43)=40.2
36
Month Demand
1 42
2 40
3 43
4 40
5 41
6 39
Exponential Smoothing
Forecast today=Forecast yesterday+(alpha)*(Forecast error yesterday)
Each new forecast is equal to the previous forecast plus a percentage of the previous error.
Today’s forecast
Depends on yesterday’s (time-wise dependence, strong memory)
But it has to be corrected by forecast error
Therefore, we should give more weight to the more recent time periods when forecasting.
37
Forecast error:=Actual – Forecast =A(t-1)-F(t-1)
38
Exponential Smoothing �as an Weighted Average
Idea--The most recent observations might have the highest predictive value along with the most recent forecast errors. Let us balance them:
39
40
Example of Exponential Smoothing
Forecasts made in a period and the period has the same color
41
Picking a Smoothing Constant:�Responsiveness vs. Smoothing
42
Picking a Smoothing Constant�Sensitivity of Forecasts
43
α = 0.1
α = 0.4
Actual
Excel example
exponential-smoothing.xls
Techniques for trend
44
Yt = a + bt
0 1 2 3 4 5 t
Y
b is similar to the slope. However, since it is calculated with the variability of the data in mind, its formulation is not as straight-forward as our usual notion of slope.
Common Nonlinear Trends
45
Parabolic
Exponential
Growth
Figure 3-5
Adjusting for Trend with Double Exponential Smoothing
also smoothed,
note that previous
trend (of t-1) and
current trend (of t)
appear in the
smoothing formula
46
Techniques for seasonality
seasonal percentages = seasonal relatives = seasonal indices
47
Different models of seasonality
48
Use Seasonality Indices �to Deseasonalize and Seasonalize
49
t
t
t
Inputs
Analyze
Output
Excel example
seasonalforecast.xls
50
51
52
Forecast Accuracy
53
Forecast Accuracy
54
MAD & MSE
55
Use for MAD & MSE
by using MAD and MSE
56
Controlling the quality of forecast
57
Choosing a forecasting technique� No single technique works best in every situation
No single technique works best in every situation
58
Choosing a forecasting technique (cont.)
59
Summary
60