Documente Academic
Documente Profesional
Documente Cultură
Series
KNNL Chapter 12
First-Order Model - I
First-Order Autoregressive Model ( AR(1)) :
Simple Regression: Yt 0 1 X t t t 1,..., n
t t 1 ut
t t 1 ut
2
1 ~ N 0,
2
1
2 1 u2 E 2 E 1 E u2 0
Covariance: 2 , 1 1 u2 , 1 2 2
Corrrelation: 2 , 1
2 , 1
2 1
2
2
2
2 1 u2
2
1
1 2
2
2
u2 , 1 2 0
1 2
2
2
1 2
1 2 1 2
2
First-Order Model - II
In General:
t t 1 ut t 2 ut 1 ut t 2 ut 1 ut ... s ut s
2
s 0
E t 0
Covariance: t , t s
s 0
s 2
1 2
Correlation: t , t s s
ut s
s 0
2s
ut s
2
s 0
2s
1 2
s0
s0
2
2
1
2
1
M
M
M
n 1 n 2 n 3
AR(2) : t 1 t 1 2 t 2 ut
L n 1
L n 2
L n 3
O M
L 1
Even Higher or models can be fit as well.
ut ~ NID 0, 2
t t 1 ut
Test Statistic: DW
et et 1
t 2
e
t 1
E t 0 E t t 1
If DW dU p 1, n Conclude H 0
2
t
1 2
2
et et 1 e e 2 et et 1 2 e 2n
1 2
t 2
t 2
t 2
t 2
t 1
Under H 0 , expect DW 2
n
2
t
2
t 1
2
t
Otherwise Inconclusive
Transformed Variables
Suppose is known: Yt 0 1 X t t
t t 1 ut
Let Yt ' Yt Yt 1 0 1 X t t 0 1 X t 1 t 1
0 1 1 X t X t 1 t t 1 0 1 1 X t X t 1 ut
where:
Yt ' Yt Yt 1
X t' X t X t 1
0' 0 1
1' 1
X t' X t rX t 1
Fit: Y ' b0' b1' X ' and if errors are uncorrelated, back transform to:
b0'
Y b0 b1 X where: b0
1 r
^
s b0
s b0'
1 r
b1 b1'
s b1 s b1'
Cochrane-Orcutt Method
Start by estimating in Model: t = t-1 + ut by
regression through the origin for residuals (see below)
Fit transformed regression model (previous slide)
Check to see if new residuals are uncorrelated
(Durbin-Watson test), based on the transformed
model
If uncorrelated, stop and keep current model
If correlated, repeat process with new estimate r
based on current regression residuals from the
original (back transformed) model
n
e
t 2
n
t 1 t
e
t 2
2
t 1
b0 Y b X
'
1
b1 b
'
1
t t 1 ut
Yt 0 1 X t t 1 ut Yn 1 0 1 X n 1 n un 1
3 Elements:
^
Estimated as ren
3. Current disturbance un 1 ~ N 0, 2
Fn 1 Y n 1 ren
Standard Error of the Prediction (based on transformed model):
X X'
1
s pred MSE ' 1
n
n
X i' X '
i2
2
'
n 1