STA457 Lecture4
STA457 Lecture4
Lecture 4
Lijia Wang
Last Time:
1 ETS Models
2 White noise
Today:
1 Time series statistical models
2 Autocorrelation
3 Stationarity
2 Autocorrelation
Autocovariance
Autocorrelation function
Other autocorrelation functions
3 Stationary
Weak stationary
Strong stationary
Other forms of stationary
∂Ft (x)
ft (x) =
∂x
provided that the density exists.
White noises
Moving Averages
Autoregressions
Random Walk
Definition: Consider a time series model where the present state xt equals
xt−1 plus some constant and an error term:
xt = δ + xt−1 + εt
xt = xt−1 + wt ,
i.i.d
with initial condition x0 = 0 and where wt ∼ N(0, σw2 ).
2 Autocorrelation
Autocovariance
Autocorrelation function
Other autocorrelation functions
3 Stationary
Weak stationary
Strong stationary
Other forms of stationary
for all t.
γ(s, t)
ρ(s, t) = p .
γ(s, s)γ(t, t)
The ACF measures the linear predictability of the series at time t, say xt ,
using only the value xs .
1 −1 ≤ ρ(s, t) ≤ 1
2 Suppose xt = β0 + β1 xs .
1 If β1 > 0, then ρ(s, t) = 1;
2 If β1 < 0, then ρ(s, t) = −1.
γxy (s, t)
ρxy (s, t) = p .
γx (s, s)γy (t, t)
2 Autocorrelation
Autocovariance
Autocorrelation function
Other autocorrelation functions
3 Stationary
Weak stationary
Strong stationary
Other forms of stationary
Definition:
A weakly stationary time series, xt , is a finite variance process such that
(i) the mean value function, µt , is constant and does not depend on time
t, and
(ii) the autocovariance function, γ(s, t), depends on s and t only through
their difference |s − t|.
We will use the term stationary to mean weakly stationary.
Examples:
1 The white noise wt is stationary
2 The moving average series of white noise series
xt = wt + θwt−1 , θ ∈ R is stationary.
3 A random walk series is NOT stationary
1 Though a random walk with mean zero increments is first-order
stationary, it is not second-order stationary.
2 A random walk with drift is neither first-order nor second-order
stationary.
That is,
γxy (h)
ρxy (h) = p
γx (0)γy (0)