Chapter 5 (Time Series Analysis - Forecasting)
Chapter 5 (Time Series Analysis - Forecasting)
Seasonal Pattern
Pattern
Cyclical Pattern
Identifying Time
Series Pattern
Time Series Patterns
6
Horizontal Pattern
Exists when the data fluctuate randomly around a
Trend Pattern
A trend pattern is gradual shifts or movements
such as:
Population increases or decreases
Shifting demographic characteristics of the
population
Improving technology
Changes in the competitive landscape
Changes in consumer preferences
Example
Consider the time series of bicycle sales
for a particular manufacturer over the
past ten years, as shown in Table 5.3 and
Figure 5.3
Table 5.3: Bicycle Sales Time Series
16
Figure 5.3: Bicycle Sales Time
Series Plot
17
Example
Data in Table 5.4 and the corresponding time
series plot in Figure 5.4 show the sales revenue
for a cholesterol drug since the company won
FDA approval for the drug ten years ago. The
time series increases in a nonlinear fashion; that
is, the rate of change of revenue does not
increase by a constant amount from one year to
the next. In fact, the revenue appears to be
growing in an exponential fashion
Table 5.4: Cholesterol Drug
Revenue Time Series
19 Figure 5.4: Cholesterol Drug
Revenue Times Series Plot ($
millions)
Time Series Patterns
20
Seasonal Pattern
Seasonal patterns are recurring patterns over
successive periods of time
Seasonal patterns are short-term cyclic fluctuations
Example: A manufacturer of swimming pools expects low
sales activity in the fall and winter months, with peak
sales in the spring and summer months to occur every
year
Time series plot not only exhibits a seasonal pattern
over a one-year period but also for less than one year
in duration
Example: daily traffic volume shows within-the-day
“seasonal” behavior
Example
Consider the number of umbrellas sold
at a clothing store over the past five
years. Table 5.5 shows the time series
and Figure 5.5 shows the corresponding
time series plot
Time Series Patterns
Figure 5.5:
Table 5.5: Umbrella Sales
Umbrella Sales Time
Time Series
Series Plot
Example
The data in Table 5.6 and the
corresponding time series plot in Figure
5.6 show quarterly smartphone sales for
a particular manufacturer over the past
four years.
Time Series Patterns
24
Cyclical Pattern
A cyclical pattern exists if the time series plot
MFE =
Forecast Accuracy
MAE =
MFE =
31
Forecast Accuracy
MAPE =
32
Table 5.8: Computing Forecasts
and Measures of Forecast
33 Accuracy Using the Average of
All the Historical Data as the
Forecast for the Next Period
Forecast Accuracy
34
Exponential Smoothing
Forecast Accuracy
Moving Averages and
36
Exponential Smoothing
Moving Averages
Moving averages method: Uses the
=
Table 5.9: Summary of Three-
Week Moving Average
37 Calculations
Figure 5.7: Gasoline Sales
Time Series Plot and Three-
38 Week Moving Average
Forecasts
Figure 5.8: Data Analysis
39
Dialog Box
Figure 5.9: Moving Average
Dialog Box
40
Figure 5.10: Excel Output for
Moving Average Forecast for
41 Gasoline Data
Moving Averages and
42
Exponential Smoothing
Forecast Accuracy
The values of the three measures of
forecast accuracy for the three-week
moving average calculations in Table
8.9:
MAE = = = 2.67
MSE = = = 10.22
MAPE = = = 14.36%
Moving Averages and
43
Exponential Smoothing
Exponential Smoothing
Exponential smoothing uses a
= α + (1 – α)
Smoothing constant (α )is the weight
given to the actual value in period t;
weight given to the forecast in period t
is 1 –α.
Moving Averages and
44
Exponential Smoothing
Illustration: Consider a time series involving only
three periods of data: y1, y2, and y3.
Let equal the actual value of the time series
in period 1; that is, = y1
Hence, the forecast for period 2 is:
= α + (1 – α)
= α + (1 – α)
=
Table 5.10: Summary of the
Exponential Smoothing Forecasts
45 and Forecast Errors for the
Gasoline Sales Time Series with
Smoothing Constant a = 0.2
Figure 5.11: Actual and
Forecast Gasoline Time
46 Series with Smoothing
Constant α = 0.2
Figure 5.13: Exponential
47
Smoothing Dialog Box
Figure 5.14: Excel Output for
Exponential Smoothing
48 Forecast for Gasoline Data
Moving Averages and
49
Exponential Smoothing
Forecast Accuracy
Insight into choosing a good value for