Top Banner
1 QNT 531 QNT 531 Advanced Problems in Advanced Problems in Statistics and Research Statistics and Research Methods Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX
85

1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

Jan 05, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

1

QNT 531QNT 531Advanced Problems in Statistics Advanced Problems in Statistics

and Research Methodsand Research Methods

WORKSHOP 4

By Dr. Serhat Eren

University OF PHOENIX

Page 2: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

2

TIME SERIES ANDFORECASTINGTIME SERIES ANDFORECASTINGOBJECTIVESOBJECTIVES

Getting Started With Time Series Data

Simple Moving Average MA

Weighted Moving Average Models

Exponential Smoothing Models

Regression Models

Page 3: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

3

GETTING STARTED WITH TIME SERIES DATAGETTING STARTED WITH TIME SERIES DATA

Time Series Notation A time series is a set of observations of a

variable at regular time intervals, such as yearly, monthly, weekly, daily, etc.

To study time series data we must introduce some general notation. Consistent with the notation from regression, we will label the variable that we are trying to predict with the letter Y. Since each observation is taken at a particular time, we will subscript Y with the letter t.

Page 4: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

4

GETTING STARTED WITH TIME SERIES DATAGETTING STARTED WITH TIME SERIES DATA

Thus, the data in a time series are labeled

y1 is the observation of the variable at time period 1

y2 is the observation of the variable at time period 2

yt is the observation of the variable at time period t

tyyyy ........,, 321

Page 5: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

5

GETTING STARTED WITH TIME SERIES DATAGETTING STARTED WITH TIME SERIES DATA

The observation that is the oldest in terms of the time that it was observed com pared to the present is labeled y1.

For the bread example, the daily sales 25 days ago is the oldest observation and is therefore labeled yt. The second oldest observation is labeled y2 and so forth.

Page 6: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

6

GETTING STARTED WITH TIME SERIES DATAGETTING STARTED WITH TIME SERIES DATA

Once you have identified the data and labeled them properly, you should display them using a scatter plot. The x axis should be time and the y axis should be the variable of interest.

After you plot the data, you should examine the plot to see if there are any obvious patterns or trends.

Page 7: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

7

4-1 4-1 COMPONENTS OF A TIME SERIESCOMPONENTS OF A TIME SERIES

4.1.1 Trend Component The gradual shifting of the time series is

referred to as the trend in the time series; this shifting or trend is usually the result of long term factors such as changes in the population, demographic characteristics of the population, technology, and/or consumer preferences.

Figure 4-2 shows a straight line that may be a good approximation of the trend in camera sales.

Page 8: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

8

Page 9: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

9

4-1 4-1 COMPONENTS OF A TIME SERIESCOMPONENTS OF A TIME SERIES

Figure 4-3 shows some other possible time series trend patterns.

Panel (A) shows a nonlinear trend, panel (B) is useful for a time series displaying a steady decrease over time, and panel (C) represents a time series that has no consistent increase or decrease over time and thus no trend.

Page 10: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

10

Page 11: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

11

4-1 4-1 COMPONENTS OF A TIME SERIESCOMPONENTS OF A TIME SERIES

4.1.2 Cyclical Component Any recurring sequence of points above

and below the trend line lasting more than one year can be attributed to the cyclical component of the time series.

Figure 4-4 shows the graph of a time series with an obvious cyclical component.

Page 12: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

12

Page 13: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

13

4-1 4-1 COMPONENTS OF A TIME SERIESCOMPONENTS OF A TIME SERIES

4.1.3 Seasonal Component For 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.

The component of the time series that represents the variability in the data due to seasonal influences is called the seasonal component.

Page 14: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

14

4-1 4-1 COMPONENTS OF A TIME SERIESCOMPONENTS OF A TIME SERIES

4.1.4 Irregular Component The irregular component of the time series

is the residual factor that accounts for the deviations of the actual time series values from those expected given the effects of the trend, cyclical, and seasonal components.

The irregular component is caused by the short-term, unanticipated, and nonrecurring factors that affect the time series.

Page 15: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

15

4-2 4-2 SMOOTHING METHODSSMOOTHING METHODS

Three forecasting methods are moving averages, weighted moving averages, and exponential smoothing.

The objective of each of these methods is to “smooth out” the random fluctuations caused by the irregular component of the time series therefore they are referred to as smoothing methods.

Page 16: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

16

4.5.1 Calculating Simple Moving Averages Instead of averaging all of the data, we will

average only the most recent observations.

For example, we could average only the most recent 3 years as our forecast for the next year. In this case the predicted FWC population for 1999 would be calculated as follows:

690,418,13

