04.06.2015 Views

Database Modeling and Design

Database Modeling and Design

Database Modeling and Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

180 CHAPTER 8 Business Intelligence<br />

Figure 8.17<br />

Least squares line (courtesy of Ubiquiti, Inc.)<br />

tial smoothing, based on the same data set used to compute Figure 8.17.<br />

Notice the prediction is now more tightly bound to recent history.<br />

Triple exponential smoothing models three components: level,<br />

trend, <strong>and</strong> seasonality. This is more sophisticated than double exponential<br />

smoothing, <strong>and</strong> gives better predictions when the data does indeed<br />

exhibit seasonal behavior. Figure 8.19 shows the predictions made by triple<br />

exponential smoothing, based on the same data used to compute<br />

Figures 8.17 <strong>and</strong> 8.18. Notice the prediction intervals are tighter than in<br />

Figures 8.17 <strong>and</strong> 8.18. This is a sign that the data varies seasonally; triple<br />

exponential smoothing is a good model for the given type of data.<br />

Exactly how reliable are these predictions? If we revisit the predictions<br />

after time has passed <strong>and</strong> compare the predictions with the actual<br />

values, are they accurate? Figure 8.20 shows the actual data overlaid<br />

with the predictions made in Figure 8.19. Most of the actual data points<br />

do indeed lie within the prediction intervals. The prediction intervals<br />

look very reasonable. Why don’t we use these forecast models to make<br />

our millions on Wall Street? Take a look at Figure 8.21, a cautionary tale.<br />

Figure 8.21 is also based on the triple exponential smoothing model,<br />

using four years of known data for training, compared with five years of<br />

data used in constructing the model for Figure 8.20. The resulting pre-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!