Problem Set 1
Problem Set 1
Problem Set 1
1. FORECASTING COMPARISON
Use the spreadsheet program (template provided on Mellie Pullmans website) to
compare forecasting using MA, WMA, exponential smoothing, and linear regression. A
demand pattern for 10 periods for a certain product is provided below. Forecast the
demand for period 11 using each of the following methods: a 3-month moving average; a
3-month weighted moving average using weights .2, .3., and .5; exponential smoothing
with a smoothing constant or = .3; and linear regression.
Note: Using the 3 month moving average forecast for week 4 as your starting point Ft-1
for exponential smoothing.
a) Compute the MAD value for each technique (using the forecasts for periods 4-10) to
determine which method would be preferable under the circumstances. What model
gives the best MAD?
b) Plot the forecast data for the four methods relative to the actual demand. Explain what
you see there.
Please use Excel Functions such as AVERAGE, INTERCEPT, SLOPE, Chart making
(scatter Plot) with all 4 methods shown on one chart.
2. COMPLEX FORECAST
The goal of this exercise is to forecast demand for week 31. You will find the historic
data for the project on the second worksheet of file Problem Set 1 Template.xls on the
Course website. You will also find some supporting powerpoints to locate the appropriate
functions in Excel 07.
You have 30 weeks of historical data in the form of unit sales for each week.
1) Determine the appropriate Alpha () using exponential smoothing. You should
provide your best Alpha in 1 decimal place. Extra credit for 2-decimal places.
a. Calculate the error using MAD. Use the smoothing approach with phi ()
=.15 to calculate the different error measurements.
2) Please use the first weeks actual demand for your initial forecast (F1).
3) Go through Part 1 through Part 4 of the Excel tools (next pages). This will cover
Simple Exponential Smoothing, Forecasts with Different Alpha Values,
Developing a Forecast Table, and Best Forecast Automatically.
NOTE: If your spreadsheet is not calculating the performance table, check under
Tools/Options/Calculations to see if it is set to automatically calculate.
For part b) on the new worksheet, go through parts 5 through 7 (next pages). This will
cover Exponential Smoothing with Trend Forecasting.
3. SEASONAL DECOMPOSITION
Management of the Pearl Floral Shop feels that its sales are seasonal in nature with a
monthly seasonally pattern and a trend. The demand data for the past three years are
given in the third worksheet of the Problem Set 1 spreadsheet.
1) Calculate the Seasonal Ratio for each of the 3 years, the average seasonal ratio,
and deseasonalize the data (divide the data by its appropriate average seasonal
ratio.
2) Determine the slope and intercept of the deseasonalized data and forecast for the
next year (12 months).
3) Reseasonalize the forecast data (multiply by the appropriate average seasonal
ratio).
A
Alpha
B
0.3
C
#Periods
D
30
Round
E
F
Best
=offset(f2
Values ,$d$1,0)
:
Error
MADt
=round( =d4c4,0)
b4
=abs(e4)
=.15*abs(
e5)+.85*f
4
1696
1632
1596
1565
1565
1653
1461
1603
1768
1817
1749
1678
1773
1774
1705
1690
1814
1757
1802
1666
1855
1662
1675
1886
1688
1622
1759
1944
M
N
O
P
1
Forecasts
2 Period Demand Alpha=. Alpha=.5 Alpha=.
1
9
3 =A3
=B3
.1
4
=D4
2.
3.
4.
5.
.5
.9
S
Alpha Value
T
MAD
=F1
0
.1
.2
.3
.4
.5
.6
.7
.8
.9
1.0
2. Highlight cells S2:T13. Select the Data and Table menu choices. Under
the Column Input Cell, enter either B1 or alpha and click OK (leave
the Row Input Cell blank). In EXCEL 2007: Data > What if
analysis>Data Table)
3. Excel will quickly fill in cells T3:T13 which are the most recent (latest)
MAD values under the different alpha values we specified in cells S3:S13.
4. Thats ityouve just created a performance table. Now just select the
alpha that yields the best performance.
1
2
3
=IF(T3=T$14,S3,"
")
=MIN(U3:U13)
2. Copy the formula in cell U3 into cells U4:U13. You will now see the best
value of alpha (of the initial values) in cell U14.
3. Next, we build a second performance table that narrows the range of
alpha.
17
18
19
20
30
S
Alpha Value
T
MAD
=F1
=MIN(.90,
MAX(U14-.05,
0))
=S19+.01
=IF(T19=T$30,
S19,"")
=MIN(U19:U2
9)
4. Copy the formula in cell S20 into cells S21:S29. Copy the formula in cell
U19 into cells U20:U29.
9. Highlight cells S18:T29. Select the Data and Table menu choices (In
EXCEL 2007: Data > What if analysis>Data Table)
5. . Under the Column Input Cell, enter either B1 or alpha and click OK
(leave the Row Input Cell blank). Cell U30 now has the best value of
alpha to the nearest 0.01.
6. Finally, in cell B1, put the formula "=U30". This takes the best value of
alpha that we found and plugs it back into our model (so that our graphs
are based on the most accurate forecast).
A
B
C
Alpha
0.3
Beta
Period Demand
Average
1
1891
=average(B3:B7)-2*D3
1693
3
Etc
1693
Etc
D
0.3
=alpha*b4+(1alpha)*(c3+d3)
Trend
=(average(B8:B12)average(B3:B7))/5
=beta*(c4-c3)+(1beta)*d3
E
Periods
Forecast
=round(c3+d3,
0)
etc (copy down)
1. The formulas for the average (in cell C4), trend (in cell D4), and
forecast (in cell E4) are just the formulas for the ES/WT model.
2. The initial trend (cell D3) is found by taking the difference of the
average demand in the second five periods (i.e., periods 6-10) and
the average demand for the first five periods (i.e., periods 1-5), and
then dividing the difference by five.
3. The initial average is found by taking the average demand in the
first five periods (i.e., periods 1-5) and then subtracting 2 times the
initial trend. This gives a pretty good estimate of the initial
average.
4. Error and MAD formulas are entered similarly to what we did in
Part 1.
Part 6 assumes that you have completed Part 5. Add the following to
your spreadsheet:
F
1
2
3
4
5
6
7
8
G
=offset(g2,$f$1,0)
MADt
30
Error
=E4-B4
=abs(F4)
=.15*abs(F5)+.85*
G4
Beta
L
=g1
0
.1
.2
.3
.4
.5
.6
.7
.8
.9
1.0
M
Alpha
0
.1
.2
.3
.4
.5
.6
.7
.8
.9
1.0
Note that in cell L2 weve put a reference to the most recent MAD
value (based on the number of periods we've specified), which is cell
G1.
Now highlight the data in cells L2:W13 and then select the Data and
Table menu choices. In EXCEL 2007: Data > What if analysis>Data
Table)
For the Row Input Cell, specify B1 (or Alpha) and for the Column
Input Cell, specify D1 (or beta) then click OK. Voila! Excel fills in
the table for all combinations of alpha and beta.
M
Alpha
0
=g1
0
=MIN(M3:W
3)
=MIN(Y3:Y13)
=IF(X3=X$14,L3
,"")
=MIN(M15:W1
5)
=MIN(M3:M13)
=IF(M14=$X14,M2
,"")
2. Copy:
=g1
20
=MIN(.90,
MAX(Y2-.05,0))
21
=L20+.01
M
Alpha
=MIN(.9,
MAX(L15-.05,0))
=M19+.
01
Y
=MIN(Y20:Y30)
=MIN(
M20:W2
0)
=IF(X20=X$31,
L20,"")
=MIN(M32:W
32)
=MIN(M20:M30)
=IF(M31=$X31,M1
9,"")
4. Copy:
10
respectively. We can place the best values of Alpha and Beta back
into the spreadsheet by putting the formula "=L32" into cell B1
and "=Y19" into cell D1.
11