QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring...

25
QMIS 320, CH 3 by M. Zainal 1 DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS Exploring Data Patterns & Choosing a i hi Forecasting Technique QMIS 320 Chapter 3 Dr. Mohammad Zainal Fall 2010 ¾ Collection of valid and reliable data is the most time consuming and difficult part of forecasting. ¾ The difficult task facing most forecasters is how to find relevant data that will help solve their specific decision making Exploring Data Patterns & Choosing a Forecasting Technique 2 data that will help solve their specific decision making problems. ¾ GIGO: garbage in and garbage out ¾ The following four criteria can be applied to the determination of whether data will be useful: 1. Data should be reliable and accurate. D h ld b l 2. Data should be relevant. 3. Data should be consistent. 4. Data should be timely. QMIS 320, CH 3 by M. Zainal

Transcript of QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring...

Page 1: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 1

DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS

Exploring Data Patterns & Choosing a i h i

p g gForecasting Technique

QMIS 320Chapter 3

Dr. Mohammad ZainalFall 2010

Collection of valid and reliable data is the most time consuming and difficult part of forecasting.

The difficult task facing most forecasters is how to find relevantdata that will help solve their specific decision making

Exploring Data Patterns & Choosing a Forecasting Technique2

data that will help solve their specific decision makingproblems.

GIGO: garbage in and garbage out

The following four criteria can be applied to the determination of whether data will be useful:

1. Data should be reliable and accurate.

D h ld b l2. Data should be relevant.

3. Data should be consistent.

4. Data should be timely.

QMIS 320, CH 3 by M. Zainal

Page 2: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 2

There Are Two Types of Data :

One are observations collected at a single point in time called  cross‐sectional data and,

Th th b ti ll t d i i t

Exploring Data Patterns & Choosing a Forecasting Technique3

The other one are observations collected over successive increments of time called time series data.

QMIS 320, CH 3 by M. Zainal

Exploring Time Series Data Patterns :

The important aspects in selecting an appropriate forecasting method for time series data is to consider the following different types of data patterns:

Exploring Data Patterns & Choosing a Forecasting Technique4

p

1. Horizontal Pattern

The observations fluctuate around a constant level or mean. 

This  type of series is called stationary in its mean.

QMIS 320, CH 3 by M. Zainal

Page 3: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 3

Exploring Data Patterns & Choosing a Forecasting Technique

2. Trend Pattern

The observations grow or decline over an extended period of time. 

This type of series is called nonstationary. 

5

The trend is the long‐term component that represents the growth or decline in the time series over an extended period of time.

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

3. Cyclical Pattern

The observations exhibit rises and falls that are not of a fixed period.

The cyclic component is the Wave like fluctuation around the trend.

6

Cyclical fluctuations are often influenced by changes in economic expansions and contractions (business cycle)

QMIS 320, CH 3 by M. Zainal

Page 4: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 4

Exploring Data Patterns & Choosing a Forecasting Technique

4. Seasonal Pattern

The observations are influenced by seasonal factors. 

The seasonal component refers to a pattern of change that repeats it self ft

7

year after year. 

In the monthly series the seasonal component measures the variability of the series each month, and in the quarterly series the seasonal component represents the variability in each quarter…etc.

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

Autocorrelation Analysis

The autocorrelation analysis for different time lags of a variable is used to identify time series data patterns including components such as trend and seasonality.

8

y

Autocorrelation is the correlation between a variable lagged one or more periods and itself.

This is measured using the autocorrelation coefficient at lag k , which is denoted by ρk and it’s estimated by its sample autocorrelation coefficient  rk at lag k ; k=0,1,2,… 

where;n

QMIS 320, CH 3 by M. Zainal

1

2

1

( )( ); 0,1, 2,...

( )

n

t t kt k

k n

tt

Y Y Y Yr k

Y Y

−= +

=

− −= =

Page 5: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 5

Exploring Data Patterns & Choosing a Forecasting Technique

Where Yt and  Yt‐k are observations at time period t and t‐k , respectively.

Autocorrelation analysis can be done by demonstrating the correlogramor autocorrelation function. 

The correlogram or autocorrelation function is a graph of the

9

The correlogram or autocorrelation function is a graph of the autocorrelations for various lags of a time series.