457,321,1692,387,1920,546,1ˆ

11

891011

y

yyyy

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

SIMPLE MOVING AVERAGE MODELS SIMPLE MOVING AVERAGE MODELS

Page 17: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

17

A k-period moving average is the average of the most recent k observations.

What we just calculated is called a 3-period moving average (MA), since we averaged the data from the most recent 3 time periods to get the forecast for the next period.

You could instead use a 2-period moving average, a 4-period moving average or any number period moving average. In general, we will talk about a k-period moving average.

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

SIMPLE MOVING AVERAGE MODELS SIMPLE MOVING AVERAGE MODELS

Page 18: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

18

Page 19: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

19

4.5.2 Evaluating the Model The next logical issue is to decide how to select the

value of k. In other words, should we use a 2-period MA model, a 3-period MA model, or some other number period MA model? The right answer, of course, is that we should use the "best" model.

Ideally, we would like the forecasting model with zero error, that is, one that predicts perfectly. Recognizing that we will never find such a model, we look for a model with the smallest possible error.

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

SIMPLE MOVING AVERAGE MODELS SIMPLE MOVING AVERAGE MODELS

Page 20: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

20

Page 21: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

21

In this case, the positive errors tell you that your forecast from a 3-period MA model consistently underestimates the actual population. Because of this observation you consider using only 2 periods to forecast for the next period, a 2-period MA.

The formula for calculating the mean square error (MSE) for a k-period MA model is given below:

kt

yyMSE

t

ki ii

1

