Wavelet Methods For Time Series Analysis
Wavelet Methods For Time Series Analysis
1. Introduction
The results of the Fourier transform are the Fourier coefficients A(f),
which when are multiplied by a sinusoid of frequency f yield the
constituent sinusoidal components of the original signal.
()
is
the wavelet.
()
We call A(,t) the average value of the signal x() over a scale of
centered about time t
[t 12 , t + 12 ]
A good indicator of the inherent ability of clock 571 to keep good time over a
scale of a day is thus not A(1,t) itself, but rather how much A(1,t) changes from
one time period to another.
Or
if |D(1,t)| is close to zero, the daily performance of the clock is good. More generally,
the timekeeping abilities of a clock over a scale can be judged by examining
(3)
scale
Haar wavelet
The Haar wavelet extracts information about how much difference there is
between the two unit scale averages of x() bordering on time t=0
To adjust the Haar wavelet to extract information about unit scale changes at
other values of t
is known as the
HAAR CONTINUOUS WAVELET TRANSFORM (CWT) of x(.)
We now state a fundamental fact about the CWT that it preserves all the
information in x
if
satisfies the admissibility condition of
()
()
and
x()
=1
=1/2
=1/4
u t
(
Its a very simple process. In fact, here are the five steps of an easy recipe for creating a
CWT:
1) Take a wavelet and compare it to a section at the start of the original signal
2) Calculate a number, C, that represents how closely correlated the wavelet is with this
section of the signal. The higher C is, the more the similarity. More precisely, if the signal
energy and the wavelet energy are equal to one, C may be interpreted as a correlation
coefficient. Note that the results will depend on the shape of the wavelet you choose.
3) Shift the wavelet to the right and repeat step1 and 2 until you are covered the whole
signal.
4) Scale (stretch) the wavelet and repeat step1 through 3.
5) Repeat steps 1 through 4 for all scales.
When you are done, you will have the coefficients produced at different scales by different
sections of the signal. The coefficients constitute the results of a repression of the original
signal performed on the wavelets.
How to make sense of all theses coefficients? You could make a plot on which the x-axis
represents position along the signal (time), the y-axis represents scale, and the colour at
each x-y point represents the magnitude of the wavelet coefficient C.
WT
X t (1) = X t
, which we can regard as a single point average and
X N 1 (N ) = X
which is the sample average of all N values
Note that the first eight DWT coefficients W0,,W7 are proportional to
differences in adjacent averages of {Xt} on a unit scale; the next four W8,,W11
are differences in adjacent averages on a scale of two W12 and W13 are
proportional to differences on a scale of four; W14 is proportional to a difference
on a scale of eight; and the final coefficient W15 is proportional to the average of
all the data.
There are thus exactly N/(2i) coefficients in the DWT associated with changes on
scale i where i=2j-1 for j=1,,J (note 1=1 and J=N/2); additionally, there is one
coefficient WN-1 associated with an average at scale N. The N-1 coefficients that
are associated with changes on various scales are called wavelet coefficients,
whereas WN-1 is called a scaling coefficient.
Let us now decompose the elements of the vector W into J+1 subvectors. The
first J subvectors are denoted by Wj j=1,J and the jth such a subvector contains
al of the DWT coefficients for scale j. Note that Wj is a column vector with N/2j
elements. The final subvector is denoted as VJ and contains just the scaling
coefficient WN-1. We can write
When J=4, N=2J=16
S J = , JTwhich
VJ is a vector whose elements are all
0 j J let
1
Details (Low-scale, Highfrequency components)
Sj is a smoothed version of X
J
Sj =
k = j +1
+ SJ
Approximations (High-scale,
Low-frequency components)
Wavelet filter
Scaling filter is defined in terms of the wavelet filter via the quadrature mirror relationship
b) Daubechies.
c) Biorthogonal.
Scale to frequency:
Pseudo-frequencies corresponding to the
scales
1.0
2.5
0.5
2.0
0.0
1.5
1.0
-0.5
0.5
-1.0
0
10
20
30
40
-3
x10
50
60
50
seno Freq Response
60V
0
40
20
-100
dB
dB
-50
-150
-200
-20
-250
-40
200
400
Hz
600
800
0
500
1000
Hz
1500
2000
1
0
d2
d2
d3
d3
d4
d4
d5
d5
d6
d6
0.5
d1
0.5
d1
a6
a6
0.0
-0.5
0.0
-0.5
10
Tiempo (s)
15
20
10
Tiempo (s)
15
20
Scale
Scale
Shift (time)