Docsity

Wavelet Variance: Analyzing Time Series with Different Scales, Study notes of Statistics

Partial preview of the text

Download Wavelet Variance: Analyzing Time Series with Different Scales and more Study notes Statistics in PDF only on Docsity!

Wavelet Variance – Outline

examples of time series to motivate discussion

decomposition of sample variance using wavelets

− theoretical wavelet variance for stochastic processes

stationary processes

nonstationary processes with stationary differences

sampling theory for Gaussian processes

statistical propertiesfour examples, including use on time series with time-varying

summary

X–

Examples: Time Series

X

t

Versus Time Index

t

(a)

(b)

(c)

(d)

X

t

X

t

t

t

(a) atomic clock frequency deviates (daily observations,

N

(b) subtidal sea level fluctuations (twice daily,

N

(c) Nile River minima (annual,

N

(d) vertical shear in the ocean (0.1 meters,

N

four series are visually different

goal of time series analysis is to quantify these differences

X–

Empirical Wavelet Variance

define empirical wavelet variance for scale

τ j ≡ 2 j − 1

as

˜ν X 2

(^) ( τ j )

≡

N

N

(^) −

1

t ∑

W ˜

j,t (^2)

where

W˜

j,t

L

j −

1

l^ ∑

h˜

j,l

X

t −

l mod

N

if

N

J

, obtain analysis (decomposition) of sample variance:^

ˆσ X 2

N

N

(^) −

1

t ∑

( X t − X ) 2 = J

j ∑

˜ν X 2

(^) ( τ j )

(if

N

not a power of 2, can analyze variance to any level

J

0 (^) ,

but need additional component involving scaling coefficients)

interpretation: ˜

ν X 2

(^) ( τ j ) is portion of ˆ

σ

X 2

due to changes in av-

erages over scale

τ j ; i.e., ‘scale by scale’ analysis of variance

X–

Example of Empirical Wavelet Variance

wavelet variances for time series

X

t

and

Y

t

of length

N

each with zero sample mean and same sample variance

................ ....................

.

.

.

.

X

t

Y t

˜ν X 2 (^) ( τ j )

˜ν Y 2 (^) ( τ j )

0 2

−

0 2 2

−

2

0 . 3

0 . 0

0 . 3

0 . 0

0

5

10

15

1

2

4

8

t

τ j

X–

Theoretical Wavelet Variance: I

now assume

X

t

is a real-valued random variable (RV)

let

X

t (^) , t

Z

denote a stochastic process, i.e., collection of

RVs indexed by ‘time’

t

(here

Z

denotes the set of all integers)

use

j th level equivalent MODWT filter

h˜

j,l

on

X

t }

to create

a new stochastic process:

W

j,t^

L j −

1

l^ ∑

h˜

j,l

X

t −

l (^) ,

t

∈

Z

which should be contrasted with

W ˜

j,t

L

j −

1

l^ ∑

h˜

j,l

X

t −

l mod

N

(^) ,

t

= 0

,... , N

X–

Theoretical Wavelet Variance: II

if

Y

is any RV, let

E

Y

denote its expectation

let var

Y

denote its variance: var

Y

E { ( Y − E { Y } ) 2 }

definition of time dependent wavelet variance:

ν X,t 2

τ j )

≡

var

W

j,t^

with conditions on

X

t

so that var

W

j,t^

exists and is finite

ν X,t 2

τ j ) depends on

τ j

and

t

will focus on time independent wavelet variance

ν X 2

(^) ( τ j )

≡

var

W

j,t^

(can adapt theory to handle time varying situation)

ν X 2

(^) ( τ j ) well-defined for stationary processes and certain related

processes, so let’s review concept of stationarity

X–

Spectral Density Functions: I

spectral density function (SDF) given by

S

X

(^) ( f (^) ) =

∞

τ (^) =

−∞

s X,τ

(^) e

−

i 2 πf τ

,^

f (^) | ≤

above requires condition on ACVS such as

∞

τ (^) =

−∞

s X,τ 2

(sufficient but not necessary)

X–

Spectral Density Functions: II

if square summability holds,

s X,τ

S

X

(^) ( · ) says

1 / 2

− 1 / 2 S X

f (^) ) e i 2 πf τ

