Econometrics I: Professor William Greene Stern School of Business Department of Economics
Econometrics I: Professor William Greene Stern School of Business Department of Economics
( X′X )b = X′y
X1′ X1 X1′ X 2 X1′ y
X = [X1 , X 2 ] so X ′X = and X ′y =
X ′
2 1 X X ′
2 2
X X ′
2 y
X1′ X1 X1′ X 2 b1 X1′ y
(X ′X)b = =
X ′
2 1 X X ′
2 2 2
X b X ′
2 y
X1′ X1b1 + X1′ X 2b2 = X1′ y
X ′2 X1b1 + X
= ′2 X 2b2 X ′2 y ==> X
= ′2 X 2b2 X′2 y - X′2 X1b1
= X′2 (y - X1b1 )
4-4/34 Part 4: Partial Regression and Correlation
Partitioned Solution
Direct manipulation of normal equations produces
b2 = (X2′X2)-1X2′(y - X1b1)
What is this? Regression of (y - X1b1) on X2
If we knew b1, this is the solution for b2.
Important result (perhaps not fundamental). Note
the result if X2′X1 = 0.
Useful in theory: Probably
Likely in practice? Not at all.
b2 = [X2’M1X2]-1[X2’M1y].
“We get the same result whether we (1) detrend the other variables
by using the residuals from a regression of them on a constant
and a time trend and use the detrended data in the regression or
(2) just include a constant and a time trend in the regression and
not detrend the data”
Now, follow this through for the case in which X1 is just a constant term,
column of ones.
What are the residuals in a regression on a constant. What is M1?
Note that this produces the result that we can do linear regression on
data in mean deviation form.
♦ = Signed
♦ = Unsigned
4-14/34 Part 4: Partial Regression and Correlation
.
10.112
.19299 =
10.112 + 428
CALC;list;Cor(g,pg)$
4.00
3.50
PG
2.50
CALC;list;cor(gstar,pgstar)$
2.00
1.50
.50
70 80 90 100 110 120
G
squared t - ratio
squared t - ratio + degrees of freedom
R 2Xz =
R 2X + (1 − R 2X )ryz*2 = (
> ryz2* = ) (
R 2Xz − R 2X / 1 − R 2X )
y1 X1 d1 0 0 0
X
y2 2 0 d2 0 0 β
+ε N may be thousands. I.e., the
α
regression has thousands of
variables (coefficients).
yN X N 0 0 0 dN
β
= [X, D]
ε +
α
=Zδ +ε
We desire also to include a separate family effect (7293 of them) for each family. This
requires 7293 dummy variables in addition to the four regressors.
=
... ... ... ...
- T1 - 1
... 1 - T1i
i Ti
Ti
ai =(1/Ti )Σ (y it- x ′itb)=e
t=1 i
but f=
it = fi , so fit f=
i. and (fit -fi. ) 0
This is a simple case of multicollinearity.
f = diag(fi )*D
i = 1,...,191 countries
β1
β2
β3