chap 16-1 copyright ©2012 pearson education, inc. publishing as prentice hall chap 16-1 chapter 16...

65
Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12 th Edition

Upload: carlton-whitcraft

Post on 29-Mar-2015

226 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1Chap 16-1

Chapter 16

Time-Series Forecasting

Basic Business Statistics12th Edition

Page 2: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-2Chap 16-2

Learning Objectives

In this chapter, you learn: About different time-series forecasting models:

moving averages, exponential smoothing, linear trend, quadratic trend, exponential trend, autoregressive models, and least-squares models for seasonal data

To choose the most appropriate time-series forecasting model

Page 3: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-3Chap 16-3

The Importance of Forecasting

Governments forecast unemployment rates, interest rates, and expected revenues from income taxes for policy purposes

Marketing executives forecast demand, sales, and consumer preferences for strategic planning

College administrators forecast enrollments to plan for facilities and for faculty recruitment

Retail stores forecast demand to control inventory levels, hire employees and provide training

DCOVA

Page 4: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-4Chap 16-4

Common Approaches to Forecasting

Used when historical data are unavailable

Considered highly subjective and judgmental

Common Approaches to Forecasting

Causal

Quantitative forecasting methods

Qualitative forecasting methods

Time Series

Use past data to predict future values

DCOVA

Page 5: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-5Chap 16-5

Time-Series Data

Numerical data obtained at regular time intervals

The time intervals can be annually, quarterly, monthly, weekly, daily, hourly, etc.

Example:

Year: 2006 2007 2008 2009 2010

Sales: 75.3 74.2 78.5 79.7 80.2

DCOVA

Page 6: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-6Chap 16-6

Time-Series Plot

the vertical axis measures the variable of interest

the horizontal axis corresponds to the time periods

A time-series plot is a two-dimensional plot of time series data

DCOVA

19

83

19

85

19

87

19

89

19

91

19

93

19

95

19

97

19

99

20

01

20

03

20

05

20

07

20

09

0.00

2.00

4.00

6.00

8.00

10.00

12.00

14.00

16.00U.S. Inflation Rate

Page 7: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-7Chap 16-7

Time-Series Components

Time Series

Cyclical Component

Irregular Component

Trend Component

Seasonal Component

Overall, persistent, long-term movement

Regular periodic fluctuations,

usually within a 12-month period

Repeating swings or

movements over more than one

year

Erratic or residual

fluctuations

DCOVA

Page 8: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-8Chap 16-8

Upward trend

Trend Component

Long-run increase or decrease over time (overall upward or downward movement)

Data taken over a long period of time

Sales

Time

DCOVA

Page 9: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-9Chap 16-9

Downward linear trend

Trend Component

Trend can be upward or downward Trend can be linear or non-linear

Sales

Time Upward nonlinear trend

Sales

Time

(continued)

DCOVA

Page 10: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-10Chap 16-10

Seasonal Component

Short-term regular wave-like patterns Observed within 1 year Often monthly or quarterly

Sales

Time (Quarterly)

Winter

Spring

Summer

Fall

Winter

Spring

Summer

Fall

DCOVA

Page 11: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-11Chap 16-11

Cyclical Component

Long-term wave-like patterns Regularly occur but may vary in length Often measured peak to peak or trough to

trough

Sales1 Cycle

Year

DCOVA

Page 12: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-12Chap 16-12

Irregular Component

Unpredictable, random, “residual” fluctuations Due to random variations of

Nature Accidents or unusual events

“Noise” in the time series

DCOVA

Page 13: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-13Chap 16-13

Does Your Time Series Have A Trend Component?

A time series plot should help you to answer this question.

Often it helps if you “smooth” the time series data to help answer this question.

Two popular smoothing methods are moving averages and exponential smoothing.

DCOVA

Page 14: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-14Chap 16-14

Smoothing Methods

Moving Averages Calculate moving averages to get an overall

impression of the pattern of movement over time Averages of consecutive time series values for a

chosen period of length L

Exponential Smoothing A weighted moving average

DCOVA

Page 15: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-15Chap 16-15

Moving Averages

Used for smoothing A series of arithmetic means over time Result dependent upon choice of L (length of

period for computing means) Examples:

For a 5 year moving average, L = 5 For a 7 year moving average, L = 7 Etc.

DCOVA

Page 16: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-16Chap 16-16

Moving Averages

Example: Five-year moving average

First average:

Second average:

etc.

(continued)

5

