04.01.2013 Views

Springer - Read

Springer - Read

Springer - Read

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 1-20<br />

Smoothing with a<br />

low-pass linear filter.<br />

1.5 Estimation and Elimination of Trend and Seasonal Components 27<br />

data {Xt} and removes from it the rapidly fluctuating (or high frequency) component<br />

{ ˆYt} to leave the slowly varying estimated trend term {ˆmt} (see Figure 1.20).<br />

The particular filter (1.5.5) is only one of many that could be used for smoothing.<br />

For large q, provided that (2q + 1) −1 q<br />

j−q Yt−j ≈ 0, it not only will attenuate<br />

noise but at the same time will allow linear trend functions mt c0 + c1t to pass<br />

without distortion (see Problem 1.11). However, we must beware of choosing q to<br />

be too large, since if mt is not linear, the filtered process, although smooth, will not<br />

be a good estimate of mt. By clever choice of the weights {aj} it is possible (see<br />

Problems 1.12–1.14 and Section 4.3) to design a filter that will not only be effective<br />

in attenuating noise in the data, but that will also allow a larger class of trend functions<br />

(for example all polynomials of degree less than or equal to 3) to pass through without<br />

distortion. The Spencer 15-point moving average is a filter that passes polynomials<br />

of degree 3 without distortion. Its weights are<br />

with<br />

and<br />

aj 0, |j| > 7,<br />

aj a−j, |j| ≤7,<br />

[a0,a1,...,a7] 1<br />

[74, 67, 46, 21, 3, −5, −6, −3]. (1.5.6)<br />

320<br />

Applied to the process (1.5.2) with mt c0 + c1t + c2t 2 + c3t 3 ,itgives<br />

7<br />

7<br />

7<br />

7<br />

ajXt−j ajmt−j + ajYt−j ≈ ajmt−j mt,<br />

j−7<br />

j−7<br />

j−7<br />

j−7<br />

where the last step depends on the assumed form of mt (Problem 1.12). Further details<br />

regarding this and other smoothing filters can be found in Kendall and Stuart (1976),<br />

Chapter 46.<br />

(b) Exponential smoothing. For any fixed α ∈ [0, 1], the one-sided moving<br />

averages ˆmt, t 1,...,n, defined by the recursions<br />

and<br />

ˆmt αXt + (1 − α) ˆmt−1, t 2,...,n, (1.5.7)<br />

ˆm1 X1<br />

(1.5.8)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!