Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Eviews5 / EViews5 / Docs / EViews 5 Users Guide.pdf
Скачиваний:
152
Добавлен:
23.03.2015
Размер:
11.51 Mб
Скачать

350—Chapter 11. Series

3.Compute the seasonal indices. For monthly series, the seasonal index im for month m is the average of dt using observations only for month m . For quarterly series, the seasonal index iq for quarter q is the average of dt using observations only for quarter q .

4.We then adjust the seasonal indices so that they add up to zero. This is done by set-

ting sj = ij i where i is the average of all seasonal indices. These s are the reported scaling factors. The interpretation is that the series y is sj higher in period

jrelative to the adjusted series.

5.The seasonally adjusted series is obtained by subtracting the seasonal factors sj from yt .

The main difference between X11 and the moving average methods is that the seasonal factors may change from year to year in X11. The seasonal factors are assumed to be constant for the moving average method.

Exponential Smoothing

Exponential smoothing is a simple method of adaptive forecasting. It is an effective way of forecasting when you have only a few observations on which to base your forecast. Unlike forecasts from regression models which use fixed coefficients, forecasts from exponential smoothing methods adjust based upon past forecast errors. For additional discussion, see Bowerman and O’Connell (1979).

To obtain forecasts based on exponential smoothing methods, choose Proc/Exponential Smoothing. The Exponential Smoothing dialog box appears:

You need to provide the following information:

Smoothing Method. You have the option to choose one of the five methods listed.

Smoothing Parameters. You can either specify the values of the smoothing parameters or let EViews estimate them.

To estimate the parameter, type the letter e (for estimate) in the edit field. EViews estimates the parameters by minimizing the sum of squared errors. Don't be surprised if the

Exponential Smoothing—351

estimated damping parameters are close to one—it is a sign that the series is close to a random walk, where the most recent value is the best estimate of future values.

To specify a number, type the number in the field corresponding to the parameter. All parameters are constrained to be between 0 and 1; if you specify a number outside the unit interval, EViews will estimate the parameter.

Smoothed Series Name. You should provide a name for the smoothed series. By default, EViews will generate a name by appending SM to the original series name, but you can enter any valid EViews name.

Estimation Sample. You must specify the sample period upon which to base your forecasts (whether or not you choose to estimate the parameters). The default is the current workfile sample. EViews will calculate forecasts starting from the first observation after the end of the estimation sample.

Cycle for Seasonal. You can change the number of seasons per year from the default of 12 for monthly or 4 for quarterly series. This option allows you to forecast from unusual data such as an undated workfile. Enter a number for the cycle in this field.

Single Smoothing (one parameter)

This single exponential smoothing method is appropriate for series that move randomly above and below a constant mean with no trend nor seasonal patterns. The smoothed series yˆ t of yt is computed recursively, by evaluating:

ˆ

ˆ

(11.34)

yt =

αyt + ( 1 − α)yt − 1

where 0 < α ≤ 1 is the damping (or smoothing) factor. The smaller is the α , the smoother

ˆ

series. By repeated substitution, we can rewrite the recursion as

 

is the yt

 

 

ˆ

 

 

t − 1

s

 

 

 

=

α

Σ ( 1 − α)

yt s

(11.35)

 

yt

 

s = 0

This shows why this method is called exponential smoothing—the forecast of yt is a weighted average of the past values of yt , where the weights decline exponentially with time.

The forecasts from single smoothing are constant for all future observations. This constant is given by:

ˆ

ˆ

for all k > 0

(11.36)

yT + k =

yT

where T is the end of the estimation sample.

 

 

 

 

ˆ

α . EViews uses the

To start the recursion, we need an initial value for yt and a value for

mean of the initial observations of yt

to start the recursion. Bowerman and O’Connell

352—Chapter 11. Series

(1979) suggest that values of α around 0.01 to 0.30 work quite well. You can also let EViews estimate α to minimize the sum of squares of one-step forecast errors.

Double Smoothing (one parameter)

This method applies the single smoothing method twice (using the same parameter) and is appropriate for series with a linear trend. Double smoothing of a series y is defined by the recursions:

St

= αyt

+ ( 1 − α)St − 1

(11.37)

Dt = αSt + ( 1 − α) Dt − 1

where S is the single smoothed series and D is the double smoothed series. Note that

double smoothing is a single parameter smoothing method with damping factor

0 < α ≤ 1 .

Forecasts from double smoothing are computed as:

ˆ

 

=

 

2 +

αk

 

 

S

 

 

1

 

 

αk

 

D

 

y

T + k

 

------------

 

 

 

+ ------------

 

 

 

 

 

 

1 − α

 

T

 

 

 

1 − α

 

T

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(11.38)

 

 

=

 

2S

 

D

 

 

 

 

α

 

 

 

 

D

 

)k

 

 

 

 

