Lind 18e Chap018 PPT
Lind 18e Chap018 PPT
Analysis
Chapter 18
18-1 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Learning Objectives
LO18-1 Identify and describe time series patterns.
LO18-2 Compute forecasting using simple moving averages.
LO18-3 Compute and interpret the Mean Absolute Deviation.
LO18-4 Compute forecasts using exponential smoothing.
LO18-5 Compute a forecasting model using regression
analysis.
LO18-6 Apply the Durban-Watson statistic to test for
autocorrelation.
LO18-7 Compute seasonal indexes and use the indexes to
make seasonally adjusted forecasts.
18-2 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Components of a Time Series
A time series is a collection of data over a period of time
The trend is the long-run direction of the time series
TREND PATTERN The change of a variable over time.
18-3 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Components of a Time Series Continued
18-4 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Secular Trend Examples
A graph of the secular trend of the number of Home Depot
associates shows how the number has increased over time
18-5 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonality Example
Almost all businesses tend to have recurring seasonal
patterns
Men’s and women’s apparel have high sales right before
Christmas and low sales in January
Sporting good stores will have seasonal fluctuations
18-6 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Cyclical Variation Example
A typical business cycle consists of a period of prosperity
followed by periods of recession, depression, and then
recovery
In periods of recession, employment, production, the
DJIA, and other business and economic series are below
the long-term trend lines
In times of prosperity, they are above the long-term trend
lines
18-7 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Moving Averages
A moving average is used to smooth the trend in a time
series
It is the basic method used in measuring seasonal
fluctuation
To apply a moving average, the data needs to follow a
fairly linear trend and have a rhythmic pattern of
fluctuations
This is accomplished by “moving” the mean values
through the time series
18-8 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Moving Average Example
Shown is a time series of the monthly market price for a
barrel of oil over 18 months. Use a three-period and a six-
period simple moving average to forecast the oil price for
May 2019.
18-9 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
3- and 6- Period Moving Average Example
Using a three-period simple moving average, the forecast for
May 2019 would be the average of the prices from the most
recent 3 months: February, March, and April of 2019. The
forecast is computed as follows:
18-10 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Forecasting Error
Any estimate or forecast is likely to be imprecise.The
error, or lack of precision, is the difference between the
actual observation and the forecast.
18-11 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
3-Period Moving Average Including Error
We report that the forecast for May 2019 is $64.50 with a MAD of $5.49.
Using a three-period simple moving average, we can expect the forecasted
May 2019 oil price to be between $59.01 (found by $64.50 − $5.49) and
$69.99 (found by $64.50 + $5.49).
18-12 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
6-Period Moving Average Including Error
Using a 6-month moving average model, the MAD or the average variability
of forecast error is $7.01. Recalling that the 6-month moving average
forecast for May 2019 is $61.06, we can expect the forecasted May 2019 oil
price to be between $54.05 (found by $61.06 − $7.01) and $68.07 (found
by $61.06 + $7.01).
18-13 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Simple Moving Average Comparison
An outcome of using more periods in a simple moving average
is its effect on the variation of the forecasts.
The variation in the forecasts is related to the number of
observations in a simple moving average. More periods will
reduce the variation in the forecasts.
18-14 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Simple Exponential Smoothing
t = time period
t+1 = next time period
Alpha (α) = smoothing constant
SMOOTHING CONSTANT A value applied in exponential smoothing
to determine the weights assigned to past observations.
18-15 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Simple Exponential Smoothing Example
Using simple exponential smoothing with a smoothing
constant of 0.1, the exponential smoothing equation would be:
Forecastt+1 = Forecastt + 0.1(error)t
The forecast for January 2018 is:
ForecastJanuary = ForecastDecember + 0.1(error)December
ForecastJanuary = $59.93 + 0.1($1.26) = $60.0560
Forecast ErrorJanuary = $66.23 − $60.06 = $6.1740
18-16 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Simple Exponential Smoothing Example
Continued
The smoothing formula is applied through the time series
data until the last possible forecast for May 2019 is made.
MAD is then computed:
18-17 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Simple Exponential Smoothing Example
Concluded
The forecast with the high alpha value, the green line graph, is
very responsive to the most recent oil price.
The forecast with the low alpha value, the red line graph, is
much smoother and follows the average of oil prices over
time.
18-18 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Time Series with a Trend: Regression
Analysis
If the trend is linear,
regression analysis is used
to fit a linear trend model
to the time series.
This time series is two
years of monthly demand
data. Each observation is
labeled with the month.
18-19 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Regression Analysis Example
18-20 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Regression Analysis Example Continued
The data must be presented in terms of a dependent variable and an
independent variable.
The line is represented by the following equation:
18-21 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Regression Analysis Example Concluded
We now need an estimate of the forecast error.
The absolute value of error for the first time period is:
Absolute Value of Forecast error = |40 − 37.4633| = 2.5367
18-22 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
The Durbin-Watson Statistic
One of the assumptions traditionally used in regression is that
the residuals are independent, that is, they’re not correlated
But in time series data, successive residuals are not
independent because an event in one time period often
influences the event in the next time period
This condition is called autocorrelation
AUTOCORRELATION Successive residuals are correlated.
Example
The owner of a furniture store decides to have a sale this
month and spends a lot of money advertising the event. We
expect a correlation between the two events this month. But
it is likely that some of the effects of advertising carries over
to the next month
18-23 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
The Durbin-Watson Statistic Continued
Autocorrelation, r, is the strength of
the correlation
But instead of hypothesis
testing r, we use d
The Durbin-Watson statistic is
used to test for autocorrelation
18-24 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
The Durbin-Watson Statistic Hypothesis
Test
Step 1: The null and alternate hypotheses are
H0: No residual correlation (
H1: Positive residual correlation ( > 0)
Step 2: Select the level of significance
Step 3: Select the test statistic; we use d
Find d in Appendix B.9, you’ll need , n, and k
Step 4: The decision rule is altered from what we are used to
because this time, there is also a range of values where the
data is inconclusive
Step 5: Calculate the test statistic
Step 6: If the null hypothesis is rejected, we conclude that
autocorrelation is present
18-25 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Durbin-Watson Statistic Example
Shown are monthly total sales (in
millions of dollars) for the retail and
food service industry sourced from the
U.S. Census data.
18-26 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Durbin-Watson Statistic Example (2 of 5)
Residuals are then calculated
18-27 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Durbin-Watson Statistic Example (3 of 5)
We’ll use an Excel spreadsheet to investigate autocorrelation.
18-28 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Durbin-Watson Statistic Example (4 of 5)
We’ll use these results in the hypothesis test on the next slide.
18-30 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonal Factor
The seasonal factor is estimated using the ratio-to-moving-
average method
Seasonal factors are computed on a monthly or a quarterly
basis
Example
Line graph shows a sample of
monthly bookings (room nights)
from hotels, motels, and guest
houses in Victoria, Australia
Shows an increasing, positive
trend in bookings over the 36
months
Shows seasonality
18-31 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonal Factor Continued
To quantify a seasonal pattern in a time series, we apply
the concept of an index.
An index is a quantitative way to compare values.
For each time period in the time series, we will compare
the observed value to the value or base predicted by the
regression equation.
For the periods with the highest recurring values, the
seasonal index will be greater than 1.0.
For periods with the lowest recurring values, the seasonal
index will be less than 1.0.
18-32 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonal Index Example
The line graph shows a sample of monthly bookings (room nights) from hotels,
motels, and guest houses in Victoria, Australia.The data spans 3 years, or 36 months.
Forecast monthly accommodation bookings for the next 12 months.
18-33 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonal Index Example (2 of 5)
Step 1: Determine the regression line
Step 2: Calculate the base value for each
time period using the regression line.
Step 3: Calculate the index for each time
period by taking the y-value divided by the
base value.
Step 4: Average the indexes by month to
get a monthly index.
18-34 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonal Index Example (3 of 5)
Step 5: Calculate an estimate of the forecasting error by computing the MAD
Period 1 (June) Bookings = [391.098 + 2.628 (Time Period)] (Month Index for June)
Total Monthly Bookings (Period 1) = 391.098 + 2.628 (1) (0.88) = 347.920
Period 5 (October) Bookings = [391.098 = 2.628 (Time Period)] (Month Index for October
Totally Monthly Bookings (Period 5) = 391.098 + 2.628 (5) (1.12) = 451.816
Σ|𝐸𝑟𝑟𝑜𝑟| 374.548
𝑀𝐴𝐷 = 𝑛
= 36
= 10.404
Step 6: Make forecasts of total monthly bookings for the next 12 months.
18-35 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonal Index Example (4 of 5)
Step 7: Seasonally adjust the predictions by multiplying by the appropriate
monthly index.
18-36 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Seasonal Index Example (5 of 5)
18-37 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Chapter 18 Practice Problems
18-39 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Question 11 LO18-4
18-40 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Question 13 LO18-5
Using the same time series data and trend forecast model
as in exercise 13, respond to the following items.
18-42 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Question 19 LO18-7