2)ˆ(

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

SIMPLE MOVING AVERAGE MODELS SIMPLE MOVING AVERAGE MODELS

Page 22: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

22

Now we know that the 2-period MA has a smaller MSE than the 3-period MA.

To see the difference in the performance of the 2-period MA model and the 3-period MA model, we can graph the original time series (FWC) and the 2 models on the same graph. This is shown in Figure 16.3.

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

SIMPLE MOVING AVERAGE MODELS SIMPLE MOVING AVERAGE MODELS

Page 23: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

23

Page 24: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

24

There is another measure that is sometimes used instead of the MSE to evaluate the goodness of a forecasting model. It is called the mean absolute deviation or MAD.

A simple moving average model uses the simple average of the most recent k observations to predict for the next time period.

kt

yyMAD

t

ki ii

1

|ˆ|

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

WEIGHTED MOVING AVERAGESWEIGHTED MOVING AVERAGES

Page 25: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

25

A weighted moving average model is a moving average model with unequal weights.

4.5.1 Calculating Weighted Moving Averages The only rule that needs to be observed as you pick the

weights is that the sum of the weights must be 1 and each weight must be a positive number between 0 and 1.

We will use the term wt to represent the weight to be used for the observation from time period t. The general formula for a 3-period weighted moving average is then

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

WEIGHTED MOVING AVERAGESWEIGHTED MOVING AVERAGES

Page 26: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

26

The general formula for a 3-period weighted moving average is then

22111ˆ ttttttt ywywywy

1,,0 21 ttt www

121 ttt www

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

WEIGHTED MOVING AVERAGESWEIGHTED MOVING AVERAGES

Page 27: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

27

An exponential smoothing model is an averaging technique that uses unequal weights. The weights applied to past observations decline in an exponential manner.

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

EXPONENTIAL SMOOTHING MODELSEXPONENTIAL SMOOTHING MODELS

Page 28: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

28

Page 29: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

29

Page 30: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

30

FORECASTING USING ANEXPONENTIAL SMOOTHING MODEL The exponential smoothing model is different

from the weighted moving average model because of the historical data in the time series are used to generate the forecast for e next period.

It is similar to a weighted MA model because the forecast is a weighted average.

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

EXPONENTIAL SMOOTHING MODELSEXPONENTIAL SMOOTHING MODELS

Page 31: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

31

The weights are assigned in such a way that the most recent observation, yt, carries the largest weight. The second most recent observation carries the second largest weight and the weights assigned to the other data points decrease systematically.

The smoothing constant, , is the weight assigned to the most recent observation in an exponential smoothing model.

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

EXPONENTIAL SMOOTHING MODELSEXPONENTIAL SMOOTHING MODELS

Page 32: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

32

The general formula for the forecast for the next period, t=1, is shown below.

.....)1(.....)1()1(ˆ

ˆ

22

11

1

ntn

tttt

iit

yyyyy

ywy

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

EXPONENTIAL SMOOTHING MODELSEXPONENTIAL SMOOTHING MODELS

Page 33: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

33

Page 34: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

34

Evaluating the Exponential Smoothing Model The equation shown above is the best one to use

to actually calculate the forecast using exponential smoothing. This is true because you need only the most recent forecast,, the most recent observation, yt, and to complete the computation.

Let's see how to use this equation and find the MSE of the exponential smoothing model for the FWC time series in Example 16.7.

4.2 SMOOTHING METHODS4.2 SMOOTHING METHODS

EXPONENTIAL SMOOTHING MODELSEXPONENTIAL SMOOTHING MODELS

Page 35: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

35

Page 36: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

36

4-3 4-3 TREND PROJECTIONTREND PROJECTION

Consider the time series for bicycle sales of a particular manufacturer over the past 10 years, as shown in Table 4-6 and Figure 4-8.

Note that 21,600 bicycles were sold in year 1,22,900 were sold in year 2, and so on.

Page 37: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

37

TABLE 4-6 BICYCLE SALES TIME SERIES

Year (t) Sales (1000s) (Yt) 1 21.6 2 22.9 3 25.5 4 21.9 5 23.9 6 27.5 7 31.5 8 29.7 9 28.6

10 31.4

Page 38: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

38

Page 39: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

39

4-3 4-3 TREND PROJECTIONTREND PROJECTION

In year 10, the most recent year, 31,400 bicycles were sold. Although Figure 4-8 shows some up and down movement over the past 10 years, the time series seems to have an overall increasing or upward trend.

Specifically, we will be using regression analysis to estimate the relationship between time and sales volume.

Page 40: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

40

4-3 4-3 TREND PROJECTIONTREND PROJECTION

The estimated regression equation describing a straight-line relationship between an independent variable x and a dependent variable y is:

xbby 10ˆ

Page 41: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

41

4-3 4-3 TREND PROJECTIONTREND PROJECTION

For a linear trend, the estimated sales volume expressed as a function of time can be written as follows.

whereTt = trend value of the time series in period tb0 = intercept of the trend lineb1 =slope of the trend linet = time

tbbTt 10

Page 42: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

42

4-3 4-3 TREND PROJECTIONTREND PROJECTION

Computing the Slope (b1 ) and Intercept (b0 )

whereYt = value of the time series in period tn = number of periodsY-bar = average value of the time seriest –bar = average value of t

tbYb

ntt

nYtYtb tt

10

221/

/

Page 43: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

43

t Y tYt t² 1 21.6 21.6 1 2 22.9 45.8 4 3 25.5 76.5 9 4 21.9 87.6 16 5 23.9 119.5 25 6 27.5 165 36 7 31.5 220.5 49 8 29.7 237.6 64 9 28.6 257.4 81 10 31.4 314 100

Totals 264.5 1545.5 385

Page 44: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

44

4.20)5.5(10.145.26

10.110/)55(385

10/)5.264(555.1545

/

/

45.2610

5.264

5.510

55

10

2221

tbYb

ntt

nYtYtb

Y

t

ttt

Page 45: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

45

4-3 4-3 TREND PROJECTIONTREND PROJECTION

For example, substituting t11 into the formula above yields next year’s trend projection as

The use of a linear function to model the trend is common. However, as we discussed previously, sometimes time series have a curvilinear, or nonlinear, trend similar to those in Figure 4-10.

tTt 1.14.20

5.32)11(1.14.2011 T

Page 46: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

46

Page 47: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

47

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

Removing the seasonal effect from a time series is known as deseasonalizing the time series. The first step is to compute seasonal indexes and use them to deseasonalize the data.

Then, if a trend is apparent in the deseasonalized data, we use regression analysis on the deseasonalized data to estimate the trend component.

Page 48: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

48

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

4.4.1 Multiplicative Model In addition to a trend component (T ) and

a seasonal component (S ),we will assume that the time series has an irregular component (I ).Using Tt , St , and It to identify the trend, seasonal, and irregular components at time t ,we will assume that the time series value, denoted Y t ,can be described by the following multiplicative time series model.

tttt ISTY

Page 49: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

49

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

4.4.2 Calculating the Seasonal Indexes Figure 4-11 indicates that sales are lowest in the

second quarter of each year and increase in quarters 3 and 4. Thus, we conclude that a seasonal pattern exists for television set sales.

We can begin the computational procedure used to identify each quarter’s seasonal influence by computing a moving average to separate the combined seasonal and irregular components, St and It , from the trend component Tt .

Page 50: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

50

TABLE 4-7 QUARTERLY DATA FOR TV SALESYear Quarter Sales (1000s) (Yt)

1 1 4.82 4.13 64 6.5

2 1 5.82 5.23 6.84 7.4

3 1 62 5.63 7.54 7.8

4 1 6.32 5.93 84 8.4

Page 51: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

51

Page 52: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

52

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

To do so, we use one year of data in each calculation. Because we are working with aquarterly series, we will use four data values in each moving average. The moving average calculation for the first four quarters of the television set sales data is

35.54

5.60.61.48.4

AverageMovingFirst

Page 53: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

53

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

We next add the 5.8 value for the first quarter of year 2 and drop the 4.8 for the first quarter of year 1.Thus, the second moving average is

Similarly, the third moving average calculation is 5.875.

60.54

8.55.60.61.4

AverageMovingSecond

Page 54: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

54

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

Table 4-8 shows a complete summary of the centered moving average calculations for the television set sales data.

What do the centered moving averages in Table 4-8 tell us about this time series? Figure 4-12 is a plot of the actual time series values and the centered moving average values. Note particularly how the centered moving average values tend to “smooth out” both the seasonal and irregular fluctuations in the time series.

Page 55: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

55

Page 56: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

56

Page 57: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

57

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

Each point in the centered moving average represents the value of the time series as though there were no seasonal or irregular influence.

By dividing each time series observation by the corresponding centered moving average, we can identify the seasonal irregular effect in the time series.

Page 58: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

58

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

For example, the third quarter of year 1 shows 6.0/5.475 = 1.096 as the combined seasonal irregular value. Table 4-9 summarizes the seasonal irregular values for the entire time series.

We refer to 1.09 as the seasonal index for the third quarter. In Table 4-10 we summarize the calculations involved in computing the seasonal indexes for the television set sales time series.

Page 59: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

59

TABLE 4.9 SEASONAL IRREGULAR VALUES FOR THE TV SET SALES TIME SERIES

Year Quarter Sales (1000s)Centered

Moving AverageSeasonal

Irregular Value1 1 4.8

2 4.13 6 5.475 1.0964 6.5 5.738 1.133

2 1 5.8 5.975 0.9712 5.2 6.188 0.843 6.8 6.325 1.0754 7.4 6.4 1.156

3 1 6 6.538 0.9182 5.6 6.675 0.8393 7.5 6.763 1.1094 7.8 6.838 1.141

4 1 6.3 6.938 0.9082 5.9 7.075 0.8343 84 8.4

Page 60: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

60

TABLE 4-10 SEASONAL INDEX CALCULATIONS FOR FOR TV SET SALES TIME SERIESQuarter Seasonal Irregular Component Values (St, It) Seasonal Index St

1 0.971, 0.918, 0.908 0.932 0.840, 0.839, 0.834 0.843 1.096, 1.075, 1.109 1.094 1.133, 1.156, 1.141 1.14

Page 61: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

61

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

Interpretation of the values in Table 4-10 provides some observations about the seasonal component in television set sales.

The best sales quarter is the fourth quarter, with sales averaging 14%above the average quarterly value. The worst, or slowest, sales quarter is the second quarter; its seasonal index of 0.84 shows that the sales average is 16% below the average quarterly sales.

Page 62: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

62

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

4.4.3 Deseasonalizing the Time Series The purpose of finding seasonal indexes is to

remove the seasonal effects from a time series. This process is referred to as deseasonalizing the time series.

Economic time series adjusted for seasonal variations (deseasonalized time series) are often reported in publications such as the Survey of Current Business, The Wall Street Journal, and Business Week.

Page 63: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

63

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

By dividing each time series observation by the corresponding seasonal index, we have removed the effect of season from the time series.

The deseasonalized time series for television set sales is summarized in Table 4-11. A graph of the deseasonalized television set sales time series is shown in Figure 4-13.

Page 64: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

64

Page 65: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

65

Page 66: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

66

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

4.4.4 Using the Deseasonalized Time Series to Identify Trend Although the graph in Figure 4-13 shows some

random up and down movement over the past 16 quarters, the time series seems to have an upward linear trend.

To identify this trend, we will use the same procedure as in the preceding section; in this case, the data are quarterly deseasonalized sales values.

Page 67: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

67

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

Thus, for a linear trend, the estimated sales volume expressed as a function of time is

As before, t =1 corresponds to the time of the first observation for the time series, t= 2 corresponds to the time of the second observation, and so on.

tbbTt 10

Page 68: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

68

t Yt (Deseasonalized) tYt t² 1 5.16 5.16 1 2 4.88 9.76 4 3 5.5 16.5 9 4 5.7 22.8 16 5 6.24 31.2 25 6 6.19 37.14 36 7 6.24 43.68 49 8 6.49 51.92 64 9 6.45 58.05 81

10 6.67 66.7 100 11 6.88 75.68 121 12 6.84 82.08 144 13 6.77 88.01 169 14 7.02 98.28 196 15 7.34 110.1 225 16 7.37 117.92 256

Totals 101.74 914.98 1496

Page 69: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

69

101.5)5.8(148.0359.6

148.016/)136(1496

16/)74.101(13698.914

/

/

359.616

74.101

6.1316

136

10

2221

tbYb

ntt

nYtYtb

Y

t

tt

tTt 148.0101.5

Page 70: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

70

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

The slope of 0.148 indicates that over the past 16 quarters, the firm has had an average deseasonalized growth in sales of around 148 sets per quarter.

For example, substituting t = 17 into the equation yields next quarter’s trend projection, T17

617.7)17(148.0101.517 T

Page 71: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

71

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

4.4.5 Seasonal Adjustments The final step in developing the forecast

when both trend and seasonal components are present is to use the seasonal index to adjust the trend projection.

Returning to the television set sales example, Table 4-12 gives the quarterly forecast for quarters 17 through 20.

Page 72: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

72

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

4.4.6 Models Based on Monthly Data Many businesses use monthly rather than

quarterly forecasts. In such cases, the procedures introduced in this section can be applied with minor modifications.

First, a 12-month moving average replaces the 4-quarter moving average; second,12 monthly seasonal indexes, rather than four quarterly seasonal indexes, must be computed. Other than these changes, the computational and forecasting procedures are identical.

Page 73: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

73

4-4 4-4 TREND AND SEASONAL TREND AND SEASONAL COMPONENTSCOMPONENTS

4.4.7 Cyclical Component

The cyclical component is expressed as a percentage of the trend. This component is attributable to multiyear cycles in the time series. Because of the length of time involved, obtaining enough relevant data to estimate the cyclical component is often difficult. Another difficulty is that cycles usually vary in length.

ttttt ISCTY

Page 74: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

74

4.5 REGRESSION MODELS4.5 REGRESSION MODELS

16.6.1 Finding the Linear Regression Model The first step to analyzing time series data is to

display the data using a scatter plot.

After you construct a scatter plot and visually examine the time series data, you may observe a clear upward or downward linear trend. In this case you should try a regression model.

However, it is not always crystal clear that there is a trend in the data. This is the case with the FWC time series we have been working with.

Page 75: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

75

16.6.1 Finding the Linear Regression Model There appears to be a slight upward trend, but

is that enough to warrant the use of regression?

When using regression to model time series data, the independent variable is time and the dependent variable is the variable you are interested in forecasting. The prediction model thus becomes

tbby 10ˆ

4.5 REGRESSION MODELS4.5 REGRESSION MODELS

Page 76: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

76

Page 77: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

77

Page 78: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

78

Page 79: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

79

16.6.2 Evaluating the Regression Model We have been using the mean square error to

evaluate the moving average and exponential smoothing models. This is easily done for the regression model because any software package that you use to run the regression model will calculate the predicted values and the residuals for each value of yt.

These residuals can then be squared and averaged to get the MSE. These values are shown in the next example, Example 16.10.

4.5 REGRESSION MODELS4.5 REGRESSION MODELS

Page 80: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

80

Page 81: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

81

Page 82: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

82

16.6.2 Evaluating the Regression Model If historical data are not available,

managers must use a qualitative technique to develop forecasts.

But the cost of using qualitative techniques can be high because of the time commitment required from the people involved.

4.6 4.6 QUALITATIVE APPROACHESQUALITATIVE APPROACHES

Page 83: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

83

4.6.1 Delphi Method Delphi method is originally developed by a

research group at the Rand Corporation. It is an attempt to develop forecasts through “group consensus.”

The members of a panel of experts —all of whom are physically separated from and unknown to each other —are asked to respond to a series of questionnaires.

4.6 4.6 QUALITATIVE APPROACHESQUALITATIVE APPROACHES

Page 84: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

84

The responses from the first questionnaire are tabulated and used to prepare a second questionnaire that contains information and opinions of the entire group.

Each respondent is then asked to reconsider and possibly revise his or her previous response in light of the group information provided. This process continues until the coordinator feels that some degree of consensus has been reached.

4.6 4.6 QUALITATIVE APPROACHESQUALITATIVE APPROACHES

Page 85: 1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 4 By Dr. Serhat Eren University OF PHOENIX.

85

The goal of the Delphi method is not to produce a single answer as output, but instead to produce a relatively narrow spread of opinions within which the majority of experts concur.

4.6.2 Expert Judgment4.6.3 Scenario Writing4.6.4 Intuitive Approaches

4.6 4.6 QUALITATIVE APPROACHESQUALITATIVE APPROACHES