+ ------------( S

 

 

 

 

 

 

 

T

 

T

 

 

1

α

 

T

 

T

 

 

The last expression shows that forecasts from double smoothing lie on a linear trend with intercept 2ST DT and slope α( ST DT) ⁄ ( 1 − α) .

Holt-Winters—Multiplicative (three parameters)

This method is appropriate for series with a linear time trend and multiplicative seasonal variation. The smoothed series yˆ t is given by,

ˆ

= ( a + bk) ct + k

(11.39)

yt + k

where

apermanent component (intercept)

b

trend

(11.40)

ct

multiplicative seasonal factor

 

These three coefficients are defined by the following recursions:

Exponential Smoothing—353

a( t)

yt

+ ( 1 − α) ( a( t − 1 ) + b( t

− 1) )

= α--------------------

 

ct( t s)

 

 

 

b( t)

= β( a( t) − a( t − 1) ) + ( 1 − β) b( t − 1)

(11.41)

ct( t)

yt

 

γ) ct( t s )

 

= γ--------- + ( 1

 

 

a( t)

 

 

 

where 0 < α, β, γ < 1 are the damping factors and s is the seasonal frequency specified in the Cycle for Seasonal field box.

Forecasts are computed by:

 

 

 

ˆ

=

( a( T ) + b( T) k) cT + k s

(11.42)

yt + k

where the seasonal factors are used from the last s estimates.

Holt-Winters—Additive (three parameter)

This method is appropriate for series with a linear time trend and additive seasonal varia-

tion. The smoothed series ˆ t is given by: y

ˆ

(11.43)

yt + k = a + bk + ct + k

where a and b are the permanent component and trend as defined above in

Equation (11.40) and c are the additive seasonal factors. The three coefficients are defined by the following recursions:

a( t)

= α( yt ct( t s) ) + ( 1 − α )( a( t − 1 ) + b( t − 1) )

 

b( t)

= β( a( t) − a( t − 1) ) + 1 − βb( t − 1)

(11.44)

ct( t)

= γ( yt a( t + 1) ) −γct( t s)

 

where 0 < α, β, γ < 1 are the damping factors and s is the seasonal frequency specified in the Cycle for Seasonal field box.

Forecasts are computed by:

 

 

ˆ

= a( T) + b( T )k + cT + k s

(11.45)

yT + k

where the seasonal factors are used from the last s estimates.

Holt-Winters—No Seasonal (two parameters)

This method is appropriate for series with a linear time trend and no seasonal variation. This method is similar to the double smoothing method in that both generate forecasts with a linear trend and no seasonal component. The double smoothing method is more parsimonious since it uses only one parameter, while this method is a two parameter

method. The smoothed series ˆ t is given by: y

354—Chapter 11. Series

yˆ t + k = a + bk

where a and b are the permanent component and trend as defined above in Equation (11.40).

These two coefficients are defined by the following recursions:;

a( t) = αyt + ( 1 − α) ( a( t − 1 ) + b( t − 1) ) b( t) = β( a( t) − a( t − 1) ) + 1 − βb( t − 1)

(11.46)

(11.47)

where 0 < α, β, γ < 1 are the damping factors. This is an exponential smoothing method with two parameters.

Forecasts are computed by:

ˆ

= a( T) + b( T )k

(11.48)

yT + k

These forecasts lie on a linear trend with intercept a( T ) and slope b( T) .

It is worth noting that Holt-Winters—No Seasonal, is not the same as additive or multiplicative with γ = 0 . The condition γ = 0 only restricts the seasonal factors from changing over time so there are still (fixed) nonzero seasonal factors in the forecasts.

Illustration

As an illustration of forecasting using exponential smoothing we forecast data on monthly housing starts (HS) for the period 1985M01–1988M12 using the DRI Basics data for the period 1959M01–1984M12. These data are provided in the workfile HS.WF1. Load the workfile, highlight the HS series, double click, select Proc/Exponential Smoothing…. We use the Holt-Winters—multiplicative method to account for seasonality, name the smoothed forecasts as HS_SM, and estimate all parameters over the period 1959M1– 1984M12.

When you click OK, EViews displays the results of the smoothing procedure. The first part displays the estimated (or specified) parameter values, the sum of squared residuals, the root mean squared error of the forecast. The zero values for Beta and Gamma in this example mean that the trend and seasonal components are estimated as fixed and not changing.

Exponential Smoothing—355

Date: 10/15/97

Time: 00:57

 

Sample: 1959:01 1984:12

 

Included observations: 312

 

Method: Holt-Winters Multiplicative Seasonal

 

Original Series: HS

 

Forecast Series: HS_SM

 

 

 

 

Parameters:

Alpha

0.7100

 

Beta

0.0000

 

Gamma

0.0000

Sum of Squared Residuals

40365.69

Root Mean Squared Error

11.37441

 

 

 

The second part of the table displays the mean (α) , and trend (β) at the end of the estimation sample that are used for post-sample smoothed forecasts.

End of Period Levels:

Mean

134.6584

 

Trend

0.064556

 

Seasonals: 1984:01

0.680745

 

1984:02

0.711559

 

1984:03

0.992958

 

1984:04

1.158501

 

1984:05

1.210279

 

1984:06

1.187010

 

1984:07

1.127546

 

1984:08

1.121792

 

1984:09

1.050131

 

1984:10

1.099288

 

1984:11

0.918354

 

1984:12

0.741837

 

 

 

For seasonal methods, the seasonal factors (γ) used in the forecasts are also displayed. The smoothed series in the workfile contains data from the beginning of the estimation sample to the end of the workfile range; all values after the estimation period are forecasts.

When we plot the actual values and the smoothed forecasts on a single graph, we get:

Соседние файлы в папке Docs