SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES

Similar documents
SF2943: A FEW COMMENTS ON SPECTRAL DENSITIES

SF2943 TIME SERIES ANALYSIS: A FEW COMMENTS ON SPECTRAL DENSITIES

Long-range dependence

Time Series: Theory and Methods

3. ARMA Modeling. Now: Important class of stationary processes

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Contents. 1 Time Series Analysis Introduction Stationary Processes State Space Modesl Stationary Processes 8

Part III Example Sheet 1 - Solutions YC/Lent 2015 Comments and corrections should be ed to

ARMA Models: I VIII 1

EEM 409. Random Signals. Problem Set-2: (Power Spectral Density, LTI Systems with Random Inputs) Problem 1: Problem 2:

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Examples Sheet

Introduction to Time Series Analysis. Lecture 18.

STAT 443 Final Exam Review. 1 Basic Definitions. 2 Statistical Tests. L A TEXer: W. Kong

Strictly Stationary Solutions of Autoregressive Moving Average Equations

Chapter 9: Forecasting

Modeling and testing long memory in random fields

Chapter 5: Models for Nonstationary Time Series

Local Whittle Likelihood Estimators and Tests for non-gaussian Linear Processes

Chapter 4: Models for Stationary Time Series

Calculation of ACVF for ARMA Process: I consider causal ARMA(p, q) defined by

Reliability Theory of Dynamic Loaded Structures (cont.) Calculation of Out-Crossing Frequencies Approximations to the Failure Probability.

Fourier Analysis of Stationary and Non-Stationary Time Series

Covariances of ARMA Processes

E 4101/5101 Lecture 6: Spectral analysis

LECTURE 10 LINEAR PROCESSES II: SPECTRAL DENSITY, LAG OPERATOR, ARMA. In this lecture, we continue to discuss covariance stationary processes.

ON THE RANGE OF VALIDITY OF THE AUTOREGRESSIVE SIEVE BOOTSTRAP

ITSM-R Reference Manual

Ch 4. Models For Stationary Time Series. Time Series Analysis

Nonlinear time series

Time Series Analysis -- An Introduction -- AMS 586

Time series and spectral analysis. Peter F. Craigmile

A time series is a set of observations made sequentially in time.

A time series is called strictly stationary if the joint distribution of every collection (Y t

Applied time-series analysis

6.435, System Identification

Statistics of stochastic processes

Time Series Examples Sheet

Moving Average (MA) representations

γ 0 = Var(X i ) = Var(φ 1 X i 1 +W i ) = φ 2 1γ 0 +σ 2, which implies that we must have φ 1 < 1, and γ 0 = σ2 . 1 φ 2 1 We may also calculate for j 1

Cross Spectra, Linear Filters, and Parametric Spectral Estimation

Akaike criterion: Kullback-Leibler discrepancy

CHAPTER 2 RANDOM PROCESSES IN DISCRETE TIME

Statistics 349(02) Review Questions

A Diagnostic for Seasonality Based Upon Autoregressive Roots

Introduction to Time Series Analysis. Lecture 15.

Part II. Time Series

7. MULTIVARATE STATIONARY PROCESSES

CH5350: Applied Time-Series Analysis

STAD57 Time Series Analysis. Lecture 23

Wavelet domain test for long range dependence in the presence of a trend

Extremogram and Ex-Periodogram for heavy-tailed time series

Basics on 2-D 2 D Random Signal

AN IDENTIFICATION ALGORITHM FOR ARMAX SYSTEMS

Extremogram and ex-periodogram for heavy-tailed time series

Time series models in the Frequency domain. The power spectrum, Spectral analysis

Statistics of Stochastic Processes

3 Theory of stationary random processes

Lecture 16: State Space Model and Kalman Filter Bus 41910, Time Series Analysis, Mr. R. Tsay

Outline. STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8) Summary Statistics of Midterm Scores

STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8)

9. Multivariate Linear Time Series (II). MA6622, Ernesto Mordecki, CityU, HK, 2006.

ECON 616: Lecture 1: Time Series Basics

Parametric Inference on Strong Dependence

Lesson 9: Autoregressive-Moving Average (ARMA) models

distributed approximately according to white noise. Likewise, for general ARMA(p,q), the residuals can be expressed as

TAKEHOME FINAL EXAM e iω e 2iω e iω e 2iω

Levinson Durbin Recursions: I

Chapter 6: Model Specification for Time Series

Identifiability, Invertibility

X random; interested in impact of X on Y. Time series analogue of regression.

Class 1: Stationary Time Series Analysis