Example 3.1 Month # of VCRs

January 123

February 130

March 125

April 138

May 145

June 142

Harry Vernon has collected data on the number of VCRs sold last year for Vernon’s Music Store. We need to know lag 1 and lag 2 

l i ffi i ( d )

QMIS 320, CH 3 by M. Zainal

July 141

August 146

September 147

October 157

November 150

December 160

autocorrelation coefficients (r1 and r2)

Exploring Data Patterns & Choosing a Forecasting Technique

Solution:10

QMIS 320, CH 3 by M. Zainal

Page 6: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 6

Exploring Data Patterns & Choosing a Forecasting Technique

Lag 111

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

Lag 212

QMIS 320, CH 3 by M. Zainal

Page 7: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 7

Exploring Data Patterns & Choosing a Forecasting Technique

MINITAB13

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

MINITAB14

The correlogram or The correlogram or gautocorrelation function is 

a graph of the autocorrelation for 

various lags of time series

gautocorrelation function is 

a graph of the autocorrelation for 

various lags of time series

QMIS 320, CH 3 by M. Zainal

Page 8: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 8

Exploring Data Patterns & Choosing a Forecasting Technique

With the correlogram display, the data patterns including trend and seasonality can be studied.

Autocorrelation coefficients for different time lags for a variable can be used to answer the following questions about a time series: 

15

g

1. Are the data random? 

2. Do the data have a trend? 

3. Are the data stationary? 

4. Are the data seasonal? 

If a series is random, the autocorrelations between Y, and Yt‐k for any lag k are close to zero. The successive values of a time series are not related to each other. 

If a series has a trend, successive observations are highly correlated and the autocorrelation coefficients are typically significantly different from zero for the first several time lags and then gradually drop toward zero as the number of lags increases. 

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

The autocorrelation coefficient for time lag 1 is often very large (close to 1).

The autocorrelation coefficient for time lag 2 will also he large. However, it will not he as large as for time lag 1. 

16

g g

If a series has a seasonal pattern, a significant autocorrelation coefficient will occur at the seasonal time lag or multiples of the seasonal lag.

The seasonal lag is 4 for quarterly data and 1 2 for monthly data. 

How does an analyst determine whether an autocorrelation coefficient is significantly different from zero?

Statisticians showed that the sampling distribution of the sample 

QMIS 320, CH 3 by M. Zainal

autocorrelation coefficient  r1 is normally distributed with mean zero and approximate standard deviation        .

Knowing this, we can compare the sample autocorrelation coefficients with this theoretical sampling distribution and determine whether, for given time lags, they come from a population whose mean is zero. 

1 n

Page 9: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 9

Exploring Data Patterns & Choosing a Forecasting Technique

Checking the Significance of the Autocorrelation Coefficients

In this section we are going to determine whether the autocorrelation coefficient       at lag k ; k=0,1,2,… ; is different from zero for any time series data set. 

17

The sampling distribution of the sample autocorrelation coefficient  rk at lags k ; k=2,3,… ; is normally distributed with mean zero and approximate standard deviation SE(rk) and is given by:

12

11 2

( ) ; 2, 3, ...

k

ii

k

rSE r k

n

=

+= =

SE(r1) = 

QMIS 320, CH 3 by M. Zainal

1 nn

Exploring Data Patterns & Choosing a Forecasting Technique

1. Testing the randomness of the time series data

If a 100(1‐α)% of the sample autocorrelation coefficient  rk at lags k ; k=1,2,…  lie within the interval 

( ) ( )t SE r t SE rρ≤ ≤ +

18

then the time series data is random.

2. Testing for individual  

Now using  α level of significant, we want to test for k=1,2,…

using the test statistics

, 1 , 12 2

( ) ( )k k kn nt SE r t SE rα αρ

− −− ⋅ ≤ ≤ + ⋅

0

1

: 0: 0

k

k

HH

ρρ

=≠

using the test statistics

reject  H0 if                     or  P‐value ≤ α

QMIS 320, CH 3 by M. Zainal

( )k

k

rtS E r

=

, 12

nt tα

−≥

Page 10: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 10

Exploring Data Patterns & Choosing a Forecasting Technique

