Forecasting and Business Analysis

profileWriter Pro
copy_of_exp_smoothing.xls

Introduction

Forecasting and Business Analysis
Copyright UPmarket Software Services. This file must not be used without permission.
Follow the Example Go to the sheet ''Your Try'' and use the Tools - Data Analysis menu to exponentially smooth the data in the "actual" column, using a smoothing constant of .5. The input dialog box on the left shows the inputs needed. You should forecast a value for the first month in 1996. Remember that the Excel exponential smoothing function applies the dampening to the forecast value not the actual value. This means that the dampening factor is equal to 1 minus alpha. For example if you want an alpha value of .3 then you need a dampening factor of 1-.3 = .7. You will find a solution and a fully worked example on other worksheet tabs.
The Excel Exponential Smoothing Function You can automatically exponentially smooth data in Excel using the Exponential Smoothing function from the Data Analysis menu. First check that the Analysis ToolPak is turned on. Click on the Tools menu. The bottom item should be Data Analysis. If it isn't then you will need to turn the ToolPak on. Go to the Tools Menu, click on Add-Ins then check the box next to Analysis ToolPak. After a short period you should now be able to access Data Analysis under the Tools menu. When you click on Data Analysis you will see a long list of statistical methods that you can access. Go down the list and click Exponential Smoothing. A screen will appear a little like that below. (It may vary depending upon the version of Excel you are using). The screen below shows the input for smoothing with a damping factor of .5. This is similar to the alpha figure referred to in your text. In fact this is 1minus the alpha refered o in the text. You need to enter the cell range for the input data and also the destination of the output. If you include a label in the first row of your data, you should check the Labels in First Row box. When it is all entered - click OK and the smoothed data is calculated.

Your Try

Period Actual
1994M1 94.300
1994M2 93.200
1994M3 91.500
1994M4 92.600
1994M5 92.800
1994M6 91.200
1994M7 89.000
1994M8 91.700
1994M9 91.500
1994M10 92.700
1994M11 91.600
1994M12 95.100
1995M1 97.600
1995M2 95.100
1995M3 90.300
1995M4 92.500
1995M5 89.800
1995M6 92.700
1995M7 94.400
1995M8 96.200
1995M9 88.900
1995M10 90.200
1995M11 88.200
1995M12 91.000
1996M1
Created by Peter Rossini © 2000 UPmarket Software Services
Peter Rossini: Forecast this value

Exponential Smoothing Solution

Period Actual Forecast Error Pct Error Sq Error
1994M1 94.300 94.300 0.000 0.000% 0.000
1994M2 93.200 94.300 -1.100 1.180% 1.210
1994M3 91.500 93.970 -2.470 2.699% 6.101
1994M4 92.600 93.229 -0.629 0.679% 0.396
1994M5 92.800 93.040 -0.240 0.259% 0.058
1994M6 91.200 92.968 -1.768 1.939% 3.127
1994M7 89.000 92.438 -3.438 3.863% 11.818
1994M8 91.700 91.406 0.294 0.320% 0.086
1994M9 91.500 91.494 0.006 0.006% 0.000
1994M10 92.700 91.496 1.204 1.299% 1.449
1994M11 91.600 91.857 -0.257 0.281% 0.066
1994M12 95.100 91.780 3.320 3.491% 11.022
1995M1 97.600 92.776 4.824 4.943% 23.270
1995M2 95.100 94.223 0.877 0.922% 0.769
1995M3 90.300 94.486 -4.186 4.636% 17.525
1995M4 92.500 93.230 -0.730 0.790% 0.533
1995M5 89.800 93.011 -3.211 3.576% 10.312
1995M6 92.700 92.048 0.652 0.703% 0.425
1995M7 94.400 92.244 2.156 2.284% 4.650
1995M8 96.200 92.890 3.310 3.440% 10.953
1995M9 88.900 93.883 -4.983 5.606% 24.834
1995M10 90.200 92.388 -2.188 2.426% 4.789
1995M11 88.200 91.732 -3.532 4.004% 12.474
1995M12 91.000 90.672 0.328 0.360% 0.107
1996M1 MISSING 90.771
Smoothing Constant 0.3 (alpha)
RMS Error 2.519
Created by Peter Rossini © 2000 UPmarket Software Services

