– Spectral Analysis of ST414 Time Series Data Lecture 1

advertisement
ST414 – Spectral Analysis of
Time Series Data
Lecture 1
28 January 2014
Examples
2
Brockwell and Davis, 2002
Examples
3
Shumway & Stoffer, 2004
Examples
4
Ombao et al, 2001
Examples
5
Kakizawa et al, 1998
Examples
6
Ombao et al, 2001
Examples
7
Examples
8
Shumway & Stoffer, 2004
Objective
Develop a working knowledge of statistical
theories and methodologies for spectral
analysis of time series data.
9
Today’s Objectives
• Discuss periodicity
• Discuss basic time series models
10
Periodicity
11
Shumway & Stoffer, 2004
Periodicity
where
12
Periodicity
More generally,
where
What is Var(X(t))?
13
Periodicity
14
Shumway & Stoffer, 2004
Preliminaries
X(t) is said to be strictly stationary if the
probabilistic behaviour of every collection of
values
is identical to that of the shifted set
15
Preliminaries
X(t) is said to be weakly stationary if 1)
E(X(t)) is invariant with respect to t and 2)
πΆπ‘œπ‘£ 𝑋 𝑑 , 𝑋 𝑠 = 𝛾(β„Ž), where h = |s-t|.
𝛾(β„Ž) is called the autocovariance function
of X(t).
16
Preliminaries
1. 𝛾 0 ≥ 0
2. |𝛾 β„Ž | ≤ 𝛾 0
3. 𝛾 β„Ž =𝛾 −β„Ž
17
Preliminaries
The autocorrelation function of a weakly
stationary time series X(t) is
𝛾(β„Ž)
𝜌 β„Ž =
𝛾(0)
18
White Noise
X(t) is white noise if it is a collection of
uncorrelated random variables identically
distributed with mean 0 and finite variance
𝜎 2.
Is X(t) weakly stationary?
What is 𝛾(β„Ž)?
What is 𝜌 β„Ž ?
19
White Noise
20
White Noise
21
MA(1)
𝑋 𝑑 = 𝑍 𝑑 + πœƒπ‘(𝑑 − 1)
𝑍 𝑑 is white noise
Is X(t) weakly stationary?
What is 𝛾(β„Ž)?
What is 𝜌 β„Ž ?
22
MA(1)
23
MA(1)
24
AR(1)
𝑋 𝑑 = πœ™π‘‹ 𝑑 − 1 + 𝑍 𝑑
𝑍 𝑑 is white noise
Is X(t) weakly stationary?
What is 𝛾(β„Ž)?
What is 𝜌 β„Ž ?
25
AR(1)
26
AR(1)
27
AR(1)
28
More Preliminaries
X(t) is a linear process if it has the
representation
∞
𝑋 𝑑 =
πœ“π‘— 𝑍(𝑑 − 𝑗),
𝑗=−∞
for all t, where Z(t) is white noise and {πœ“π‘— } is
a sequence of constants with
∞
𝑗=−∞ |πœ“π‘— | < ∞.
29
More Preliminaries
If X(t) ~ AR(1), then X(t) has a MA ∞
representation:
∞
πœ™ 𝑗 𝑍(𝑑 − 𝑗),
𝑋 𝑑 =
𝑗=0
Is X(t) weakly stationary?
What is 𝛾(β„Ž)?
What is 𝜌 β„Ž ?
30
MA(2)
Consider the MA(2) model:
𝑋 𝑑 = 𝑍 𝑑 + πœƒ1 𝑍 𝑑 − 1 + πœƒ2 𝑍(𝑑 − 2)
𝑍 𝑑 is white noise
2−|β„Ž|
𝛾 β„Ž =
𝜎2
πœƒπ‘— πœƒπ‘—+ β„Ž , if |β„Ž| ≤ 2
𝑗=0
0,
where πœƒ0 = 1.
if β„Ž > 2
31
ACF of MA(2)
32
ACF of AR(1)
33
The PACF
Heuristically, take the correlation between
X(t) and X(s) with the linear effect of
everything in between removed.
34
ACF of AR(1)
35
PACF of AR(1)
36
PACF of AR(2)
37
Example
38
Example
39
Example
40
An Exercise
Let
𝑋 𝑑 = π‘ˆ1 cos 2πœ‹πœ”π‘‘ + π‘ˆ2 sin 2πœ‹πœ”π‘‘
where
π‘ˆ1 , π‘ˆ2 iid 0, 𝜎 2 .
Is X(t) weakly stationary? If so, what is 𝛾(β„Ž)?
41
Download