3. Testing a subset ofWe use one of the common portmanteau tests; the following modified Box‐Pierce  Q Statistics

; 1,2,....,k k mρ =

2

( 2)m

krQ n n= + ∑

19

We reject that all the subset of autocorrelations are zero if Q ≥  x2α,m or   p‐value ≤ α.

Exploring Time Series Data TypesThe autocorrelation coefficients are used to know if the time series data are:1. Random data.The time series is random or independent if the auto correlations between

1( 2)

kQ n n

n k=

= +−∑

The time series is random or independent if the auto correlations between  Yt and  Yt‐k for any lag  k are close to zero. This implies that the successive data are not related to each other.We use the option of constructing confidence interval to check that almost all sample autocorrelations should lie within a range specified by zero. 

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

For example, at 5 % level of significant, the time series data are random if 95 % of the sample autocorrelations will lie within

‐2.2 SE(rk) ≤          ≤  +2.2 SE (rk)  for all k = 1,2,3...Also, it is possible to use the Q  Statistic in option of testing a subset of   

20

kρ, p Q p g

autocorrelations is zero. For example, at 5 % level of significant, the time series data are random if Q for a subset of 10 autocorrelations is less than x2 0.05,10 = 18.31

Example 3.2A hypothesis test is developed to determine whether a particular autocorrelation coefficient is significantly different from zero for the correlogram figure. The null and alternative hypotheses for testing the significance of the lag 1 population autocorrelation coefficient are 

QMIS 320, CH 3 by M. Zainal

0 1

1 1

: 0: 0

HH

ρρ

=≠

Page 11: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 11

Exploring Data Patterns & Choosing a Forecasting Technique21

1 1 1 1

1 1 1

0( ) ( ) ( )

r r rtSE r SE r SE r

ρ− −= = =

If the null hypothesis is true, the test statistic

has a t distribution with df = n 1→ n 1 = 12 1 = 11 so for 5% significancehas a t distribution with df = n ‐1 → n ‐ 1 = 12 ‐ 1 = 11, so for 5% significance level, the decision rule is: 

Decision Rule: if t < ‐2.2 or t > 2.2 → we reject Ho and conclude the lag 1 autocorrelation is significantly different from 0.

The critical values ± 2.2 are the upper and lower .025 points of a t distribution with 11 df. 

h d d f √ / d h l f h

QMIS 320, CH 3 by M. Zainal

The standard error of r1 is SE(r1) = √1/12 = .289 and the value of the test statistic becomes

1 1

1

.572 1.98( ) .289

rtSE r

ρ−= = =

Ho: ρ1 = 0 cannot be rejected because —2.2 < 1.98 < 2.2. 

Exploring Data Patterns & Choosing a Forecasting Technique22

r

Now for lag 20 2

1 2

: 0: 0

HH

ρρ

=≠

2

2( )rt

SE r=

Decision Rule: if t < ‐2.2 or t > 2.2 → we reject Ho and conclude the lag 2 autocorrelation is significantly different from 0 with the same critical values of ± 2.2  and 11 df

The standard error of r2 is

2 12

21

2

1 21 2(.572)( ) .371

12

ii

rSE r

n

=

++

= = =∑

QMIS 320, CH 3 by M. Zainal

2

2

.463 1.25( ) .371rt

SE r= = =

Ho: ρ2 = 0 cannot be rejected because —2.2 < 1.25< 2.2. 

12n

The value of the test statistic becomes

Page 12: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 12

Exploring Data Patterns & Choosing a Forecasting Technique

An alternative way to check for significant autocorrelation is to construct, say, 95% confidence limits centered at 0.

These limits for lags 1 and 2 are given by 

23

Autocorrelation significantly different from 0 is indicated whenever a value for r falls outside the corresponding confidence limits.

The 95% confidence limits are shown in correlogram by the dashed lines in the graphical display of the autocorrelation function. 

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

2. Stationary and nonstationary data.

The time series is stationary if the observations fluctuate around a constant level or mean.

The sample autocorrelation coefficients decline to zero fairly rapidly

24

The sample autocorrelation coefficients decline to zero fairly rapidly, generally after the second or third time lag. 

The time series is nonstationary or having trend if the successive observations are highly correlated .

