Beruflich Dokumente
Kultur Dokumente
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
Chapter 20
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.2
Time Series Analysis…
A variable measured over time (in sequential order) is called
a time series. From this data, we analyze it to detect patterns
that will enable us to forecast future values of the variable.
variable of interest
w Seasonal variation
x Random variation
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.4
Time Series Components…
A time series can consist of four different components:
u Long-term trend
v Cyclical variation
variable of interest
w Seasonal variation
x Random variation
variable of interest
w Seasonal variation
x Random variation
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.6
Time Series Components…
A time series can consist of four different components:
u Long-term trend
v Cyclical variation
variable of interest
w Seasonal variation
x Random variation
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.8
Moving Averages…
A moving average for a time period is the arithmetic mean
of the values in that time period and those close to it. This is
what we hear something like “three year moving average”.
time
1 2 3 4 5 …
Example 20.1: period
sales
[Xm20-01] 39 37 61 58 18 …
(,000s)
and so on…
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.9
Example 20.1… COMPUTE
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.10
Moving Average… INTERPRET
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.11
Centered Moving Average…
We’ve considered moving averages for odd numbers of time
periods:
3-period:
5-period:
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.12
Centered Moving Average…
With an even number of observations included in the
moving average, the average is placed between the two
periods in the middle.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.13
Centered Moving Average…
Consider this 6-period time series:
15, 27, 20, 14, 25, 11
Can we calculate its four-period moving average?
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.14
Exponential Smoothing…
There are two drawbacks with the moving average method
of smoothing:
No moving averages for the first and last sets of
time periods.
The moving average “forgets” most of the previous
time-series values (i.e. only looks at those around it).
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.15
Exponentially Smoothed Time Series…
An exponentially smoothed time series is one that’s given by
where:
St = Exponentially smoothed time series at time t
yt = Time series at time period t (our original data)
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.16
Example 20.2… COMPUTE
St = wyt + (1 – w)St-1
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.17
Example 20.2… COMPUTE
1–w
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.18
Example 20.2… INTERPRET
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.19
Trend and Seasonal Effects…
A trend can be linear or nonlinear (or, in fact, take any
number of functional forms).
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.20
Seasonal Analysis…
Seasonal variation may occur within a year or within shorter
intervals, such as a month, week, or day.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.21
Computing Seasonal Indexes…
We can use this procedure to compute seasonal indexes:
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.22
Example 20.3… Compute
2010
0.568
0.575
4
1
4
5
0.660
0.666
Compute the sample regression line:
0.738 2 6 0.671
0.868 3 7 0.676
0.605 4 8 0.681 Regression
2011 0.594 1 9 0.687 Analysis…
0.738 2 10 0.692
0.729 3 11 0.697
2012
0.600
0.622
4
1
12
13
0.702
0.708
Add a new spreadsheet column…
0.708 2 14 0.713
0.806 3 15 0.718
0.632 4 16 0.723
2013 0.665 1 17 0.729
0.835 2 18 0.734
0.873 3 19 0.739
0.670 4 20 0.744
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.23
Example 20.3… Compute
2009
2010
2011
2012
2013
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.25
Example 20.3… Compute
2009
2010
2011
2012
2013
Average of
all seasons
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.26
Example 20.3… COMPUTE
[ yt ] [season code]
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.27
Example 20.3 INTERPRET
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.29
Deseasonalizing a Time Series…
One application of seasonal indexes is to remove the
seasonal variation in a time series, by deseasonalizing. The
result is called a seasonally adjusted time series. This allows
us to more easily compare the time series across seasons…
2009
2009
2009
200
2010
2010
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.30
Effects of “Deseasonalization”…
Here we’re comparing the original occupancy rate time
series data with the seasonally adjusted time series data:
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.31
Interpretation…
Compared to a horizontal line, we can see that occupancy
rates are rising over time…
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.32
Introduction to Forecasting…
There are many different forecasting models available to us.
One way to choose with method or model to use is to select
the technique with the greatest forecast accuracy. Two
measures of this quantity are:
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.33
Which to use? SSE? MAD?
MAD averages the absolute differences
between the actual and forecast values.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.35
Example 20.4…
We have developed three forecasting models; which model
performed best?
2010
2011
2012
2013
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.36
Example 20.4… INTERPRET
2010
2011
2012
2013
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.37
Example 20.4… INTERPRET
2010
2011
2012
2013
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.38
Forecasting Models…
The choice of a forecasting technique depends on the
components identified in the time series. Three techniques
will be discussed…
Exponential smoothing,
Seasonal indexes, and
Autoregressive models.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.39
Forecasting with Exponential Smoothing…
IF the time series
— displays a gradual or no trend, and
— no evidence of seasonal variation,
THEN exponential smoothing can be effective as a
forecasting method.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.41
Forecasting with Seasonal Indexes…
IF the time series
— is composed of seasonal variation, and
— has a long-term trend,
THEN we can use seasonal indexes and the regression
equation to forecast.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.42
Example 20.5…
Forecast hotel occupancy rates for the next year in Example
20.3…
We know…
the regression line:
and
the Seasonal Indexes:
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.43
Example 20.5…
Ft = [b0 + b1t] x SIt
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.44
Autoregressive Model…
IF the time series
— has no obvious trend or seasonality, but
— we believe that there is a correlation between
consecutive residuals
THEN the autoregressive model may be most effective.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.45
Example 20.6
The consumer price index (CPI) is a general measure of
inflation and is widely used. Consider the annual percent
increases in CPI collected over 33 year years and forecast
next year’s change in the CPI.
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.46
Example 20.6
Year CPI % Change Year CPI % Change
1980 82.4 1997 160.5 2.3%
1981 90.9 10.4% 1998 163.0 1.5%
1982 96.5 6.2% 1999 166.6 2.2%
1983 99.6 3.2% 2000 172.2 3.4%
1984 103.9 4.4% 2001 177.0 2.8%
1985 107.6 3.5% 2002 179.9 1.6%
1986 109.7 1.9% 2003 184.0 2.3%
1987 113.6 3.6% 2004 188.9 2.7%
1988 118.3 4.1% 2005 195.3 3.4%
1989 123.9 4.8% 2006 201.6 3.2%
1990 130.7 5.4% 2007 207.3 2.9%
1991 136.2 4.2% 2008 215.3 3.8%
1992 140.3 3.0% 2009 214.6 -0.3%
1993 144.5 3.0% 2010 218.1 1.6%
1994 148.2 2.6% 2011 224.9 3.1%
1995 152.4 2.8% 2012 229.6 2.1%
1996 156.9 2.9%
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.47
Example 20.6 COMPUTE
Remember, we’re trying to correlate the CPI in time period t with the
previous time period, t–1, hence we modify the dataset from the list
set-up in the first Excel snippet to the set-up in the second (which is
how the dataset Xm20-06 is structured).
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.48
Example 20.6… COMPUTE
ŷ t .0175 .3910 y t 1
Because the last CPI change is 2.1%, our forecast for 2013 is
© 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a
license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20.49