YYYYYMA(5) 54321

5

YYYYYMA(5) 65432

DCOVA

Page 17: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-17Chap 16-17

Example: Annual Data

Year Sales

123456789

1011

etc…

2340252732483337375040

etc…

Annual Sales

0

10

20

30

40

50

60

1 2 3 4 5 6 7 8 9 10 11

Year

Sa

les

DCOVA

Page 18: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-18Chap 16-18

Calculating Moving Averages

Each moving average is for a consecutive block of 5 years

Year Sales

1 23

2 40

3 25

4 27

5 32

6 48

7 33

8 37

9 37

10 50

11 40

Average Year

5-Year Moving Average

3 29.4

4 34.4

5 33.0

6 35.4

7 37.4

8 41.0

9 39.4

… …

5

543213

5

322725402329.4

etc…

DCOVA

Page 19: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-19Chap 16-19

Annual vs. 5-Year Moving Average

0

10

20

30

40

50

60

1 2 3 4 5 6 7 8 9 10 11

Year

Sal

es

Annual 5-Year Moving Average

Annual vs. Moving Average

The 5-year moving average smoothes the data and makes it easier to see the underlying trend

DCOVA

Page 20: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-20Chap 16-20

Exponential Smoothing

Used for smoothing and short term forecasting (one period into the future)

A weighted moving average Weights decline exponentially Most recent observation is given the highest

weight

DCOVA

Page 21: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-21Chap 16-21

Exponential Smoothing

The weight (smoothing coefficient) is W Subjectively chosen Ranges from 0 to 1 Smaller W gives more smoothing, larger W gives

less smoothing The weight is:

Close to 0 for smoothing out unwanted cyclical and irregular components

Close to 1 for forecasting

(continued)

DCOVA

Page 22: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-22Chap 16-22

Exponential Smoothing Model

Exponential smoothing model

11 YE