df

s X,τ

τ

Z

setting

τ

= 0 yields fundamental result:

1 / 2

− 1 / 2 S X

f (^) ) (^) df

s X,

0

= var

X

t } ;

i.e., SDF decomposes var

X

t }

across frequencies

f

interpretation:

S

X

(^) ( f (^) ) ∆

f

is the contribution to var

X

t }

due

to frequencies in a small interval of width ∆

f

centered at

f

X–

White Noise Process: I

simplest example of a stationary process is ‘white noise’

process

X

t

said to be white noise if

it has a constant mean

E { X t } = μ X

it has a constant variance var

X

t }

σ

X 2

cov

X

t (^) , X

t

τ (^) }

= 0 for all

t

and nonzero

τ (^) ; i.e., distinct RVs

in the process are uncorrelated

ACVS and SDF for white noise take very simple forms:

s X,τ

= cov

X

t , X

t

τ (^) }

σ

X 2

(^) ,

τ

otherwise.

S

X

(^) ( f (^) ) =

∞

τ (^) =

−∞

s X,τ

(^) e

−

i 2 πf τ

s X,

0

X–

White Noise Process: II

N ACVS (left-hand plot), SDF (middle) and a portion of length

= 64 of one realization (right) for a white noise process with

μ

X

= 0 and

σ

X 2

s X,τ

S X (^) ( f (^) )

X

t

0 2

−

2

0 1 2

0 3

− 3

0

2

4

6

0

. 0

0 . 5

0

32

64

τ

f

t

since

S

X

(^) ( f (^) ) = 1

5 for all

f (^) , contribution

S

X

(^) ( f (^) ) ∆

f

to

σ

X 2

is

the same for all frequencies

X–

Wavelet Variance for White Noise Process: I

for a white noise process, can conclude from Exer. [8.1] that

ν X 2

(^) ( τ j )

∝

τ (^) −

1

j

note that

log (

ν X 2

(^) ( τ j ))

(^) log (

τ j ) ,

so plot of log (

ν X 2

(^) ( τ j )) vs. log (

τ j ) is linear with a slope of

X–

Wavelet Variance for White Noise Process: II

10

10

10 0

10 1

10 2 10

10 (^0)

10 (^1)

10 (^2) 10 3

τ

O O O O O O O O

δ = 0

slope =

− 1

ν X 2

(^) ( τ j ) versus

τ j

for

j

(^) 8 (left-hand plot), along with

sample of length

N

= 256 of Gaussian white noise

largest contribution to var

X

t }

is at smallest scale

τ 1

note:

later on, we will discuss fractionally differenced (FD)

processes that are characaterized by a parameter

δ ; when

δ

an FD process is the same as a white noise process

X–

Examples of Processes with Stationary Increments

X t

X t (1)

X t (2)

(c) (b) (a)

0 0 0 0

256 0

256 0

256

t

t

t

1st column shows, from top to bottom, realizations from

(a) random walk:

X

t

=

u t

u , &

t

is zero mean white noise

(b) like (a), but now

t

has mean of

(c) random run:

X

t

=

u t

Y

u , where

Y

t

is a random walk

2nd & 3rd columns show 1st & 2nd differences

X

t (1)

and

X

t (2)

X–

Wavelet Variance for Processes with Stationary Backward Differences: I

let

X

t }

be nonstationary with

d th order stationary differences

if we use a Daubechies wavelet filter of width

L

satisfying

L

d , then

ν X 2

(^) ( τ j ) is well-defined and finite for all

τ j , but now

∞

j ∑

ν X 2

(^) ( τ j ) =

X–