business forecasting chapter 10 the box–jenkins method of forecasting

22
Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Upload: alfred-boyd

Post on 18-Dec-2015

269 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Business Forecasting

Chapter 10The Box–Jenkins Method of

Forecasting

Page 2: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Chapter Topics The Box–Jenkins Models Forecasting with Autoregressive Models (AR) Forecasting with Moving Average Models

(MA) Autoregressive Integrated Moving Average

(ARIMA) models Trends and Seasonality in Time Series

Trends Seasonal Data

Chapter Summary

Page 3: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Univariate DataUnivariate Data

• A majority of the real-world data show certain combinations of the above patterns.

• Stationary• Trend• Seasonality• Cyclical

Page 4: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Box–Jenkins MethodBox–Jenkins Method

Besides the smoothing techniques, what other methods can we use to

forecast univariate data?

Using Box–Jenkins Methods

Capture the past pattern Forecast the future

Page 5: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Why Use The Box–Jenkins Why Use The Box–Jenkins Method?Method?

•When facing very complicated data patterns such as a combination of a trend, seasonal, cyclical, and random fluctuations:

e.g. Earning data of a corporation

e.g. Forecasting stock price

e.g. Sales forecasting

e.g. Energy forecasting (electricity, gas)

e.g. Traffic flow of a city

Page 6: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Why Use the Box–Jenkins Why Use the Box–Jenkins Method?Method?

•When forecasting is the sole purpose of the model.

•Very reliable especially in short term (0–6 months) prediction; reliable in short-to-mid (6 months–1.5years) -term prediction.

•Confidence intervals for the estimates are easily constructed.

Page 7: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Pattern I: Stationary Pattern I: Stationary

Pattern 1: No Trend—Stationarydemand seems to cluster around a specific level.

Page 8: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Pattern II: Trend Pattern II: Trend

Demand consistent

ly increases

or decreases over time.

0

2

4

6

8

10

12

14

16

18

1 2 3 4 5 6 7 8 9 10 11 12 13

0

2

4

6

8

10

12

14

16

18

1 2 3 4 5 6 7 8 9 10 11 12 13

0

100

200

300

400

500

600

1 2 3 4 5 6 7 8 9 10 11 12 13 0

100

200

300

400

500

600

1 2 3 4 5 6 7 8 9 10 11 12 13

TimeTime

Time

Time

Page 9: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Pattern III: Seasonality Pattern III: Seasonality

U.S. Electricity Consumption

-

2,000,000

4,000,000

6,000,000

8,000,000

10,000,000

12,000,000

19

90

/Q2

19

90

/Q4

19

91

/Q2

19

91

/Q4

19

92

/Q2

19

92

/Q4

19

93

/Q2

19

93

/Q4

19

94

/Q2

19

94

/Q4

19

95

/Q2

19

95

/Q4

19

96

/Q2

19

96

/Q4

19

97

/Q2

19

97

/Q4

19

98

/Q2

19

98

/Q4

19

99

/Q2

19

99

/Q4

20

00

/Q2

20

00

/Q4

20

01

/Q2

20

01

/Q4

20

02

/Q2

20

02

/Q4

Bil

lio

n K

WH

Commercial Consumption

Industrial Consumption

Residential Consumption

(Source: Historical Electricity Data, Energy Information Association, http://www.eia.doe/gov)

Page 10: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Pattern IV: Cyclical Pattern IV: Cyclical

U.S. 3-Month Treasury Bill Rate

-

2.0

4.0

6.0

8.0

10.0

12.0

14.0

16.0

18.0

1964/1

1965/9

1967/5

1969/1

1970/9

1972/5

1974/1

1975/9

1977/5

1979/1

1980/9

1982/5

1984/1

1985/9

1987/5

1989/1

1990/9

1992/5

1994/1

1995/9

1997/5

1999/1

2000/9

2002/5

Page 11: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Box–Jenkins Method Box–Jenkins Method AssumptionAssumption

• In order to use the B/J method, the time series should be stationary.

• B/J main idea: Any stationary time series can self-predict its own future from the past data.

0

1

2

3

4

5

6

7

8

9

10

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85

Page 12: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Box–Jenkins Method Box–Jenkins Method AssumptionAssumption

• We know that not all time series are stationary.

• However, it is easy to convert a trend or a seasonal time series to a stationary time series.

• Simply use the concept of “Differencing.”

Page 13: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Example of Differencing

Partial Data from Table 10.6 Time Actual Index Differences (t) tY )( 1 tt YY

(1) (2) (3)

86t 89.7 na

87t 90.1 0.4

88t 91.5 1.4

89t 92.4 0.9

90t 94.4 2.0

Page 14: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Convert a trend time series to Convert a trend time series to stationary time series using the stationary time series using the

differencing methoddifferencing method

Page 15: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

U.S. Electricity Consumption

-2.0

0.0

2.0

4.0

6.0

8.0

10.0

12.0

19

90

/Q2

19

91

/Q1

19

91

/Q4

19

92

/Q3

19

93

/Q2

19

94

/Q1

19

94

/Q4

19

95

/Q3

19

96

/Q2

19

97

/Q1

19

97

/Q4

19

98

/Q3

19

99

/Q2

20

00

/Q1

20

00

/Q4

20

01

/Q3

20

02

/Q2

20

03

/Q1

4 ttt YYd

Convert a seasonal time Convert a seasonal time series to stationary time series to stationary time

seriesseries

Page 16: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Differencing SummaryDifferencing Summary•To convert trend time series to stationary time series:

•To convert seasonal time series to stationary time series:

•Both of the above two methods can be applied/combined to remove the cyclical effects.

1 ttt YYd

4 ttt YYd

Page 17: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

How do we decide the How do we decide the model?model?

• Use Autocorrelation (AC) and Partial Autocorrelation (PAC)

• First-order autocorrelation is a measure of how correlated an observation is with an observation one period away, that is: (yt,yt−1)

• Second-order autocorrelation is a measure of how correlated an observation is with an observation two periods away (yt,yt−2)

• etc...

Page 18: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

AR Model FitAR Model Fit• When the autocorrelation coefficients

gradually fall to 0, and the partial correlation has spikes, an AR model is appropriate. The order of the model depends on the number of spikes.

• An AR(2) model is shown below.

Page 19: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

MA Model FitMA Model Fit• When the partial correlation coefficients

gradually fall to 0, and the autocorrelation has spikes, a MA model is appropriate. The order of the model depends on the number of spikes.

• An MA(1) model is shown below.

Page 20: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

ARIMA Model FitARIMA Model Fit• When both the autocorrelation and the

partial correlograms show irregular patterns, then an ARIMA model is appropriate. The order of the model depends on the number of spikes.

• An ARIMA(1,0,1) model is shown below.

Page 21: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Chapter SummaryChapter Summary• Box–Jenkins models capture a wide variety

of time series patterns.

• When faced with a complicated time series that includes a combination of trend, seasonal factor, cyclical, as well as random fluctuations, use of the Box–Jenkins is appropriate.

• This methodology for forecasting is an iterative process that begins by assuming a tentative pattern that is fitted to the data so that error will be minimized.

• The major assumption of the model is that the data is stationary.

Page 22: Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting

Chapter Summary Chapter Summary (continued)(continued)

• “Differencing” could be used to make the data stationary.

• In using the different models of Box–Jenkins, we depend on the autocorrelation (AC) and partial autocorrelation (PAC) as diagnostic tools.

• Computer programs such as Minitab, and SPSS provide all the analysis tools for using the Box–Jenkins.