1iii E)W1(WYE

where:Ei = exponentially smoothed value for period i

Ei-1 = exponentially smoothed value already computed for period i - 1

Yi = observed value in period i W = weight (smoothing coefficient), 0 < W < 1

For i = 2, 3, 4, …

DCOVA

Page 23: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-23Chap 16-23

Exponential Smoothing Example

Suppose we use weight W = 0.2Time

Period (i)

Sales(Yi)

Forecast from prior

period (Ei-1)

Exponentially Smoothed Value for this period (Ei)

1 2 3 4 5 6 7 8 910

etc.

23402527324833373750

etc.

--23.00026.40026.12026.29627.43731.54931.84032.87233.697

etc.

23(.2)(40)+(.8)(23)=26.4

(.2)(25)+(.8)(26.4)=26.12(.2)(27)+(.8)(26.12)=26.296

(.2)(32)+(.8)(26.296)=27.437(.2)(48)+(.8)(27.437)=31.549(.2)(48)+(.8)(31.549)=31.840(.2)(33)+(.8)(31.840)=32.872(.2)(37)+(.8)(32.872)=33.697(.2)(50)+(.8)(33.697)=36.958

etc.

1ii

i

E)W1(WY

E

E1 = Y1 since no prior information exists

DCOVA

Page 24: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-24Chap 16-24

Sales vs. Smoothed Sales

Fluctuations have been smoothed

NOTE: the smoothed value in this case is generally a little low, since the trend is upward sloping and the weighting factor is only .2

0

10

20

30

40

50

60

1 2 3 4 5 6 7 8 9 10Time Period

Sa

les

Sales Smoothed

DCOVA

Page 25: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-25Chap 16-25

Forecasting Time Period i + 1

The smoothed value in the current period (i) is used as the forecast value for next period (i + 1) :

i1i EY

DCOVA

Page 26: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-26Chap 16-26

Exponential Smoothing in Excel

Use data analysis / exponential smoothing The “damping factor” is (1 - W)

DCOVA

1 2 3 4 5 6 7 8 9 100

102030405060

Exponential Smoothing

Actual

Forecast

Data Point

Val

ue

Time Sales Smoothed1 232 40 233 25 26.44 27 26.125 32 26.2966 48 27.43687 33 31.549448 37 31.839559 37 32.87164

10 50 33.69731

Page 27: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-27

Exponential Smoothing in Minitab

Chap 16-27

DCOVA

Use stat / time series / simple exp. smoothing

10987654321

50

45

40

35

30

25

20

Index

Sale

s

Alpha 0.2Smoothing Constant

MAPE 20.0118MAD 7.1397MSD 80.1601

Accuracy Measures

ActualFits

Variable

Smoothing Plot for SalesSingle Exponential Method

Page 28: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-28Chap 16-28

There Are Three Popular Methods For Trend-Based Forecasting

Linear Trend Forecasting

Nonlinear Trend Forecasting

Exponential Trend Forecasting

DCOVA

Page 29: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-29Chap 16-29

Linear Trend Forecasting

Estimate a trend line using regression analysis

Year

Time Period

(X)Sales

(Y)

200420052006200720082009

012345

204030507065

XbbY 10

Use time (X) as the independent variable:

In least squares linear, non-linear, andexponential modeling, time periods arenumbered starting with 0 and increasingby 1 for each time period.

DCOVA

Page 30: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-30Chap 16-30

Linear Trend ForecastingThe linear trend forecasting equation is:

Sales trend

01020304050607080

0 1 2 3 4 5 6

Year

sale

s

YearTime

Period (X)

Sales (Y)

200420052006200720082009

012345

204030507065

ii X 9.571421.905Y

(continued)

DCOVA

Page 31: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-31Chap 16-31

Linear Trend Forecasting

Forecast for time period 6 (2010):

YearTime

Period (X)

Sales (y)

2004200520062007200820092010

0123456

204030507065??

(continued)

Sales trend

01020304050607080

0 1 2 3 4 5 6

Year

sale

s

79.33

(6) 9.571421.905Y

DCOVA

Page 32: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-32Chap 16-32

Nonlinear Trend Forecasting

A nonlinear regression model can be used when the time series exhibits a nonlinear trend

Quadratic form is one type of a nonlinear model:

Compare adj. r2 and standard error to that of linear model to see if this is an improvement or test significance of the quadratic term

Can try other functional forms to get best fit

i2i2i10i XXY

DCOVA

Page 33: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-33Chap 16-33

Exponential Trend Model

Another nonlinear trend model:

Transform to linear form:

iX

10i εββY i

)εlog()log(βX)βlog()log(Y i1i0i

DCOVA

Page 34: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-34Chap 16-34

Exponential Trend Model

Exponential trend forecasting equation:

i10i XbbYlog( )ˆ

where b0 = estimate of log(β0)

b1 = estimate of log(β1)

(continued)

Interpretation:

%100)1β( 1 is the estimated annual compound growth rate (in %)

DCOVA

Page 35: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-35Chap 16-35

Trend Model Selection Using Differences

Use a linear trend model if the first differences are approximately constant

Use a quadratic trend model if the second differences are approximately constant

)YY()YY()Y(Y 1-nn2312

)]YY()Y[(Y

)]YY()Y[(Y)]YY()Y[(Y

2-n1-n1-nn

23341223

DCOVA

Page 36: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-36Chap 16-36

Use an exponential trend model if the percentage differences are approximately constant

(continued)

Trend Model Selection Using Differences

%100Y

)Y(Y%100

Y

)Y(Y%100

Y

)Y(Y

1-n

1-nn

2

23

1

12

DCOVA

Page 37: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-37Chap 16-37

ip-ip2-i21-i10i YAYAYAAY δ

Autoregressive Modeling

Used for forecasting Takes advantage of autocorrelation

1st order - correlation between consecutive values 2nd order - correlation between values 2 periods

apart pth order Autoregressive model:

Random Error

DCOVA

Page 38: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-38Chap 16-38

Autoregressive Model: Example

Year Units

02 4 03 3 04 2 05 3 06 2 07 2 08 4 09 6

The Office Concept Corp. has acquired a number of office units (in thousands of square feet) over the last eight years. Develop the second order Autoregressive model.

DCOVA

Page 39: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-39Chap 16-39

Autoregressive Model: Example Solution

Year Yi Yi-1 Yi-2

02 4 -- -- 03 3 4 -- 04 2 3 4 05 3 2 3 06 2 3 2 07 2 2 3 08 4 2 2 09 6 4 2

CoefficientsIntercept 3.5X Variable 1 0.8125X Variable 2 -0.9375

Excel Output

Develop the 2nd order table

Use Excel to estimate a regression model

2i1ii 0.9375Y0.8125Y3.5Y

DCOVA

Page 40: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-40Chap 16-40

Autoregressive Model Example: Forecasting

Use the second-order equation to forecast number of units for 2010:

625.4

)0.9375(4)0.8125(63.5

)0.9375(Y)0.8125(Y3.5Y

0.9375Y0.8125Y3.5Y

200820092010

2i1ii

DCOVA

Page 41: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-41Chap 16-41

Autoregressive Modeling Steps

1.Choose p (note that df = n – 2p – 1)

2.Form a series of “lagged predictor” variables

Yi-1 , Yi-2 , … ,Yi-p

3.Use Excel or Minitab to run regression model using all p variables

4.Test significance of Ap

If null hypothesis rejected, this model is selected If null hypothesis not rejected, decrease p by 1 and

repeat

DCOVA

Page 42: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-42Chap 16-42

Choosing A Forecasting Model

Perform a residual analysis Eliminate a model that shows a pattern or trend

Measure magnitude of residual error using squared differences and select the model with the smallest value

Measure magnitude of residual error using absolute differences and select the model with the smallest value

Use simplest model Principle of parsimony

DCOVA

Page 43: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-43Chap 16-43

Residual Analysis

Random errors

Trend not accounted for

Cyclical effects not accounted for

Seasonal effects not accounted for

T T

T T

e e

e e

0 0

0 0

DCOVA

Page 44: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-44Chap 16-44

Measuring Errors

Choose the model that gives the smallest measuring errors

Mean Absolute Deviation (MAD)

Less sensitive to extreme observations

Sum of squared errors (SSE)

Sensitive to outliers

n

1i

2ii )Y(YSSE

n

YYMAD

n

1iii

DCOVA

Page 45: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-45Chap 16-45

Principal of Parsimony

Suppose two or more models provide a good fit for the data

Select the simplest model Simplest model types:

Least-squares linear Least-squares quadratic 1st order autoregressive

More complex types: 2nd and 3rd order autoregressive Least-squares exponential

DCOVA

Page 46: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-46Chap 16-46

Time series are often collected monthly or quarterly

These time series often contain a trend component, a seasonal component, and the irregular component

Suppose the seasonality is quarterly Define three new dummy variables for quarters:

Q1 = 1 if first quarter, 0 otherwise

Q2 = 1 if second quarter, 0 otherwise

Q3 = 1 if third quarter, 0 otherwise

(Quarter 4 is the default if Q1 = Q2 = Q3 = 0)

Forecasting With Seasonal DataDCOVA

Page 47: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-47Chap 16-47

Exponential Model with Quarterly Data

Transform to linear form:

iQ

4Q

3Q

2X

10i εβββββY 321i

)εlog()log(βQ)log(βQ

)log(βQ)log(βX)βlog()log(Y

i4332

211i0i

(β1–1)x100% is the quarterly compound growth rate

βi provides the multiplier for the ith quarter relative to the 4th quarter (i = 2, 3, 4)

DCOVA

Page 48: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-48Chap 16-48

Estimating the Quarterly Model

Exponential forecasting equation:

342312i10i QbQbQbXbb)Ylog( where b0 = estimate of log(β0), so

b1 = estimate of log(β1), so etc…

Interpretation:

%100)1β( 1 = estimated quarterly compound growth rate (in %)

= estimated multiplier for first quarter relative to fourth quarter

= estimated multiplier for second quarter rel. to fourth quarter

= estimated multiplier for third quarter relative to fourth quarter

0b β10 0

1b β10 1

DCOVA

Page 49: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-49Chap 16-49

Quarterly Model Example

Suppose the forecasting equation is:

321ii .022Q.073QQ082..017X3.43)Ylog(

b0 = 3.43, so

b1 = .017, so

b2 = -.082, so

b3 = -.073, so

b4 = .022, so

53.2691β10 0b0

040.1β10 1b1

827.0β10 2b2

845.0β10 3b3

052.1β10 4b4

DCOVA

Page 50: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-50Chap 16-50

Quarterly Model Example

Interpretation:

53.2691β0

040.1β1

827.0β2

845.0β3

052.1β4

Unadjusted trend value for first quarter of first year

4.0% = estimated quarterly compound growth rate

Average sales in Q1 are 82.7% of average 4th quarter

sales, after adjusting for the 4% quarterly growth rate

Average sales in Q2 are 84.5% of average 4th quarter

sales, after adjusting for the 4% quarterly growth rate

Average sales in Q3 are 105.2% of average 4th quarter

sales, after adjusting for the 4% quarterly growth rate

Value:

(continued)

DCOVA

Page 51: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-51Chap 16-51

Pitfalls inTime-Series Analysis

Assuming the mechanism that governs the time series behavior in the past will still hold in the future

Using mechanical extrapolation of the trend to forecast the future without considering personal judgments, business experiences, changing technologies, and habits, etc.

DCOVA

Page 52: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-52Chap 16-52

Chapter Summary

Discussed the importance of forecasting Addressed component factors of the time-series

model Performed smoothing of data series

Moving averages Exponential smoothing

Described least square trend fitting and forecasting Linear, quadratic and exponential models

Page 53: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-53Chap 16-53

Chapter Summary

Addressed autoregressive models Described procedure for choosing appropriate

models Addressed time-series forecasting of monthly or

quarterly data (use of dummy variables) Discussed pitfalls concerning time-series

analysis

(continued)

Page 54: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-54

On Line Topic

Index Numbers

Basic Business Statistics12th Edition

Page 55: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-55

Learning Objective

In this On Line Topic you learn about price index numbers and differences between aggregated and disaggregated index numbers

Page 56: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-56

Index Numbers

Index numbers allow relative comparisons over time

Index numbers are reported relative to a Base Period Index

Base period index = 100 by definition

Used for an individual item or group of items

DCOVA

Page 57: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-57

Simple Price Index

Simple Price Index:

100P

PI

base

ii

where

Ii = index number for year i

Pi = price for year i

Pbase = price for the base year

DCOVA

Page 58: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-58

Index Numbers: Example

Airplane ticket prices from 1995 to 2003:

90)100(320

288100

2006

20022000

P

PI

Year PriceIndex

(base year = 2006)

2001 272 85.0

2002 288 90.0

2003 295 92.2

2004 311 97.2

2005 322 100.6

2006 320 100.0

2007 348 108.8

2008 366 114.4

2009 384 120.0

100)100(320

320100

2006

20062006

P

PI

120)100(320

384100

2006

20092009

P

PI

Base Year:

DCOVA

Page 59: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-59

Prices in 2000 were 90% of base year prices

Prices in 2006 were 100% of base year prices (by definition, since 2006 is the base year)

Prices in 2009 were 120% of base year prices

Index Numbers: InterpretationDCOVA

90)100(320

288100

2006

20022000

P

PI

100)100(320

320100

2006

20062006

P

PI

120)100(320

384100

2006

20092009

P

PI

Page 60: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-60

Aggregate Price Indexes

An aggregate index is used to measure the rate of change from a base period for a group of items

Aggregate Price Index

numbers

Unweighted aggregate price index numbers

Weighted aggregate price index numbers

Paasche Indexnumbers

Laspeyres Indexnumbers

DCOVA

Page 61: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-61

Unweighted Aggregate Price Index

Unweighted aggregate price index formula:

100P

PI

n

1i

)0(i

n

1i

)t(i

)t(U

= unweighted price index at time t

= sum of the prices for the group of items at time t

= sum of the prices for the group of items in time period 0

n

1i

)0(i

n

1i

)t(i

)t(U

P

P

I

i = item

t = time period

n = total number of items

DCOVA

Page 62: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-62

Unweighted total expenses were 18.8% higher in 2009 than in 2006

Automobile Expenses:Monthly Amounts ($):

Year Lease payment Fuel Repair TotalIndex

(2006=100)

2006 260 45 40 345 100.0

2007 280 60 40 380 110.1

2008 305 55 45 405 117.4

2009 310 50 50 410 118.8

Unweighted Aggregate Price Index: Example

118.8(100)345

410100

P

PI

2006

20092009

DCOVA

Page 63: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-63

Weighted Aggregate Price Index Numbers

Paasche index

100QP

QPI

n

1i

)t(i

)0(i

n

1i

)t(i

)t(i

)t(P

: weights based on : weights based on current

period 0 quantities period quantities

= price in time period t

= price in period 0

100QP

QPI

n

1i

)0(i

)0(i

n

1i

)0(i

)t(i

)t(L

Laspeyres index

)0(iQ )t(

iQ

)t(iP

)0(iP

DCOVA

Page 64: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-64

Common Price Index Numbers

Consumer Price Index (CPI)

Producer Price Index (PPI)

Stock Market Index Numbers Dow Jones Industrial Average S&P 500 Index NASDAQ Index

DCOVA

Page 65: Chap 16-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-1 Chapter 16 Time-Series Forecasting Basic Business Statistics 12

Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 16-65

Topic Summary

Learned about price index numbers and differences between aggregated and disaggregated index numbers