Exponential Smoothing Solution

Actual
Forecast
Year and Month
Index
Simple Exponential Smoothing Forecast of the Index of Consumer Sentiment

Fully Worked Example

Example of Exponential Smoothing Calculations - 5 Periods with Calculations
Period Actual Calculation Forecast
1994M1 94.300 Last Forecast or Actual Value 94.300
1994M2 93.200 (0.6)(94.3) + ( 1 - 0.6)(94.3) 94.300
1994M3 91.500 (0.6)(93.2) + ( 0.4)(94.3) 93.640
1994M4 92.600 (0.6)(91.5) + ( 0.4)(93.64) 92.356
1994M5 92.800 (0.6)(92.6) + ( 0.4)(92.356) 92.502
Alpha 0.6 Change this value
Example of Exponential Smoothing Calculations - all periods
Period Actual Forecast Error Pct Error Sq Error
1994M1 94.300 94.300
1994M2 93.200 94.300 -1.100 1.180% 1.210
1994M3 91.500 93.640 -2.140 2.339% 4.580
1994M4 92.600 92.356 0.244 0.263% 0.060
1994M5 92.800 92.502 0.298 0.321% 0.089
1994M6 91.200 92.681 -1.481 1.624% 2.193
1994M7 89.000 91.792 -2.792 3.138% 7.797
1994M8 91.700 90.117 1.583 1.726% 2.506
1994M9 91.500 91.067 0.433 0.473% 0.188
1994M10 92.700 91.327 1.373 1.481% 1.886
1994M11 91.600 92.151 -0.551 0.601% 0.303
1994M12 95.100 91.820 3.280 3.449% 10.757
1995M1 97.600 93.788 3.812 3.906% 14.531
1995M2 95.100 96.075 -0.975 1.025% 0.951
1995M3 90.300 95.490 -5.190 5.748% 26.937
1995M4 92.500 92.376 0.124 0.134% 0.015
1995M5 89.800 92.450 -2.650 2.951% 7.025
1995M6 92.700 90.860 1.840 1.985% 3.385
1995M7 94.400 91.964 2.436 2.580% 5.934
1995M8 96.200 93.426 2.774 2.884% 7.697
1995M9 88.900 95.090 -6.190 6.963% 38.319
1995M10 90.200 91.376 -1.176 1.304% 1.383
1995M11 88.200 90.670 -2.470 2.801% 6.103
1995M12 91.000 89.188 1.812 1.991% 3.283
1996M1 MISSING 90.275
Smoothing Constant 0.6 (alpha) RMS Error 2.575
Created by Peter Rossini © 2000 UPmarket Software Services
Finding the Optimal Value of Alpha using SOLVER SORITEC and similar forecasting software will automatically find the optimal value for Alpha by finding the value which minimises the RMS Error. This can also be done using solver in Excel. The Solver function enables the user to maximise or minimise a value (or function) by changing other cells until the optimal solution is found. This is the process used in optimising methods such as linear, non-linear, integer or dynamic programming. For this example it is quite simple. Minimise the value of the RMS Error by changing the value of Alpha. To do this click Tools, then Solver. The dialog box to your left should appear. In this case we input to minimuse the value in cell F28 which is the RMS Error by changing the value of Alpha (or cell D27). Click solve and you will find the same solution that you would get through using SORITEC. NOTE: IN this spreadsheet the value for Alpha has been named rather than using a cell reference. To find out how to use names I suggest you consult the Excel help system.
Change the value of alpha and see what happens. Try to find the value for alpha that minimises the RMS error. Then go to the next sheet to find out how to do this easily

Fully Worked Example

Actual
Forecast
Peter Rossini: Change this value to see the effect on the calculations, the forecast and the errors