Covariance Stationary Time Series. Example: Independent White Noise (IWN(0,σ 2 )) Y t = ε t, ε t iid N(0,σ 2 )

Practical Spectral Estimation

Lecture 1: Fundamental concepts in Time Series Analysis (part 2)

Levinson Durbin Recursions: I

ECE 564/645 - Digital Communications, Spring 2018 Homework #2 Due: March 19 (In Lecture)

A6523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring

X t = a t + r t, (7.1)

Stat 248 Lab 2: Stationarity, More EDA, Basic TS Models

Asymptotically Efficient Nonparametric Estimation of Nonlinear Spectral Functionals

Econ 623 Econometrics II Topic 2: Stationary Time Series

Signal Modeling Techniques in Speech Recognition. Hassan A. Kingravi

Introduction to Spectral and Time-Spectral Analysis with some Applications

The autocorrelation and autocovariance functions - helpful tools in the modelling problem

EC402: Serial Correlation. Danny Quah Economics Department, LSE Lent 2015

Nonparametric and Parametric Defined This text distinguishes between systems and the sequences (processes) that result when a WN input is applied

Lecture Notes 7 Stationary Random Processes. Strict-Sense and Wide-Sense Stationarity. Autocorrelation Function of a Stationary Process

Ch. 14 Stationary ARMA Process

5: MULTIVARATE STATIONARY PROCESSES

Figure 18: Top row: example of a purely continuous spectrum (left) and one realization

Digital Image Processing

6.3 Forecasting ARMA processes

Estimating trends using filters

Gaussian processes. Basic Properties VAG002-

Time Series. Anthony Davison. c

Chapter 3 - Temporal processes

