13
RESEARCH & DATA ANALYSIS: EXPOTENTIAL SMOOTHING TO PREDICT FUTURE VALUES

2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

Embed Size (px)

Citation preview

Page 1: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

RESEARCH & DATA ANALYSIS:

EXPOTENTIAL SMOOTHING TO PREDICT FUTURE VALUES

Page 2: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

2

For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please

Statistical Software

Page 3: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

3

Before defining what Exponential Smoothing is, here is an example of a case that needs this wonderful tool:

Why would I need something like Exponential Smoothing?

Page 4: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

4

Exponential Smoothing MotivationSuppose you are investigating Alaska Airlines flight delays at Ted Stevens International in Anchorage, Alaska. Ted Stevens is a vital connection between Asia and the United States, and is has the third largest cargo traffic in the United States. Thus there is good reason why you are concerned with on time arrivals as cargo is often time dependent.

Your goal is to predict the flight delays for the next three years. There are many ways to do this, and we have discussed one already: Using a regression line.

However, sometimes data is not linear, and the data may actual depend on past data! Would this be a case of that?....Think it over as we learn Exponential Smoothing.

Page 5: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

5

Examining the DataTake a look at the data in the spreadsheet titledExponential Smoothing.

This data looks to be quite chaotic, but let’s tryExponential smoothing to attempt to predict thenext few values.

Page 6: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

6

Exponential Smoothing (1)The idea behind Exponential Smoothing is to usepast values to predict the future values, withmore emphasis on the most recent values.

We weight past values, add them together, andestimate the next value. All the weights must addup to 1 or 100%

Page 7: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

7

Exponential Smoothing (2)For example, using the data in our spreadsheet, let’stry to predict the number of delays in August 2013by using 70% of the previous month’s delays andadding that to 30% of the delays from two monthsago. Thus we would have:

0.3(Di-1) +0.7(i-2)=Di where Di is the number of delays

of the ith month.See the results on the Smoothing All Data Tab.

Page 8: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

8

Exponential Smoothing (3)Reviewing our results, we see that our delays lookto approach 140, and if we keep going, this is thenumber of delays we will predict throughout. Alsonote that in this model we start with the first twomonths data, and then use solely our predictionsfrom there on out. This is what is taught in mostcourses, but obviously does not serve us well in thiscase!

Page 9: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

9

Exponential Smoothing (3)Reviewing our results, we see that our delays lookto approach 140, and if we keep going, this is thenumber of delays we will predict throughout. Alsonote that in this model we start with the first twomonths data, and then use solely our predictionsfrom there on out. This is what is taught in mostcourses, and has great benefits, but obviously doesnot serve us well in this case!

Page 10: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

10

Exponential Smoothing (4)Let’s try with just the final six months in our dataset. See the sheet Smoothing with Six Months.

This seems to work better, but I am still notsatisfied. Perhaps we should reexamine the originaldata.

Page 11: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

11

Reexamining the DataNote that this is Alaska, and we should probably

take into account the time of year. Look back over the winter delays versus the summer delays; there seem to be more of a pattern here.

You can use any smoothing technique you see fit and any model as long as you justify it. I encourage you to explore other options when smoothing your data, and do not hesitate to contact me if you have questions.

Page 12: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

12

Directions for Smoothing1. Determine what your alpha will be2. Put your alpha (between 0 and 1) in the cell G2.3. Paste your data column A starting with A1.4. Drag the cell B3 all the way down your data

going one or two past your data value (these are your predicted values-see video).

Page 13: 2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical

13

Final Thoughts• Remember to use common sense and examine

the data• If you use more than two previous values, be

sure all the weights add up to 1.• If you need help, ask!