Ch06 Time-Series Examples
Ch06 Time-Series Examples
1 Tahoe Salt
Period Demand
Year, Qtr t Dt
2011,2 1 8,000
2011,3 2 13,000
2011,4 3 23,000
2012,1 4 34,000
2012,2 5 10,000
2012,3 6 18,000
2012,4 7 23,000
2013,1 8 38,000
2013,2 9 12,000
2013,3 10 13,000
2013,4 11 32,000 Forecast Demand
2014,1 12 41,000
2014,2 13 ?
2014,3 14 ?
2014,4 15 ?
2015,1 16 ?
40,000
38,000
35,000 34,000
32
30,000
25,000
23,000 23,000
20,000
18,000
15,000
13,000 12,000 13,000
10,000 10,000
8,000
5,000
0
2011,2 2011,3 2011,4 2012,1 2012,2 2012,3 2012,4 2013,1 2013,2 2013,3 2013,4
Year, Quarter
Table 7.1 Tahoe Salt
Tahoe Salt
41,000
38,000
32,000
12,000 13,000
where:
D = Demand
p = periodicity
t = period
40,000
Demand
35,000
30,000
25,000
20,000
15,000
10,000
5,000
0
0 1 2 3 4 5 6 7 8 9 10
Period, t
15,000
Figure7.2
10,000
5,000
0
0 1 2 3 4 5 6 7 8 9 10
Period, t
Figure7.2
7 8 9 10 11 12 13
Figure7.2
7 8 9 10 11 12 13
Regression 7.2
Regression Statistics
Multiple R 0.958065237
R Square 0.917888998
Adjusted R Sq 0.90420383
Standard Error 414.5033124
Observations 8
ANOVA
df SS MS F Significance F
Regression 1 11523809.524 11523810 67.07182 0.0001786086
Residual 6 1030877.9762 171813
Total 7 12554687.5
Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
Intercept 18,439 440.80870788 41.829909 1.249E-08 17360.367255 19517.609 17360.3673 19517.60894
X Variable 1 524 63.959249681 8.1897384 0.000179 367.30676332 680.31228 367.306763 680.3122843
Initial Level, L
Trend, T
Figure7.4
Deseasonalized Seasonal
Period Demand Demand D t Factor Estimate S i
t Dt (Eqn 7.4) (Eqn 7.5) S (Eqn 7.6)
t Forecast
1 8,000 18,963 0.42 0.47 8,944
2 13,000 19,487 0.67 0.68 13,317
3 23,000 20,011 1.15 1.17 23,426
4 34,000 20,535 1.66 1.66 34,177
5 10,000 21,059 0.47 9,933
6 18,000 21,583 0.83 14,749
7 23,000 22,107 1.04 25,879
8 38,000 22,631 1.68 37,665
9 12,000 23,155 0.52 10,921
10 13,000 23,679 0.55 16,182
11 32,000 24,203 1.32 28,333
12 41,000 24,727 1.66 41,153
13 11,910
Ft + 1
14 17,614
Ft + 1
15 30,787
Ft + 1
16 44,642
Ft + 1
Forecasted Data
Forecasted
Period Demand
Year, Qtr t Ft+1
12,2 13 11,910
12,3 14 17,614
12,4 15 30,787
13,1 16 44,642
Ex.7-1
alpha 0.1
Ex.7-3
alpha 0.1
Beta 0.2
摘要輸出
迴歸統計
R 的倍數 0.955665
R 平方 0.913295
調整的 R 平方
0.891619
標準誤 433.9514
觀察值個數 6
ANOVA
自由度 SS MS F 顯著值
迴歸 1 7934336 7934336 42.13358 0.002905
殘差 4 753255.3 188313.8
總和 5 8687591
alpha 0.1 L
Beta 0.2 T
Gamma 0.1 S
50,000
45,000
40,000
35,000
30,000
Demand
25,000 Forecast
20,000
15,000
Figure7.5 Moving Average
45,000
40,000
35,000
30,000 Deman
25,000 Dt
Forecas
20,000 Ft
45,000
40,000
Figure7.5 Moving Average
35,000
30,000 Deman
25,000 Dt
Forecas
20,000 Ft
15,000
10,000
5,000
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Figure7.5 Moving Average
Demand
Dt
Forecast
Ft
Figure7.5 Moving Average
Demand
Dt
Forecast
Ft
6 17
Figure7.6 Smoothing
alpha 0.1
45,000
40,000
35,000
30,000
25,000 De
20,000
Fo
15,000
40,000
35,000 Figure7.6 Smoothing
30,000
25,000 De
20,000
Fo
15,000
10,000
5,000
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Figure7.6 Smoothing
Demand
Forecast
Figure7.6 Smoothing
Demand
Forecast
15 16
Figure7.7 Holt's
alpha 0.1
Beta 0.2
45,000
40,000
35,000
30,000
25,000
20,000
40,000
35,000
Figure7.7 Holt's
30,000
25,000
20,000
15,000
10,000
5,000
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Regression 7.7
Regression Statistics
Multiple R 0.4813272
R Square 0.23167587
Adjusted R 0.15484346
Standard E 10666.8834
Observatio 12
ANOVA
df SS MS F Significance F
Regression 1 343092657.343 343092657.3 3.01534 0.113127
Residual 10 1137824009.32 113782400.9
Total 11 1480916666.67
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%Lower 95.0%
Upper 95.0%
Intercept 12,015 6565.01289356 1.830179424 0.097147 -2612.611 26642.91 -2612.611 26642.91
X Variable 1,549 892.009599389 1.73647352 0.113127 -438.5705 3536.473 -438.5705 3536.473
b, estimate of demand
and level at t=0
a, estimate of trend at
t=0
Figure7.8 Winter
alpha 0.1 L
Beta 0.2 T
Gamma 0.1 S
50,000
45,000 45,167
40,000
35,000
30,000 31,490
Demand
25,000 Forecast
20,000
17,427
15,000
12,010
Figure7.8 Winter
Bias TSt
944.5 1.00
1,097.8 2.00
1,165.1 3.00
747.0 1.89
409.9 1.07
(3,079.8) (3.42)
97.2 0.08
(177.9) (0.16)
(1,337.3) (1.20)
2,083.0 1.55
(1,768.9) (1.13)
(1,206.2) (0.81)
45,167
31,490
Demand
Forecast
,427
0
deseasonalized
45,000
40,000
35,000
30,000
25,000
20,000
15,000
10,000
5,000
0
1 2 3 4 5 6 7 8 9
Regression
Regression Statistics
Multiple R 0.9580652
R Square 0.917889
Adjusted R Squar 0.9042038
Standard Error 414.50331
Observations 8
ANOVA
df SS MS F Significance F
Regression 1 11523809.5 11523809.5 67.07182 0.000179
Residual 6 1030877.98 171812.996
Total 7 12554687.5
initial estimate of
level
initial estimate of
trend
Forecast Errors for Tahoe Salt Forecasting
TS Range
Forecasting Method MAD MAPE(%) Min Max
Four-period moving average 9,719 49 -1.52 2.21
Simple exponential smoothing 10,208 59 -1.38 2.25
Holt's model 8,836 52 -2.15 2.00
Winter's model 1,488 8 #REF! #REF!