Introduction to Time Series Analysis. Lecture 18. 1. Review: Spectral density, rational spectra, linear filters.
2. Frequency response of linear filters. 3. Spectral estimation
4. Sample autocovariance
5. Discrete Fourier transform and the periodogram
1 Review: Spectral density
If a time series X has autocovariance γ satisfying { t} ∞ γ(h) < , then we define its spectral density as h=−∞ | | ∞ ∞ f(ν)= γ(h)e−2πiνh h= −∞ for <ν< . We have −∞ ∞ 1/2 γ(h)= e2πiνhf(ν) dν. −1/2
2 Review: Rational spectra
For a linear time series with MA( ) polynomial ψ, ∞ 2 2πiν 2 f(ν)= σw ψ e . If it is an ARMA(p,q), we have
2 θ(e−2πiν ) f(ν)= σ2 w φ (e−2πiν) 2 q − 2πiν 2 θ e zj = σ2 q j=1 − , w 2 p −2πiν 2 φp e pj j=1 | − | where z1,...,zq are the zeros (roots of θ(z)) and p1,...,pp are the poles (roots of φ(z)).
3 Review: Time-invariant linear filters
A filter is an operator; given a time series X , it maps to a time series { t} Y . A linear filter satisfies { t} ∞ Yt = at,jXj. j= −∞ time-invariant: at,t−j = ψj : ∞ Yt = ψjXt−j. j= −∞ causal: j < 0 implies ψj = 0. ∞ Yt = ψj Xt−j. j=0
4 Time-invariant linear filters
The operation ∞ ψjXt−j j= −∞ is called the convolution of X with ψ.
5 Time-invariant linear filters
The sequence ψ is also called the impulse response, since the output Y of { t} the linear filter in response to a unit impulse,
1 if t = 0, Xt = 0 otherwise, is ∞ Yt = ψ(B)Xt = ψj Xt−j = ψt. j= −∞
6 Introduction to Time Series Analysis. Lecture 18. 1. Review: Spectral density, rational spectra, linear filters.
2. Frequency response of linear filters. 3. Spectral estimation
4. Sample autocovariance
5. Discrete Fourier transform and the periodogram
7 Frequency response of a time-invariant linear filter
Suppose that X has spectral density f (ν) and ψ is stable, that is, { t} x ∞ ψ < . Then Y = ψ(B)X has spectral density j=−∞ | j | ∞ t t 2πiν 2 fy(ν)= ψ e fx(ν). The function ν ψ(e2πiν ) (the polynomial ψ(z) evaluated on the unit → circle) is known as the frequency response or transfer function of the linear filter. The squared modulus, ν ψ(e2πiν ) 2 is known as the power transfer → | | function of the filter.
8 Frequency response of a time-invariant linear filter
For stable ψ, Yt = ψ(B)Xt has spectral density
2πiν 2 fy(ν)= ψ e fx(ν). We have seen that a linear process, Yt = ψ(B)Wt, is a special case, since f (ν)= ψ(e2πiν ) 2σ2 = ψ(e2πiν ) 2f (ν). y | | w | | w When we pass a time series X through a linear filter, the spectral density { t} is multiplied, frequency-by-frequency, by the squared modulus of the frequency response ν ψ(e2πiν ) 2. → | | This is a version of the equality Var(aX)= a2Var(X), but the equality is true for the component of the variance at every frequency. This is also the origin of the name ‘filter.’
9 Frequency response of a filter: Details
2πiν 2 Why is fy(ν)= ψ e fx(ν)? First, ∞ ∞ γy(h)= E ψj Xt−j ψkXt+h−k j= −∞ k= −∞ ∞ ∞ = ψj ψkE [Xt+h−kXt−j] j= −∞ k= −∞ ∞ ∞ ∞ ∞ = ψ ψ γ (h + j k)= ψ ψ γ (l). j k x − j h+j−l x j= −∞ k= −∞ j= −∞ l= −∞
It is easy to check that ∞ ψ < and ∞ γ (h) < imply j=−∞ | j | ∞ h=−∞ | x | ∞ that ∞ γ (h) <