




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!





ESE 302 Tony E. Smith
The purpose of these notes is to supplement the mathematical development of linear
regression in Devore (2008). This development also draws on the treatment in Johnston (1963)
and Larsen and Marx (1986). We begin with the basic least squares estimation problem, and
next develop the moments of the estimators. Finally the fundamental optimality property of
these estimators is established in terms of the Gauss-Markov Theorem.
The basic linear model assumes the existence of a linear relationship between two
variables, x and y , which is disturbed by some random error, ε. Hence for each value of x the
corresponding y -value is a random variable of the form
0 1
where 0
1
of the linear function, 0 1
i
x i = n of x are observed, with
corresponding errors ( : 1,.., ) i
i
Y i = n , are given
by
i 0 1 i i
In this context it is assumed that the random errors, ( : 1,.., ) i
identically distributed ( iid ) with mean zero and variance
2
σ , so that
i
(2.4) var
2
( ) i
If values of y corresponding to ( : 1,.., ) i
x i = n are also observed, and are denoted by
i
y i = n , then the least squares estimation problem is to find estimates, 0
1
unknown parameter values, 0
1
[designated as 0 1
f ( b , b )in Devore , p. 455]:
2
0 1 0 1 1
n
i i i
=
This function is easily seen to be convex and differentiable in 0
1
unique solution ( 0
1
0 1 0 1
0
i i i
0 1 0 1
1
i i i i
If we let
i (^) i
x x
n
and
i (^) i
y y
n
, then by (2.6)
0 1 0 1
i i i i i i i i
y n x y x
n n
0 1
0 1
and by (2.7)
i i i i
To simplify (2.9) let the estimated y -value corresponding to ( 0
1
0 1
i i
and rewrite (2.9) as
i i i i
y − y x =
Note also from (2.8) that
i i i i i i i i i
i i
( )(^ )
(^1 )
i i i
i i
Y Y x x
x x
∑
∑
and, similarly, that 0
0 1
To compute the moments of the slope estimator, 1
expression (3.2) as follows. By breaking (3.2) into two terms
1 2 2
i i i i i
i i i i
Y x x Y x x
x x x x
∑ ∑
∑ ∑
and observing that
i i i i i i
x x x nx n x x
n
∑ ∑ ∑
we see that the second term vanishes, and hence that the estimator 1
combination of the i
Y ’s
1
i i^ i
∑
where the coefficients i
w are of the form
( )
2
i
i
j j
x x
w
x x
∑
, i = 1,…, n
and hence are non-random (i.e., depend only on the given values of the i
x ’s). To analyze (3.6)
we begin with several observations about the coefficient values in (3.7). First observe from
(3.5) that
2
i i
i i
i i
x x
w
x x
∑
∑
∑
and moreover that
2
2
i i
i i^ i
i i
x x
w x x
x x
∑
∑
∑
which together with (3.8) also implies
i i i i i i i i i i i
w x = w x − x w = w x − x = ∑ ∑ ∑ ∑
To compute the mean of 1
0 1 0 1
i i i i
so that by (3.6) , together with (3.8) and (3.10) ,
1 0 1
i i i i i i
β = w Y w β +β x ∑ ∑
0 1 1
i i i i i
∑ ∑
1
Thus 1
1
0 1 0 1
i i i
Y x x
n
= β + β + ε = β +β ∑
it follows from (3.3) together with (3.13) that
0 1 0 1 1 0
and thus that 0
0
To compute the variance of 1
1 0 1 0 1
i i^ i^ i i i^ i^ i i^ i
∑ ∑ ∑
i i i
∑
and hence (from the independence of the i
( )
2
1
var( ) var var( ) i i i i i i
∑ ∑
Hence we may conclude from (2.4) and (3.7) that
( )
2
2 2 2
1 2
var( ) =
i
i
i i
j j
x x
w
x x
∑ ∑
∑
This result, known as the Gauss-Markov Theorem , provides the single strongest justification for
linear least-squares estimation, and can be stated as follows:
GAUSS MARKOV THEOREM. For any linear function, 0 0 1 1
0
1
0 0 1 1
among all linear unbiased estimators of L.
Proof: We shall prove this assertion only for the linear function with coefficients
0 1
( a = 0, a = 1),i.e., for the estimate, 1
1
important of the two individual parameters). The argument for any linear function of 0
1
is essentially the same. To begin with, observe from (3.6) that 1
i.e., is a linear function of the random variables ( i
Y : i = 1,…, n ). Moreover, it was shown in (3.12)
that 1
1
1
estimator, say
1
i i i
∑
and suppose that 1
is also unbiased estimator. Then by (3.12) we must have
1 1
i i i
∑
0 1 0 1
i i i i i i i i
∑ ∑ ∑
But since unbiasedness requires that (4.2) hold for all values of the unknown parameters 0
1
0
1
i i
c = ∑
and in turn, by setting 1
i i^ i
c x = ∑
Hence, in a manner identical with (3.15), these two conditions are seen to imply that
1 1 i i 1 i i i i
∑ ∑
and thus that the variance of 1
is given by
2 2 2
1
var( ) var( )
i
i i i i
β = c ε =σ c ∑ ∑
To compare this with var( 1
1
and 1
i i i
d = c − w i = n then (4.6) can be rewritten as
2 2 2 2 2
1
var( ) ( ) ( 2 )
i
i i i i i i i i i
∑ ∑ ∑ ∑
But by (4.3) and (4.4) together with (3.8) and (3.10) we must have
i i i i i i i i i i
= c = w + d = + d ⇒ d = ∑ ∑ ∑ ∑ ∑
i i i i i i i i i i i i i i i
= c x = w x + d x = + d x ⇒ d x = ∑ ∑ ∑ ∑ ∑
which together imply that
2 2
i i i^ i^ i i
i i i i i
j j j j
d x x d x x
d w d
x x x x
∑ ∑
∑ ∑
∑ ∑
Hence, recalling (3.7) , we see that (4.7) reduces to
2 2 2 2 2 2
1 1
var( ) var( )
i
i i i i i
β = σ w + σ d = β +σ d ∑ ∑ ∑
and may conclude from the nonnegativity of
2 2
i i
∑
that
1 1
Thus 1
established.
Devore, J.L., (2008) Probability and Statistics for Engineering and the Sciences ,
Seventh Edition, Duxbury Press, Belmont, California.
Larsen, R.J. and M.L. Marx, (1986) An Introduction to Mathematical Statistics and its
Applications , Second Edition, Prentice-Hall, Englewood Cliffs, N.J.
Johnston, J., (1963) Econometric Methods , McGraw-Hill, N.Y.