Professional Documents
Culture Documents
Model: Y = β0 + β1x +
Sample:
1
Properties of Least Squares Estimators
• V (i) = σ 2
• V (Yi) = σ 2
• E[β̂1] ?
• V (β̂1) ?
• E[β̂0] ?
• V (β̂0) ?
• Cov(β̂0, β̂1) ?
2
Properties of Least Squares Estimators
Proof:
Pn
(x − x)(Yi − Y)
β̂1 = Pn i
i=1
2
i=1 (xi − x)
Pn Pn
i=1 (xi − x)Yi − Y i=1(xi − x)
= Pn 2
i=1 (xi − x)
Pn
(xi − x)Yi
= Pi=1
n 2
i=1 (xi − x)
3
Thus
n
(x − x)
Pn i
X
E[β̂1] = 2
E[Yi]
i=1 i=1 (xi − x)
n
(x − x)
Pn i
X
= 2
(β0 + β1xi)
i=1 i=1 (xi − x)
Pn Pn
(xi − x) i=1 (xi − x)xi
= Pni=1 β
2 0
+ β1 P n 2
(x
i=1 i − x) i=1 (xi − x)
4
Properties of Least Squares Estimators
Proof:
Pn
i=1 (xi − x)Yi
V (β̂1) = V
Sxx
n
2 X
1
= (xi − x)2V (Yi)
Sxx i=1
2 Xn
!
1
= (xi − x)2 σ 2
Sxx i=1
1
= σ2
Sxx
5
V (β̂0) = V (Y − β̂1x)
σ2
2
2 σ
= +x − 2xCov(Y , β̂1)
n Sxx
n X
n
X xj − x
= Cov(Yi, Yj )
i=1 j=1
nSxx
n
X xi − x
= σ2 + 0
i=1
nSxx
= 0
6
Thus
2 2
σ σ
V (β̂0) = + x2
n Sxx
Sxx + nx2
= σ2
nSxx
Pn 2 2
i=1 (xi − x) + nx
= σ2
nSxx
Pn 2 2 2
i=1 (xi − 2xxi + x ) + nx
= σ2
nSxx
Pn 2
i=1 xi
= σ2
nSxx
7
Properties of Least Squares Estimators
A Practical Matter
The variance σ 2 of the random error is
usually not known. So it is necessary to esti-
mate it.
is an unbiased estimator of σ 2.
8
Properties of Least Squares Estimators
• V (i) = σ 2
(n−2)S 2
• σ2
has a χ2 distribution with n − 2 degrees of free-
dom;
9
Properties of Least Squares Estimators
Model: Y = β0 + β1x1 + · · · + βk xk +
Sample:
β̂ = (X0X)−1X0Y
10
Properties of Least Squares Estimators
• The estimator
0 0 0
2 SSE Y Y − β̂ XY
S = =
n − (k + 1) n − (k + 1)
is an unbiased estimator of σ 2.
11
Properties of Least Squares Estimators
12