{ ϕ(f )Xt, 1 t n p, X t, n p + 1 t n, { 0, t=1, W t = E(W t W s, 1 s t 1), 2 t n.

Acomplex-valued harmonic with a time-varying phase is a

White noise processes

Transcription:

SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES This document is meant as a complement to Chapter 4 in the textbook, the aim being to get a basic understanding of spectral densities through specific examples; this is not a replacement for the material in the Brockwell and Davis. Some of the time series we consider in this note are (1) (2) (3) (4) X t 0.7X t 1 = Z t + 0.8Z t 1, X t + 0.7X t 1 + 0.8X t 2 = Z t, X t + 0.7X t 1 = Z t, X t 0.7X t 1 = Z t, where {Z t } is a sequence of i.i.d. Gaussian random variables. The associated AR-polynomials all have roots located outside the unit circle, thus (1)-(4) are all examples of causal processes. As a preliminary investigation, we study how the linear systems defined above transform the deterministic input (z 1, z 2,... ) = (1, 0,... ) to output (x 1, x 2,... ). The result is shown in Figures 1-4. Notice for example the periodic behaviors of the AR(1) process (3) and the AR(2) process (2). 1.0 0.0 1.0 0 1 2 3 4 5 6 7 8 9 10 12 14 15 16 18 20 Figure 1. X t defined in (1) with deterministic input. Next, we use the spectral densities of (1)-(4) to (partially) understand the behaviors observed in Figures 1-4. Recall that a zero-mean stationary process with absolutely summable 1

2 SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES 0.5 0.0 0.5 1.0 0 1 2 3 4 5 6 7 8 9 10 12 14 15 16 18 20 Figure 2. X t defined in (2) with deterministic input. 1.0 0.0 1.0 0 1 2 3 4 5 6 7 8 9 10 12 14 15 16 18 20 Figure 3. X t defined in (3) with deterministic input. acvf γ has spectral density (5) f(λ) = 1 2π h= e ihλ γ(h). Because of both sine and cosine have period 2π it suffices to consider frequencies λ ( π, π]. Moreover, we showed in class that the spectral density is a real-valued, nonnegative even function - f(λ) = f( λ) - and so it is sufficient consider λ [0, π] Using a result for time-invariant linear filters (see Section 4.3 in the textbook) we showed (Proposition 4.4.1) that a causal ARMA(p, q) process has spectral density f(λ) = σ2 θ(e iλ ) 2 2π φ(e iλ ) 2, λ [ π, π],

SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES 3 1.0 0.0 1.0 0 1 2 3 4 5 6 7 8 9 10 12 14 15 16 18 20 Figure 4. X t defined in (4) with deterministic input. where σ 2 is the variance of the underlying noise sequence. Using this we can compute, for example, the spectral density of a causal AR(1) process: f(λ) = σ2 2π 1 1 φ 1 e iλ 2 = σ2 2π 1 (1 φ 1 cos(λ)) 2 + (φ 1 sin(λ)) 2 = σ2 2π 1 1 2φ 1 cos(λ) + φ 2. 1 We could of course also compute the spectral density from the original definition, using that the acvf is γ(h) = σ 2 φ h 1 /(1 φ2 1 ). Now, consider the two AR(1) processes (3) and (4). Both processes have φ = 0.7 and the difference is the sign; for a φ < 0 there is a periodic behavior (Figure 3) whereas for φ > 0 there is not. By studying the spectral density, we see that for φ 1 > 0 (the process (4)) the denominator in the expression for f is minimized for λ close to zero. Hence f is maximized for such low frequencies, and similarly minimized for high frequencies (λ close to π); the spectral density is shown in Figure 5. By the same arguments, for the process (3) the spectral density is large for high-frequency components (λ close to π) and small for low frequencies, see Figure 6. This suggests a period of 2π/π = 2, which is consistent with Figure 3. The spectral density for a causal AR(2) process with coefficients (φ 1, φ 2 ) is obtained completely analogous to the AR(1) case. Moreover, it is straightforward to check that the denominator of the spectral density has an extreme point in λ such that cos λ = φ 1(φ 2 1) 4φ 2.

4 SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES 0.0 0.5 1.0 1.5 Figure 5. Spectral density f for (4). 0.0 0.5 1.0 1.5 Figure 6. Spectral density f for (3). One can then investigate either a plot of the spectral density or, more rigorous, the second derivative of the denominator to conclude whether the extreme of the denominator corresponds to a maximum or a minimum of the spectral density. The AR(2) process in (2) has φ 1 = 0.7 and φ 2 = 0.8, which amounts to a maximizing frequency λ arccos( 0.39) 1.98. This in turn corresponds to a period of 2π/λ 3, consistent with what we see in Figure 2; the spectral density is shown in Figure 7. Lastly, the spectral density of an ARMA(1, 1) process is easily found to be f(λ) = σ2 (1 + θ 2 + 2θ cos(λ)) 1 + φ 2. 2φ cos(λ)

SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES 5 0 1 2 3 4 Figure 7. Spectral density f for (2). The spectral density for the ARMA(1, 1) process defined by (1) is shown in Figure 8. Similar to the AR(1) process (2) the spectral density is large for low frequencies, which is consistent with the lack of any periodic behavior in Figure 1. 0 1 2 3 4 5 Figure 8. Spectral density f for (1). To further illustrate the information contained in the spectral density, consider the AR(12) process (6) X t φ 12 X t 12 = Z t, where as before Z t has variance 1. A realization of this process, with φ 12 = 0.2, is shown in Figure 9. The spectral density takes the form f(λ) = σ 2 2π(1 2φ 12 cos(12λ) + φ 2 12 ),

6 SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES 3 2 1 0 1 2 3 0 50 100 150 200 Figure 9. A realization of the process (1). 0.12 0.14 0.16 0.18 0.20 0.22 0.24 Figure 10. A realization of the process (6). which is periodic with period 2π/12 0.52; see Figure 10. We end this note by computing estimating the spectral density for the processes (1)-(4). Figures 11-14 show the raw, i.e., no smoothing, periodogram I n and the true spectral density; the periodogram, based on a sample {x 1,..., x n }, is defined as I n (λ) = 1 n 2 x t e itλ n t=1

SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES 7 Recall that I n is not a consistent estimator of the 2πf, but we can obtain consistent estimators by using so-called discrete spectral average estimators (see Section 4.2). These are simply a particular class of smoothed versions of the periodogram and for this note we are satisfied with the raw periodogram. Series: x Raw Periodogram spectrum 1e 03 1e 01 1e+01 0.0 0.1 0.2 0.3 0.4 0.5 frequency bandwidth = 0.00144 Figure 11. Raw periodogram and spectral density for (1). spectrum 0.01 0.10 1.00 50.00 Series: x Raw Periodogram 0.0 0.1 0.2 0.3 0.4 0.5 frequency bandwidth = 0.00144 Figure 12. Raw periodogram and spectral density for (2).

8 SF2943: TIME SERIES ANALYSIS COMMENTS ON SPECTRAL DENSITIES spectrum 0.02 0.20 2.00 20.00 Series: x Raw Periodogram 0.0 0.1 0.2 0.3 0.4 0.5 frequency bandwidth = 0.00144 Figure 13. Raw periodogram and spectral density for (3). Series: x Raw Periodogram spectrum 0.01 0.10 1.00 10.00 0.0 0.1 0.2 0.3 0.4 0.5 frequency bandwidth = 0.00144 Figure 14. Raw periodogram and spectral density for (4).