ST414 – Spectral Analysis of Time Series Data Lecture 3 11 February 2014 Last Time • Introduced the periodogram • Introduced the spectral density function • Derived the spectral density function for time series models 2 Today’s Objectives • Resume discussion on the periodogram • The smoothed periodogram • Asymptotic considerations 3 The Periodogram The Discrete Fourier transform: π π = π −1/2 π π =π −1/2 π‘=1 π π‘=1 π π π‘ exp −2πππ‘ π π π π‘ cos 2ππ‘ π π −π π‘=1 π π π‘ sin 2ππ‘ π 4 The Periodogram The periodogram: πΌ ππ = π ππ 2 5 The Spectral Density Let βππ |πΎ β | < ∞. Then π π = πΎ β exp(−π2ππβ) βππ is called the spectral density function. Moreover, 1/2 πΎ β = exp π2ππβ π π ππ −1/2 6 White Noise Let X(t) be white noise with variance π 2 . What is πΎ β ? π 2 if β = 0 πΎ β = 0 if β > 0 What is π π ? π π = π2 7 MA(1) π π‘ = π π‘ + ππ(π‘ − 1) π π‘ is white noise (0, π 2 ) π 2 1 + π 2 if β = 0 πΎ β = π 2 π if |β| = 1 0 if β > 1 2 2 π π = π π + 2π cos 2ππ + 1 8 AR(1) π π‘ = ππ π‘ − 1 + π π‘ π π‘ is white noise (0, π 2 ) π 2πβ γ β = 1 − π2 π2 π π = 2 π − 2π cos 2ππ + 1 9 AR(1) 10 AR(1) Periodogram 11 AR(1) Periodogram (Averaged) 12 AR(1) 13 AR(1) Periodogram 14 AR(1) Periodogram (Averaged) 15 AR(1), T = 512 16 AR(1), T = 2048 17 AR(1), T = 8192 18 The Periodogram The periodogram is an (asymptotically) unbiased estimator, but it is not consistent. 19 Asymptotic Distribution of the Periodogram Let X(1), …, X(T) be Gaussian white noise with variance π 2 , and let π ππ (ππ ) = π −1/2 π π‘ cos 2ππ‘ππ π‘=1 π ππ (ππ ) = π −1/2 π π‘ sin 2ππ‘ππ π‘=1 20 Asymptotic Distribution of the Periodogram Verify that πΈ ππ ππ = πΈ ππ ππ =0 and πππ ππ ππ = πππ ππ ππ = π 2 /2 21 Asymptotic Distribution of the Periodogram πΆππ£ ππ ππ , ππ ππ =0 πΆππ£ ππ ππ , ππ ππ =0 πΆππ£ ππ ππ , ππ ππ =0 πΆππ£ ππ ππ , ππ ππ =0 for any π ≠ π. 22 Asymptotic Distribution of the Periodogram 2(ππ 2 ππ + ππ 2 ππ ) 2πΌ ππ 2 = ~π 2 2 π π(ππ ) This holds under more general conditions (e.g., linearity, rapidly decaying autocovariance function) 23 The Smoothed Periodogram Idea: borrow information from neighbouring frequencies. 24 The Smoothed Periodogram π ππ 1 = 2π + 1 π π=−π π πΌ(ππ + ) π 25 The Smoothed Periodogram Under appropriate conditions, 2(2π + 1)π ππ ~π 2 2(2π + 1) π(ππ ) 26 The Smoothed Periodogram 27 The Smoothed Periodogram 28 The Smoothed Periodogram 29 The Smoothed Periodogram 30 The Smoothed Periodogram Recall 2(2π + 1)π ππ ~π 2 2(2π + 1) π(ππ ) and so πππ(π ππ ) ≈ π 2 (ππ )/(2π + 1) 31 The Smoothed Periodogram Asymptotic framework for consistency: 1) π → ∞ 2) π = π π → ∞ 3) π π /π → 0 32 The Smoothed Periodogram 33 The Smoothed Periodogram 34 The Smoothed Periodogram 35 The Smoothed Periodogram More generally, π π ππ = π=−π where βπ ≥ 0, |π|≤π βπ π βπ πΌ(ππ + ) , π = 1, and βπ = β−π 36 The Smoothed Periodogram Asymptotic framework for consistency: 1) π → ∞ 2) π = π π → ∞ 3) π π /π → 0 4) 2 π π=−π βπ →0 37 The Smoothed Periodogram πΈ π ππ → π ππ 0 if π ≠ π πΆππ£ π π , π π → −1 π βπ 2 π 2 π if π = π ≠ 0, 0.5 π=−π 38 The Smoothed Periodogram 39 The Smoothed Periodogram 40