Professional Documents
Culture Documents
Introduction To Regression
Introduction To Regression
Introduction To Regression
- p. 1/15
Todays class
Todays class
Modelling correlation
Other models of correlation
Autoregressive models
AR(1),
AR(1),
= 0.95
= 0.5
AR(k) models
=
0.9, 2 = 0.2
AR(2), 1
- p. 2/15
Modelling correlation
Todays class
Modelling correlation
Y = X + Z +
Autoregressive models
= 0.95
AR(1), = 0.5
AR(k) models
AR(2), 1 =
0.9, 2 = 0.2
AR(1),
Estimating autocovariance /
correlation
Estimating power spectrum
Diagnostics
- p. 3/15
Todays class
Modelling correlation
Other models of correlation
Autoregressive models
AR(1),
AR(1),
= 0.95
= 0.5
AR(k) models
=
0.9, 2 = 0.2
AR(2), 1
Autoregressive models
Todays class
Modelling correlation
t = t1 + t
Autoregressive models
= 0.95
AR(1), = 0.5
AR(k) models
AR(2), 1 =
0.9, 2 = 0.2
AR(1),
Diagnostics
- p. 5/15
2
0
2
4
6
ar1.sim1
AR(1), = 0.95
50
100
Time
150
200
- p. 6/15
0
1
2
ar1.sim2
AR(1), = 0.5
50
100
Time
150
200
- p. 7/15
AR(k) models
Todays class
Modelling correlation
Other models of correlation
Autoregressive models
AR(1),
AR(1),
= 0.95
= 0.5
AR(k) models
j=1
=
0.9, 2 = 0.2
AR(2), 1
Estimating autocovariance /
correlation
Estimating power spectrum
Diagnostics
(z) = 1
p
X
j z j
j=1
- p. 8/15
0
2
4
ar2.sim
50
100
Time
150
200
- p. 9/15
Todays class
Modelling correlation
= 0.95
= 0.5
t =
AR(k) models
j tq
j=0
=
0.9, 2 = 0.2
AR(2), 1
q
X
Diagnostics
t =
p
X
l=1
l Xtl +
q
X
j tq
j=0
- p. 10/15
0
20
arma.sim
20
40
ARM A(2, 4)
50
100
Time
150
200
- p. 11/15
Todays class
Modelling correlation
Other models of correlation
Autoregressive models
AR(1),
AR(1),
= 0.95
= 0.5
AR(k) models
=
0.9, 2 = 0.2
AR(2), 1
correlation
Estimating power spectrum
Diagnostics
- p. 12/15
Todays class
Modelling correlation
Other models of correlation
Autoregressive models
AR(1),
AR(1),
= 0.95
= 0.5
nt
X
1
b =
(j+t )(j ).
R(t)
n j=1
AR(k) models
=
0.9, 2 = 0.2
AR(2), 1
- p. 13/15
Todays class
In fact
Modelling correlation
Other models of correlation
Autoregressive models
AR(1),
AR(1),
= 0.95
= 0.5
AR(k) models
=
0.9, 2 = 0.2
AR(2), 1
I() =
X
t
correlation
Estimating power spectrum
Diagnostics
it
b
R(t)e
b
i.e. it is the Fourier transform of R(t).
It is customary to use a smoothed periodogram as an
estimate of fR
Z
fbR () = Kh (( )/h)I() d.
E(I()) = Var().
- p. 14/15
Diagnostics
Todays class
Modelling correlation
Other models of correlation
Autoregressive models
AR(1),
AR(1),
= 0.95
= 0.5
AR(k) models
=
0.9, 2 = 0.2
AR(2), 1
bt = Xt
Diagnostics
p
X
j=1
bj Xtj .
- p. 15/15