Академический Документы
Профессиональный Документы
Культура Документы
Spectral Analysis
1. Spectral density: Facts and examples.
2. Spectral distribution function.
3. Wolds decomposition.
Spectral Analysis
Idea: decompose a stationary time series {Xt } into a combination of
sinusoids, with random (and uncorrelated) coefficients.
Just as in Fourier analysis, where we decompose (deterministic) functions
into combinations of sinusoids.
This is referred to as spectral analysis or analysis in the frequency
domain, in contrast to the time domain approach we have considered so far.
The frequency domain approach considers regression on sinusoids; the time
domain approach considers regression on past values of the time series.
sin
,
cos
sin2 + cos2 = 1,
tan =
k
X
j=1
(h) =
k
X
j2 cos(2j h),
j=1
Xt =
k
X
(h) =
k
X
j2 cos(2j h).
j=1
j=1
Thus, we can represent (h) using a Fourier series. The coefficients are the
variances of the sinusoidal components.
The spectral density is the continuous analog: the Fourier transform of .
(The analogous spectral representation of a stationary process Xt involves
a stochastic integrala sum of discrete components at a finite number of
frequencies is a special case. We wont consider this representation in this
course.)
Spectral density
If a time series {Xt } has autocovariance satisfying
P
h= |(h)| < , then we define its spectral density as
f () =
(h)e2ih
h=
(h)e2ih < .
1. We have h=
This is because |ei | = | cos + i sin | = (cos2 + sin2 )1/2 = 1,
and because of the absolute summability of .
2. f is periodic, with period 1.
This is true since e2ih is a periodic function of with period 1.
Thus, we can restrict the domain of f to 1/2 1/2. (The text
does this.)
1
X
(h)e2ih + (0) +
h=
f () =
1
X
(h)e2ih ,
h=1
(h)e2i(h) + (0) +
(h)e2i(h) ,
h=1
h=
(h)e2ih + (0) +
h=1
1
X
h=
= f ().
4. f () 0.
9
(h)e2ih
1/2
e2ih f () d.
1/2
1/2
e2ih f () d =
1/2
1/2
e2i(jh) (j) d
1/2 j=
(j)
j6=h
= (h) +
1/2
e2i(jh) d
1/2
j=
= (h) +
(j)
ei(jh) ei(jh)
2i(j h)
j6=h
10
(j h)
= (h).
Thus,
f () =
(h)e2ih
h=
2
= (0) = w
.
That is, the spectral density is constant across all frequencies: each
frequency in the spectrum contributes equally to the variance. This is the
origin of the name white noise: it is like white light, which is a uniform
mixture of all frequencies in the visible spectrum.
11
Example: AR(1)
|h|
2
For Xt = 1 Xt1 + Wt , we have seen that (h) = w
1 /(1 21 ). Thus,
2
X
|h| 2ih
w
f () =
(h)e2ih =
1 e
1 21
h=
h=
!
2
X
w
h
2ih
2ih
1+
1 e
=
+e
2
1 1
h=1
2i
2i
2
1 e
1 e
w
1+
+
=
1 21
1 1 e2i
1 1 e2i
2
w
1 1 e2i 1 e2i
=
(1 21 ) (1 1 e2i )(1 1 e2i )
2
w
.
=
2
1 21 cos(2) + 1
12
Examples
2
White noise: {Wt }, (0) = w
and (h) = 0 for h 6= 0.
2
f () = (0) = w
.
|h|
2
1 /(1 21 ).
AR(1): Xt = 1 Xt1 + Wt , (h) = w
f () =
2
w
.
121 cos(2)+21
13
Example: AR(1)
Spectral density of AR(1): Xt = +0.9 Xt1 + Wt
100
90
80
70
f()
60
50
40
30
20
10
0.05
0.1
0.15
0.2
0.25
14
0.3
0.35
0.4
0.45
0.5
Example: AR(1)
Spectral density of AR(1): Xt = 0.9 Xt1 + Wt
100
90
80
70
f()
60
50
40
30
20
10
0.05
0.1
0.15
0.2
0.25
15
0.3
0.35
0.4
0.45
0.5