SDA 3E Chapter 7
-
Upload
xinearpinger -
Category
Documents
-
view
219 -
download
0
Transcript of SDA 3E Chapter 7
-
8/4/2019 SDA 3E Chapter 7
1/43
2007 Pearson Education
Chapter 7: Forecasting
-
8/4/2019 SDA 3E Chapter 7
2/43
Forecasting Techniques Qualitative and judgmental
Statistical time series models Explanatory/causal models
-
8/4/2019 SDA 3E Chapter 7
3/43
Qualitative and Judgmental
Methods Historical analogy comparative
analysis with a previous situation
Delphi Method response to asequence of questionnaires by a panelof experts
-
8/4/2019 SDA 3E Chapter 7
4/43
Indicators and Indexes Indicators measures believed to
influence the behavior of a variable we
wish to forecast Leading indicators
Lagging indicators
Index a weighted combination ofindicators
Indicators and indexes are often used ineconomic forecasting
-
8/4/2019 SDA 3E Chapter 7
5/43
Time SeriesAtime series is a stream of historical
data
Components of time series
Trend
Short-term seasonal effects
Longer-term cyclical effects
-
8/4/2019 SDA 3E Chapter 7
6/43
Example of a Time Series
-
8/4/2019 SDA 3E Chapter 7
7/43
Statistical Forecasting Methods Moving average
Exponential smoothing
Regression analysis
-
8/4/2019 SDA 3E Chapter 7
8/43
Simple Moving AverageAverage random fluctuations in a time
series to infer short-term changes in
directionAssumption: future observations will be
similar to recent past
Moving average for next period =average of most recent k observations
-
8/4/2019 SDA 3E Chapter 7
9/43
Example: Moving Average
Forecast With k = 3
-
8/4/2019 SDA 3E Chapter 7
10/43
Time Series Data and Moving
Averages
-
8/4/2019 SDA 3E Chapter 7
11/43
Excel Tool: Moving Averages Tools > Data Analysis > MovingAverage
Enter range ofdata
Enter value of k
Select outputoptions
Select options
-
8/4/2019 SDA 3E Chapter 7
12/43
Excel Results
Caution: chart aligns forecasts for next
period with current period data
-
8/4/2019 SDA 3E Chapter 7
13/43
Weighted Moving Average Weight the most recent k observations,
with weights that add to 1.0
Higher weights on more recentobservations generally provide moreresponsive forecasts to rapidly changing
time series
-
8/4/2019 SDA 3E Chapter 7
14/43
Error Metrics and Forecast
Accuracy Mean absolute
deviation (MAD)
Mean square error(MSE)
Mean absolutepercentage error
(MAPE)
n
FA
=MAD
n
1=i
tt
n
FA
=MSE
n
1=i
2
tt
n=MAPE
n
1=i
t
tt
A
FA
-
8/4/2019 SDA 3E Chapter 7
15/43
Exponential Smoothing Exponential smoothing model:
Ft+1
= (1a)Ft
+ aAt
= Ft + a (AtFt) Ft+1 is the forecast for time period t+1,
Ft is the forecast for period t,
At is the observed value in period t, and a is a constant between 0 and 1, called the
smoothing constant.
-
8/4/2019 SDA 3E Chapter 7
16/43
Excel Tool: Exponential
Smoothing Tools > Data Analysis > Exponential
Smoothing
Enter datarange
Dampingfactor = 1 - a
Select outputrange and
options
-
8/4/2019 SDA 3E Chapter 7
17/43
Exponential Smoothing
Example
-
8/4/2019 SDA 3E Chapter 7
18/43
Exponential Smoothing
Forecasts (a = 0.6)
-
8/4/2019 SDA 3E Chapter 7
19/43
Forecasting Models With
Linear Trends Double Moving Average
Double Exponential Smoothing
Based on the linear trend equation
kbaFttkt
-
8/4/2019 SDA 3E Chapter 7
20/43
Double Moving AverageMt= [ At-k+1+ At-k+2+ At]/k
Dt= [Mt-k+1 + Mt-k+2+ Mt]/k
at= 2MtDt
bt= (2/(k-1))[MtDt]
Use aT and bT in the linear trend equation to forecast kperiods beyond period T:
kbaFTTkT
-
8/4/2019 SDA 3E Chapter 7
21/43
Example Calculations
-
8/4/2019 SDA 3E Chapter 7
22/43
Double Moving Average
Forecasts
-
8/4/2019 SDA 3E Chapter 7
23/43
Double Exponential Smoothingat=ayt+ (1-a) (at-1+ bt-1)
bt= (atat-1) + (1-)bt-1
Initialize: a1= A1b1= A2A1
-
8/4/2019 SDA 3E Chapter 7
24/43
Forecasting Models With
SeasonalityAdditive model
Multiplicative model
ksttkt SaF
ksttkt SaF
-
8/4/2019 SDA 3E Chapter 7
25/43
Additive Seasonality Level and seasonal factors:
Forecast for next period
at
= a( At
- St-s
) + (1-a) at-1
St= (At- at) + (1-) St-s
11
stttSaF
-
8/4/2019 SDA 3E Chapter 7
26/43
Initialization
sA
s
t
t/
1
as=
at = as t = 1,2,s
St= A
t- a
tt = 1,2,s
-
8/4/2019 SDA 3E Chapter 7
27/43
Example of Additive Seasonal
Model
-
8/4/2019 SDA 3E Chapter 7
28/43
Models for Trend and
Seasonality Holt-Winters Additive Model
Holt-Winters Multiplicative Model
-
8/4/2019 SDA 3E Chapter 7
29/43
Holt-Winters Additive Model Smoothing equations:
Forecast for period t + 1:
at=a ( At- St-s) + (1-a) (at-1+ bt-1)bt= (atat-1) + (1-)bt-1St= (At- at) + (1-) St-s
11
sttttSbaF
-
8/4/2019 SDA 3E Chapter 7
30/43
Initializationbt= bs, for t = 1,2,s
bs= [ (As+1A1)/s + (As+2As)/s + .(As+sAs)/s] / s
Initial values for level and seasonal factors are the
same as in the additive seasonal model.
-
8/4/2019 SDA 3E Chapter 7
31/43
CB Predictor Excel Add-In for forecasting
-
8/4/2019 SDA 3E Chapter 7
32/43
CB Predictor Method Gallery
-
8/4/2019 SDA 3E Chapter 7
33/43
CD Predictor Output: Methods
Table
Durbin-Watson statistic: check forautocorrelation; a value of 2indicates no autocorrelation
Theils U statistic: comparisonto nave forecast. U1, worse thanguessing
-
8/4/2019 SDA 3E Chapter 7
34/43
CD Predictor Output: Results
Table
-
8/4/2019 SDA 3E Chapter 7
35/43
CD Predictor Output: Chart
and Forecast Values
-
8/4/2019 SDA 3E Chapter 7
36/43
Regression Trend Lines for
Forecasting
-
8/4/2019 SDA 3E Chapter 7
37/43
Nonlinear Trend Line for
Forecasting
-
8/4/2019 SDA 3E Chapter 7
38/43
Incorporating Seasonality into
Regression Models Use ordinal variables. Example:
Gas Usage = 0
+ 1
Time + 2
January + 3
February + 4
March + 5 April + 6 May + 7 June + 8 July + 9 August +
10 September + 11 October + 12 November
The forecast for December of the first year will
be 0 + 1(12). The forecast for January
(Time = 1) would be 0 + 1(1) + 2(1).
-
8/4/2019 SDA 3E Chapter 7
39/43
Data Matrix
-
8/4/2019 SDA 3E Chapter 7
40/43
Regression ANOVA Results
-
8/4/2019 SDA 3E Chapter 7
41/43
Regression Forecast Results
-
8/4/2019 SDA 3E Chapter 7
42/43
Causal Forecasting Models Causal models incorporate independent
variables such as economic indexes or
demographic factors that may influence thetime series.
-
8/4/2019 SDA 3E Chapter 7
43/43
Model Sales = 0 + 1Week + 2 Price/Gallon
Sales = 39406.69 + 508.67 Week 16463.20
Price/Gallon