Presentation is loading. Please wait.

Presentation is loading. Please wait.

Time Series Spectral Representation Z(t) = {Z 1, Z 2, Z 3, … Z n } Any mathematical function has a representation in terms of sin and cos functions.

Similar presentations


Presentation on theme: "Time Series Spectral Representation Z(t) = {Z 1, Z 2, Z 3, … Z n } Any mathematical function has a representation in terms of sin and cos functions."— Presentation transcript:

1 Time Series Spectral Representation Z(t) = {Z 1, Z 2, Z 3, … Z n } Any mathematical function has a representation in terms of sin and cos functions.

2 Spectral Analysis Represent a time series in terms of the wavelengths associated with oscillations, rather than individual data values The spectral density function describes the distribution of these wavelengths Spectral analysis involves estimating the spectral density function. Fourier analysis involves representing a function as a sum of sin and cos terms and is the basis for spectral analysis

3 Why Spectral Analysis Yields insight regarding hidden periodicities and time scales involved Provides the capability for more general simulation via sampling from the spectrum Supports analytic representation of linear system response through its connection to the convolution integral Is widely used in many fields of data analysis

4 Frequency and Wavenumber Due to orthogonality of Sin and Cos functions cycles/timeradians/time

5 Frequency Limits Lowest frequency resolved Highest frequency resolved, corresponds to n/2 (Nyquist frequency) General case, time interval ∆t

6 Aliasing Due to discretization, a sparsely sampled high frequency process may be erroneously attributed to a lower frequency

7 Example. Fourier representation of streamflow

8 Equivalent complex number representation Note: Integer truncation is used in the sum limits. For example if n=5 (odd) the limits are -2, 2. If n=6 (even) the limits are -2, 3. (Same number of fourier coefficients as data points) Complex conjugate pair

9 Fourier representation of an infinite (non periodic) discrete series Discrete transform pair Lowest frequency Highest frequency Spacing As

10 Fourier representation of an infinite (non periodic) discrete series Discrete transform pair Re-center on [(-n-1)/2, (n-1)/2] for

11 Fourier transforms for discrete function on infinite domain (aperiodic) Wei section 10.5

12 Fourier transforms for continuous function on finite domain (periodic) Wei section 10.6.1

13 Fourier transforms for continuous function on infinite domain (aperiodic) Wei section 10.6.2

14 Frequency domain representation of a random process Z(t) and C(w) are alternative equivalent representations of the data If Z(t) is a random process C(w) is also random ACF(Z(t))≡Spectral density function(C(w))

15 Spectral decomposition of any function

16 Spectral representation of a stationary random process Time Series Smoothing Fourier Transform Autocorrelation Fourier Transform Fourier coefficients Spectral density function Autocorrelation function

17 Time Domain Frequency Domain Z 1, Z 2, Z 3, … C 1, C 2, C 3, …

18 The Periodogram |C k | 2 is random because Z t is random Power at low frequency Persistence indicated by ACF Decomposition of variance |C k | 2 k/n Wei section 12.1

19 r=0.9 r=0.2 Time Domain

20 r=0.9 r=0.2 Frequency Domain

21 The Spectral Density Function The spectral density function is defined as S(w)dw=E(|C(w)| 2 ) Wei section 12.2, 12.3

22 Problem Estimating S(w) Z(t) Stationary C(w) Independent |C(w)| 2 has 2 degrees of freedom (from real and imaginary parts More data ∆w gets smaller, but still 2 degrees of freedom n=50 n=200

23 S(w) estimated by smoothing the periodogram Balance Spectral resolution versus precision Tapering to minimize leakage to adjacent frequencies Confidence bounds by  2 based on number of degrees of freedom involved with smoothing Multitaper methods A lot of lore

24 Different degrees of smoothing

25 Spectral analysis gives us Decomposition of process into dominant frequencies Diagnosis and detection of periodicities and repeatable patterns Capability to, through sampling from the spectrum, simulate a process with any S(w) and hence any Cov(  ) By comparison of input and output spectra infer aspects of the process based on which frequencies are attenuated and which propagate through


Download ppt "Time Series Spectral Representation Z(t) = {Z 1, Z 2, Z 3, … Z n } Any mathematical function has a representation in terms of sin and cos functions."

Similar presentations


Ads by Google