Time Series Analysis Henrik Madsen hm@imm.dtu.dk Informatics and - - PowerPoint PPT Presentation

time series analysis
SMART_READER_LITE
LIVE PREVIEW

Time Series Analysis Henrik Madsen hm@imm.dtu.dk Informatics and - - PowerPoint PPT Presentation

H. Madsen, Time Series Analysis, Chapmann Hall Time Series Analysis Henrik Madsen hm@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby Henrik Madsen 1 H. Madsen, Time Series Analysis,


slide-1
SLIDE 1

1 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Time Series Analysis

Henrik Madsen

hm@imm.dtu.dk

Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby

slide-2
SLIDE 2

2 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Outline of the lecture

Spectral Analysis (Chapter 7) The periodogram Consistent estimates of the spectrum

slide-3
SLIDE 3

3 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Spectrum analysis

Describes the variations in the frequency domain. Useful if the time series contains more frequencies. A parametric approach is obtained by estimating a model and then find the ’theoretical’ spectrum for the estimated model. Here we shall focus on the classical non-parametric approaches.

slide-4
SLIDE 4

4 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

The periodogram

Based on the known theoretical relationship, it seems obvious to apply the following estimate for the spectrum IN(ω) = 1 2π

N−1

  • k=−(N−1)

C(k)e−iωk (1) (|ω| ≤ π),where C(k) is the estimate of the autocovariance function based on N observations: Y1, . . . , YN.

slide-5
SLIDE 5

5 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

The periodogram

If we assume that {Yt} has the mean 0, then we can write IN(ω) as IN(ω) = 1 2π

N−1

  • k=−(N−1)

C(k)e−iωk |ω| ≤ π = 1 2π

N−1

  • k=−(N−1)

1 N

N−|k|

  • t=1

YtYt+|k|e−iωk = 1 2πN ∗

N

  • t=1

Yte−iωt ∗

N

  • t=1

Yteiωt = 1 2πN |

N

  • t=1

Yte−iωt|

2

, (2) which we can formulate as

2 2

slide-6
SLIDE 6

6 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Periodogram

The periodogram is defined for all ω in [−π, π], but in order to achieve independence between IN(ω) at different values of ω (more about this later) it is advisable only to calculate the periodogram at the so-called fundamental frequencies, ωp = 2πp/N p = 0, 1, . . . , ⌊N/2⌋. (4) It is seen that the sample spectrum is proportional to the squared amplitude of the Fourier transform of the time series: Y1, . . . , YN.

slide-7
SLIDE 7

7 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Properties of the periodogram

Let {Yt} be normally distributed white noise having variance σ2

Y .

Then the following holds

  • 1. {I(ωp)} p = 0, 1, . . . , [N/2] are stochastic independent

2.

I(ωp)4π σ2

Y

∈ χ2(2) p = 0, N/2 for N even. 3.

I(ωp)2π σ2

Y

∈ χ2(1) p = 0, N/2. If the assumption of normality does not hold then the theorem is

  • nly an approximation.
slide-8
SLIDE 8

8 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Consistent estimates of the spectrum

The problem with the periodogram, is that it contains too many values of the estimated autocovariance function. Thus, it is obvious to apply the truncated periodogram

  • f(ω) = 1

M

  • k=−M

C(k)e−iωk M < (N − 1), (5) where M is the truncation point. The truncated periodogram is a linear combination of M + 1 values of C(k), and thus V [ f(ω)] = O(M/N). (6)

slide-9
SLIDE 9

9 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Consisteny estimates

A lag-window is identified with a sequence of {λk}, which fulfills

  • 1. λ0 = 1
  • 2. λk = λ−k
  • 3. λk = 0 |k| > M,

where M is the truncation point. Corresponding to a lag-window {λk} we have the smoothed spectrum

  • f(ω) = 1

N−1

  • k=−(N−1)

λkC(k)e−iωk. (7)

slide-10
SLIDE 10

10 Henrik Madsen

  • H. Madsen, Time Series Analysis, Chapmann Hall

Examples using S-PLUS

## Estimates using a parametric approach ## Estimates of periodogram (raw spectrum) ## Estimates of smoothed spectrum using a Daniell window