The autocorrelation coefficients are sufficiently different from zero for the first several time lags and then gradually drop toward zero as the number of lags increases.

Nonstationary data to be analyzed the trend to be removed from the data before modeling.

On possible technique is used to remove the trend is the differencing method.

QMIS 320, CH 3 by M. Zainal

Page 13: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 13

Exploring Data Patterns & Choosing a Forecasting Technique

Difference the data at order 1,∆Yt =Yt – Yt‐1 may remove the trend and the time series data becomes stationary.

25

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique26

Example 3.4An analyst for Sears company is assigned the task of forecasting operating revenue for 2001. She gathers the data for the years 1955 to 2000 as shown in table below

QMIS 320, CH 3 by M. Zainal

Page 14: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 14

Exploring Data Patterns & Choosing a Forecasting Technique27

The data are plotted as a time series in pfigure

A 95% confidence interval for the autocorrelation coefficients at time lag 1 i 0 ± Z (√1/12 )

QMIS 320, CH 3 by M. Zainal

1 using 0 ± Z025(√1/12 ). 

Time lags are significantly different from zero (.96, .92. and .87) and that the values then gradually drop to zero

Exploring Data Patterns & Choosing a Forecasting Technique28

The date series were differenced using MINITAB to remove the trend and to create a stationary series.create a stationary series.

One can notice that the autocorrelation coefficient at time lag 3 (0 32) is

The differenced series shows no evidence of a trend

QMIS 320, CH 3 by M. Zainal

coefficient at time lag 3. (0.32) is significantly different from zero. 

The autocorrelations at lags other than lag 3 are small

Page 15: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 15

Exploring Data Patterns & Choosing a Forecasting Technique

4. Seasonal data.

The time series is seasonal if significant autocorrelation coefficient will occur at a seasonal time lag or multiple of the seasonal lag.

For example for the quarterly seasonal data a significant autocorrelation

29

For example, for the quarterly seasonal data, a significant autocorrelation coefficient will appear at lag 4, for the monthly seasonal data, a significant autocorrelation coefficient will appear at lag 12, and so forth. 

The time series data to be analyzed the seasonal component should be removed from the data before modeling.

Different techniques will be studied in future helps in removing the seasonal components.

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique30

Example 3.5An analyst for Outboard Marine Corporation always felt that sales were seasonal. He gathers the data shown in the table below for the quarterly sales of Outboard Marine Corporation from 1984 to 1996 and plots them as p pthe time series graph 

QMIS 320, CH 3 by M. Zainal

Page 16: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 16

Exploring Data Patterns & Choosing a Forecasting Technique31

By observing the time series plot, he i d lnoticed a seasonal pattern

He notes that the autocorrelation

He computes the autocorrelation coefficients.

QMIS 320, CH 3 by M. Zainal

He notes that the autocorrelation coefficients at time lags 1 and 4 are significantly different from zero

He concludes that Outboard Marine sales are seasonal on a quarterly basis

Exploring Data Patterns & Choosing a Forecasting Technique

Choosing a Forecasting Technique1. For Stationary Time Series Data

The suggested methods are as follows:

32

Naïve Methods

Simple Averaging Methods

Moving Averages

Autoregressive Moving Average (ARMA)

Box‐Jenkins

These methods are suggested to use whenever the following exist:gg gThe forces generating a series have stabilized and the environment in     which the series exists is relatively unchanging.

A very simple model is needed because of a lack of data or for ease of explanation or implementation.

QMIS 320, CH 3 by M. Zainal

Page 17: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 17

Exploring Data Patterns & Choosing a Forecasting Technique

A very simple model is needed because of a lack of data or for ease of explanation or implementation.

Stability may be obtained by making simple corrections for factors such as population growth or inflation.

33

g

The series may be transformed into a stable one using logarithms, square roots, or differences.

The series is a set of forecast errors from a forecasting technique that is considered adequate.

Examples:

The unit sales of a product or service in maturation stage of its life cycle.

The Number of sales resulting from a constant level of effort.

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

Number of breakdowns per week on an assembly line having a uniform production rate. 

Changing income to per capita income.

2 For Nonstationary (trended) Time Series Data

34

2. For Nonstationary (trended) Time Series Data

The suggested methods are as follows:

Moving Averages

Holtʹs Linear Exponential Smoothing

Simple Regression

Growth Curves

Exponential Models

Autoregressive Integrated Moving Average (ARIMA)

Box‐Jenkins

QMIS 320, CH 3 by M. Zainal

Page 18: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 18

Exploring Data Patterns & Choosing a Forecasting Technique

These methods are suggested to use whenever the following exist:

Increased productivity and new technology lead to changes in     lifestyle.

Increasing population causes increases in demand for goods and

35

Increasing population causes increases in demand for goods and     services.

The purchasing power of the dollar affects economic variables due to inflation.

Market acceptance increases.

Examples:

Demand for electronic components (increased with the use ofDemand for electronic components (increased with the use of computer).

The Railroad usage (decreased with the use of airplane).

Sales revenues of consumer goods. 

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

Salaries, Production costs, and prices.

The growth period in the life cycle of a new product.

3. For Seasonal Time Series DataTh t d th d f ll

36

The suggested methods are as follows:Classical DecompositionCensus X – 12Winter Exponential SmoothingMultiple RegressionAutoregressive Integrated Moving Average (ARIMA)Box‐Jenkins

These methods are suggested to use whenever the following exist:Weather influences the variable of interest.The annual calendar influences the variable of interest.

QMIS 320, CH 3 by M. Zainal

Page 19: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 19

Exploring Data Patterns & Choosing a Forecasting Technique

Examples:Electrical consumptions.Summer and winter activities (e.g. sports such as skiing). Clothing

37

Clothing.Agricultural growing seasons.Retail sales influenced by holidays, three‐day weekends, and school  calendar.

4. For Cyclical Time Series DataThe suggested methods are as follows:Classical DecompositionE i I diEconomic IndicatorsEconometric ModelsMultiple RegressionAutoregressive Integrated Moving Average (ARIMA)Box‐Jenkins

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

These methods are suggested to use whenever the following are exists:

The business cycle influences the variable of interest.

Shifts in popular tastes occur.

38

Shifts in population occur.

Shifts in product life cycle occur.

Examples:

Economic, Market, Competitive factors.

Fashions, Music, Food. 

Wars Famines Epidemics Natural DisastersWars, Famines, Epidemics, Natural Disasters.

Introduction, Growth, Decline.

Maturation and market saturation.

QMIS 320, CH 3 by M. Zainal

Page 20: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 20

Exploring Data Patterns & Choosing a Forecasting Technique

Remark

Time Horizon (short, intermediate, and long‐term) for a forecast is important in the selection of a forecasting technique. 

For short and intermediate term forecasts a variety of quantitative

39

For short and intermediate‐term forecasts, a variety of quantitative techniques can be applied.

As the forecasting horizon increases, a number of these techniques become less applicable.

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique40

The following table represents when to choose the appropriate forecasting technique

QMIS 320, CH 3 by M. Zainal

Page 21: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 21

Exploring Data Patterns & Choosing a Forecasting Technique

Measuring Forecasting ErrorSuppose Yt be the actual value of a time series at time t and  Ŷt be the forecast value of a time series at time t where t = 1,2,3,…n.

Then the difference between the actual value and its forecast value is

41

Then the difference between the actual value and its forecast value is called the residual or forecast error and usually denoted by еt such that                   

еt = Yt  ‐ ŶtRemarks on Empirical Evaluation of Forecasting MethodsStatistically sophisticated or complex methods do not necessarily produce 

more accurate forecasts than simpler methods.

Various accuracy measures (MAD, MSE, MAPE, and MPE) produce i t t lt h d t l t diff t f ti th dconsistent results when used to evaluate different forecasting methods.

Combining the three smoothing methods on the average does well in comparison with other methods.

The performance of the various forecasting methods depends on the length of the horizon and the kind of the data analyzed.

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

Types of Forecast Accuracy Measures

1. Mean Absolute Deviation (MAD)

It is useful when the analyst wants to measure forecast error in the same it th i i l i

42

units as the original series.

2. Mean Squared Error (MSE)

It is useful because it penalizes large forecasting error and therefore the method with moderate errors is more preferable than the method of small errors.

1

1 n

t ti

MAD Y Yn =

= −∑

1 n

QMIS 320, CH 3 by M. Zainal

2

1

1 ( )t ti

MSE Y Yn =

= −∑

Page 22: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 22

Exploring Data Patterns & Choosing a Forecasting Technique

3. Mean Absolute Percentage Error (MAPE)

It is useful when the size or magnitude of the forecast variable is important in evaluating the accuracy of forecast and useful when the actual values of a time series are large.

43

g

MAPE provides an indication of how large the forecast errors are in comparison to the actual values of the series

Also it can be used to compare the accuracy of the same or different techniques on two entirely different series. 

1 n t tY YMAPE

Y

−= ∑

QMIS 320, CH 3 by M. Zainal

1i tn Y=∑

Exploring Data Patterns & Choosing a Forecasting Technique

4.   Mean Percentage Error (MPE)

It is useful when the analyst wants to determine whether a forecasting method is biased (consistently forecasting low or high). 

Therefore;

44

Therefore;

If MPE is very close to zero then the forecasting method is unbiased.

If MPE is large negative percentage then the forecasting method is consistently overestimating.

1

( )1 nt t

i

Y YMPEn Y

−= ∑

QMIS 320, CH 3 by M. Zainal

1i tn Y=

Page 23: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 23

Exploring Data Patterns & Choosing a Forecasting Technique

In general, the above four measures of forecast accuracy are usually used as 

follows:

To compare the accuracy of two or more different techniques.

45

To measure the usefulness and the reliability of a particular technique.

To help search for an optimal technique.

Determining the Accuracy of a Forecasting Technique

To evaluate the adequacy of the forecasting technique, we should check the following:

Randomness of the residuals → Use the autocorrelation function for the residuals.

Normality of the residuals → Use the histogram or the normal probability plot for the residuals. 

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

Significance of parameter estimates → Use the t test for all parameter estimates.

Simplicity and understandability of the technique for decision makers.

Example 3 6

46

Example 3.6

The forecasting technique used the number of customers serviced in the previous period as the forecast for the current period.This simple technique will be discussed

The following table shows the data for the daily number of customers requiring repair work, Y, and a forecast of these data, Yt, for Gary’s Chevron Station. 

QMIS 320, CH 3 by M. Zainal

This simple technique will be discussed in Chapter 4. The following computations were employed to evaluate this model using MAD, MSE, MAPE, and MPE. 

Page 24: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 24

Exploring Data Patterns & Choosing a Forecasting Technique47

QMIS 320, CH 3 by M. Zainal

Exploring Data Patterns & Choosing a Forecasting Technique

Application to Management

The following are a few examples of situations constantly arising in the business world for which a sound forecasting technique would help the decision‐making process. 

48

g p

A soft‐drink company wants to project the demand for its major product over the next two years, by month.

A major telecommunications company wants to forecast the quarterly dividend payments of its chief rival for the next three years.

A university needs to forecast student credit hours by quarter for the next four years in order to develop budget projections for the state legislature. 

A public accounting firm needs monthly forecasts of dollar billings so it can plan for additional accounting positions and begin recruiting. 

The quality control manager of a factory that makes aluminum ingots needs a weekly forecast of production defects for top management of the company. 

QMIS 320, CH 3 by M. Zainal

Page 25: QMIS 320 Chapter 3 - College of Business Administration · QMIS 320, CH 3 by M. Zainal 3 Exploring Data Patterns & Choosing a Forecasting Technique 2. Trend Pattern ¾The observations

QMIS 320, CH 3 by M. Zainal 25

Exploring Data Patterns & Choosing a Forecasting Technique

A banker wants to see the projected monthly revenue of a small bicycle manufacturer that is seeking a large loan to triple its output capacity. 

A federal government agency needs annual projections of average miles per gallon of American‐made cars over the next 10 years in order to make 

49

g yregulatory recommendations. 

A personnel manager needs a monthly forecast of absent days for the company workforce in order to plan overtime expenditures. 

A savings and loan company needs a forecast of delinquent loans over the next two years in an attempt to avoid bankruptcy. 

A company that makes computer chips needs an industry forecast for the number of personal computers sold over the next five years in order tonumber of personal computers sold over the next five years in order to plan its research and development budget. 

QMIS 320, CH 3 by M. Zainal