Lecture 2: Simple Linear Regression Model: Recap
Lecture 2: Simple Linear Regression Model: Recap
QF06-2015
Sunil Paul
Recap
In the last lecture we have discussed that a joint distribution of any two variables can be factored into two
ways:
f (X; Y ) = f (Y jX):f (X)
and
f (X; Y ) = f (XjY ):f (Y ):
In particular,
1. If f (X; Y ) is bivariate normal (bvn) then f (Y jX) and f (XjY ) are normally distributed,
2. If f (X; Y ) is bivariate normal (bvn) then E(Y jX) and E(XjY ) are linear in X and Y, and
3. var(Y jX) and var(XjY ) are constant.
We can summarize this results as follows;
(Y jX) N ( 1 + 2 X; 2Y jX ) and (XjY )
y
and = xxyy :
x
Similarly
2
yjx
2
y
2 2
2 x
= (1
N(
2 Y;
2
XjY
);where
2 x;
2
xy = x
or
2
y:
^ Xi )2 ;
i.e.
= 0 =)
2(Y
Y = n^ + ^
Similarly,
@RSS
@^
i.e.
= 0 =)
YX = ^
2(Y
^ X)( 1) =
(1).
X+^
^ X)( Xi ) =
X2
(2).
u
^ = 0:
Xu
^ = 0:
^=Y
^X
YX =
X(Y
= nX(Y
Thus,
P
^X ) + ^ P X 2
P
Y X = nXY + ^ ( X 2
nX ):
Rearranging the above equations we get the expression for beta hat;
^=
P
XY nXY
P 2
2
nX
X
where Sxy =
Sxx =
Syy =
P
(X
P
(Y
Similarly the
b2 =
P
u
b
n 2
xy =
(X X)(Y Y )
P
(X X)2
P
(X
P
X)2 = X 2
X)(Y
P
P xy
x2
Y)=
Sxy
Sxx ;
XY
nXY ;
nX and,
Y )2 :
2
2. P
Residuals and independent
variables
are uncorrelated
cov(X
b) =
P
P
P
P u
P0[ from second
P normal eq we have
Xu
b = 0; and
Xu
b =
(x + X)b
u =
xb
u+X u
b =
xb
u (since
u
b = 0):This implies
cov(X u
b) = 0]:
Pb P
3. The sum of the estimated Ybi s from the sample is equal to the sum of the actual Yi s i.e.
Y = Y
P
P
Pb
b
b
bi = Yi Yi hence
u
b=
Y
Y
or Y = Y ( This can be proved using rst property. We know u
P
Pb P
since
u
b = 0 we have
Y = Y ):
Pb
4. LS residuals and the estimated Ybi s are uncorrelated
Y u = 0 ( proof: substitute Ybi = ^
Pb
Y u = 0 and also use property 1 and 2):
^ Xi into
^ Xi :
^ X we get;
Substituting ^ = Y
^
ui = (Yi Y )
(Xi X) = y ^ x, where yi = (Yi
Y ); and xi = (Xi
where
u2 =
y2
^ P xy;
2 ( Pxy)2
x2 +
X):
P
( Pxy)2
x2
y2
^ P xy:
P
P
u2 =RSS, ^ xy = ESS( Explained Sum of Square);and y 2 = T SS( Total Sum of Squares).
Thus TSS=ESS+RSS
2
The proportion of TSS explained by the regression can be denoted by rxy
( Coe cient of determination).
for all i.
2_
Reference:
1. Johnston, J and J. DiNardo (1997) Econometric Methods,McGraw Hill, ( Chapter 1)
2. Maddala,. G.S (1992). Introduction to Econometrics, 2nd ed., Macmillan.(Ch 3)