Beruflich Dokumente
Kultur Dokumente
ecast errors
Components of Demand
Quantity
Quantity Time (b) Linear trend: Data consistently increase or decrease Year 1 Year 2 Quantity 1
Quantity
J F M A M J J A S O N D Months (c) Seasonal influence: Data consistently show peaks and valleys
4 Years
(d) Cyclical movements: Data reveal gradual increases and decreases over extended periods of time
Judgment Methods
Linear Regression
Yi = a + bX i
where: Y = dependent variable X = independent variable a = Y-intercept of the line b = slope of the line
Regression Analysis Example The manager of Als Diner is interested in forecasting the number of potato skin appetizers sold each week. He believes that the number sold has a linear relationship to the price and uses linear regression to determine if this is the case.
X Y Week (Price) (Appetizers) 1. $2.70 760 2. 3.50 510 3. 2.00 980 4. 4.20 250 5. 3.10 320 6. 4.05 480
t Stat
Linear Regression Example A professor is interested in determining whether average study hours per week are a good predictor of test scores. The results of her study are: Hours (X) 3.0 2.1 5.8 3.8 4.2 3.2 5.3 4.6 Score (Y) 90 95 65 80 95 60 85 70
A student says: "Professor, what can I do to get a B on the next test? The professor asks, "On average, how many hours do you spend studying for this course per week?" The student responds, "About 2 hours." Use linear regression to forecast the student's test score.
Time Series Methods Naive forecasts Moving averages Weighted moving averages Exponential smoothing Trend-adjusted exponential smoothing Regression method Multiplicative seasonal method
10
Ft = MAn = i =1
At i n
Month 1 2 3 4
If the actual demand for month 5 is 805 customers, what is the forecast for month 6?
F6 =
11
Customer arrivals
3-month MA forecast
6-month MA forecast
10
15
20
25
Month
12
Ft = wn At n + wn 1 At ( n 1) + ... + w1 At 1
Month 1 2 3 4
Let W1 = 0.50, W2 = 0.30, and W3 = 0.20. Calculate the forecast for month 5.
F5 =
If the actual demand for month 5 is 805 customers, what is the forecast for month 6?
F6 =
13
Exponential Smoothing
Ft = (1 ) Ft 1 + At 1
Month 1 2 3 4
Suppose F3 = 783 customers and = 0.20. What is the forecast for month 5?
F4 =
F5 =
14
Month 1 2 3 4 5
Customer Arrivals 48 52 50 54 55
Using months 1-4, an initial estimate of the trend is 2 [(4-2+4)/3 = 2]. The starting forecast for month 5 is 54+2 = 56. Using = 0.3 and = 0.4 , forecast the number of patients in month 6.
S5 = T5 =
TAF6 =
15
If the actual number of patients in month 6 is 58, what is the forecast for month 7?
S6 = T6 =
TAF7 =
16
Regression Method
Example: Garcia Garage Month (t) Number of time periods from t = 0 1 2 3 4 5 6 7 8 Number of Oil Changes (Y) 41 46 57 52 59 51 60 62
1. Forecast the numbers of oil changes in September, October, and November. 2. What is the average value of the trend?
17
Intercept X Variable 1
18
Step 3:
Step 4:
Step 5:
Step 6:
19
20
et = At Ft
Forecast Errors
Systematic errors --- Bias Random errors --- Variability Example: Actual Demand Forecast 1 105 Forecast 2 50 Day 1 Day 2 100 100 105 150 Day 3 100 105 50 Day 4 100 105 150
21
Average error
Variability:
= t =1 n
et
MSE
s
= t =1 n 1 = MSE et n
[
n
et
MAD
t =1
MAPE
t =1
et (100)] At n
22
Control Chart for Forecast Errors Upper Control Limit: UCL = 0 + z MSE Lower Control Limit: LCL = 0 z MSE
e.g. A 95% control chart has = 1-95% = 5%, which means its probability for type I error is 5%. Thus probability in the table should be 0.975 (Pr = 1-0.025 or Pr = 0.5+ 0.475), which corresponds to z = 1.96.
23
24
Average error (periods 1-18)= Standard deviation (periods 1-9) = 2s control limits: 0 +/- 2(34.8) = 0 +/- 69.6
-0.39 34.8
UCL = 69.6
LCL = -69.6
25
Examples of Nonrandomness
(a) Point outside control limits UCL (b) Trend UCL
LCL
LCL
LCL
26
Cons Results in highly variable forecasts if the random errors are large
Data
must be retained for n periods Forecast lags changes in the underlying average of demand
27
can be varied to be responsive to demand pattern To some extent, controls for random error Exponential smoothing Requires little data can be varied to be responsive to demand pattern To some extent, controls for random error
Weights
Data
must be retained for n periods Forecast lags changes in the underlying average of demand
Forecast
demand
In general, emphasize recent demand (i.e. small n, large weights for recent observations, large ) for dynamic (i.e. uncertain) demand patterns. Emphasize historical experience for stable demand patterns. If a trend is present, simple moving average, weighted moving average, and exponential smoothing estimates will always lag actual demand.
28
Forecasting Notes
Choosing a Time Series Forecasting Method Evaluating forecast performance: Forecast errors can be classified as either bias errors or random errors. Bias errors are the results of systematic over- or underestimation. Random errors are unpredictable. Ideally, a forecast should minimize both bias and random errors. Method Mean forecast errors Mean squared error (MSE) Mean absolute deviation (MAD) Mean absolute percent error (MAPE) Forecast error control chart Purpose Measures bias Measures the dispersion of forecast errors; large errors get more weight than when using MAD Measures the dispersion of forecast errors; method is intuitive
Measures the dispersion of forecast errors relative to the level of demand Determines whether the method of forecasting is accurately predicting actual changes in demand
29