Professional Documents
Culture Documents
Unit 3: Time Series Forecasting: Management Science
Unit 3: Time Series Forecasting: Management Science
Management Science
2
Ingredients of Forecasting
In a forecasting problem
You have historical data
You choose a model that fits a pattern onto the data
The model help you forecasts for future values based on these
patterns
5
Weighted Moving Averages
6
Choosing the Parameter Values
The weights w1, w2, and w3 are examples of parameters which customize a
model behavior. How should we choose them?
One method for choosing a parameter is to pick the values that gives the best
predictions on the data so far
Intuition: in hindsight, this would have given the best predictions
(Of course, hindsight is not guaranteed to predict future performance)
Note: we will use MSE interchangeably with sum of square errors (SSE)
7
A Simple Model: 3-Months Weighted Moving Average Forecast
Also, it can give different answers from one try to the next
9
Recursive Forecasting
10
Exponential Smoothing Model
For small values of a, estimates change very slowly. Here, a = 0.01 is too
small, as your prediction is basically the first observation. However, a = 0.01
can be okay for larger data sets.
For large values of a, changes rapidly, and your prediction is basically the
most recent observation
12
Seasonal Effects
14
Additive Seasonal Effects
17
Alternative: Multiplicative Seasonal and Trend
18
Smoothing and Multiplicative Seasonality and Trend Forecasting
Year Qtr Time Period Actual Sales Base Level Trend Seasonal Forecast
2001 1 1 $ 684.20 731.5 0.0 0.935
2 2 $ 584.10 731.5 0.0 0.799
3 3 $ 765.38 731.5 0.0 1.046
4 4 $ 892.28 731.5 0.0 1.220
2002 1 5 $ 885.40 783.8 52.3 1.087 $ 684.20
2 6 $ 677.02 838.9 55.1 0.805 $ 667.56
3 7 $ 1,006.63 910.6 71.7 1.092 $ 935.45
4 8 $ 1,122.06 967.1 56.5 1.173 $ 1,198.12
2003 1 9 $ 1,163.39 1035.0 67.9 1.116 $ 1,112.49
2 10 $ 993.20 1134.6 99.6 0.860 $ 887.98
3 11 $ 1,312.46 1226.3 91.7 1.075 $ 1,348.37
4 12 $ 1,545.31 1317.7 91.4 1.173 $ 1,546.44
2004 1 13 $ 1,596.20 1414.3 96.6 1.126 $ 1,572.40
2 14 $ 1,260.41 1499.9 85.6 0.845 $ 1,299.21
3 15 $ 1,735.16 1592.4 92.5 1.086 $ 1,704.79
4 16 $ 2,029.66 1696.0 103.6 1.191 $ 1,976.25
2005 1 17 $ 2,107.79 1817.2 121.2 1.152 $ 2,025.99
2 18 $ 1,650.30 1942.2 125.0 0.849 $ 1,637.27 Excel formulas:
3 19 $ 2,304.40 2080.3 138.1 1.103 $ 2,245.85 E4:E7 = average(D4:D7)
4 20 $ 2,639.42 2217.6 137.3 1.190 $ 2,643.07
F4:F7 = 0
2006 1 21 $ 2,713.73
2 22 $ 2,114.86 G4 = D4 / E4 Copy to
3 23 $ 2,900.50 G5:G7
4 24 Parameters $ 3,293.93
alpha 0.24
E8 = (1-$J$7)*(E7+F7) +$J$7*(D8/G4) Copy to
beta 1.00 E9:E23
gamma 0.78 F8 = (1-$J$8)*F7+$J$8*(E8-E7) Copy to
F9:F23
Perforamnce Measure
MSE 5157.69 G8 = (1-$J$9)*G4+$J$9*(D8/E8) Copy to
G9:G23
H8 = (E7+F7)*G4 Copy to 19
Which Method Should We Choose?
We skipped over
Slight variations on lecture material
Trend model, without any seasonal effects
Multiplicative seasonal effects, without any trends
21