
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















(^1) Announcements
(^2) Estimation of Correlation (§1.6)
(^3) Vector-Valued and Multidimensional Series
4 Homework 2a
TA office hours are 3-4pm today.
We will end a little early today to individually go over your questions
on the homework.
(^1) Announcements
(^2) Estimation of Correlation (§1.6)
(^3) Vector-Valued and Multidimensional Series
4 Homework 2a
Estimation of the autocovariance function γ(h)?
The sample autocovariance function.
ˆγ(h) =
n
∑^ n−h
t= 1
(xt+h − ¯x)(xt − ¯x)
Compare γˆ(h) with γ(h):
γ(h) = E [(xt+h − μ) (xt − μ)]
Estimation of the ACF?
The sample ACF.
ρ ˆ(h) =
γˆ(h)
γˆ( 0 )
Estimation of γˆ(h) and ρˆ(h) for large h (h close to n) is inaccurate since it
is only based on n − h data.
The ACF of WN is 0 for h > 0, so the sample ACF is a useful for
discerning whether a series is WN or not.
The auto-covariance and auto-correlation functions are even, so we define
γ ˆ(−h) = ˆγ(h) and ρˆ(−h) = ˆρ(h).
γ ˆ(h) =
n − h
∑^ n−h
t= 1
(xt+h − ¯x)(xt − ¯x)
gam<-function(s){
t<-1:(length(x)-abs(s))
sum((x[t]-mean(x))*(x[t+abs(s)]-mean(x)))/(length(x)-abs(s))}
rho<-function(s){gam(s)/gam(0)}
rho_values<-double(100)
for(t in 0:99){rho_values[t+1]<-rho(t)}
plot(rho_values)
Definition (Linear Time Series)
A time series is said to be linear if it has the representation
xt = μ +
j=−∞
ψjwt−j
where wt ∼ IID( 0 , σ
2 )
The book only assumes wt ∼ WN( 0 , σ
2 ), and requires IID-ness when
necessary (like Appendix A.3).
Many standard time series models like the AR(p), MA(q), and ARMA(p, q)
models are linear time series models.
The bilinear, ARCH, and GARCH models are nonlinear time series
models.
Definition (Sample Cross-Covariance Function)
γ ˆxy(h) =
n
n∑−h
t= 1
(xt+h − ¯x)(yt − ¯y)
Definition (Sample CCF)
ρ ˆxy(h) =
ˆγxy(h) √ ˆγx( 0 )ˆγy( 0 )
Theorem (Asymptotic Distribution of Linear WN)
If xt and yt are independent linear time series, then
n (ˆρxy(h) − ρxy(h)) =
n ρˆ(h) −→ N ( 0 , 1 )
if at least one of the processes is white noise.
So in particular, the standard deviation of ρˆxy(h) is approximately √^1 n
soi = ts(scan("mydata/soi.dat"), start=1950, frequency=12)
rec = ts(scan("mydata/recruit.dat"), start=1950, frequency=12)
Read 453 items
par(mfrow=c(3,1))
acf(soi, 50)
acf(rec, 50)
ccf(soi, rec, 50)
(^1) Announcements
(^2) Estimation of Correlation (§1.6)
(^3) Vector-Valued and Multidimensional Series
4 Homework 2a
The mean of xt is
μ = E(xt) =
E(xt 1 )
E(xt 2 )
. . .
E(xtp)
μ 1
μ 2
. . .
μp
and the autocovariance matrix is
Γ(h) = E
(xt+h − μ)(xt − μ)
′
Note that Γ(h) = (γij(h)) where
γij(h) = E [(xt+h,i − μi)(xtj − uj)]
The mean is estimated by the sample mean given by
μ ˆ = ¯x =
n
∑^ n
t= 1
xt.
The sample autocovariance matrix is given by
ˆΓ(h) =
n
n∑−h
t= 1
(xt+h − ¯x)(xt − ¯x)
′