Professional Documents
Culture Documents
Data
SUMMARY
Pooled Regression
if
OLS is a BLUE estimator
b=(X X )-1 X'y
Where
Pooled Regression: Estimation -2
If Possible Heteroecedasticity
We have to find a “robust” covariance matrix
A robust estimation (in general) is the White estimator (Chap-2 slide 8)
Bootstrapping (another approach)
Method:
1. Estimate using full sample: --> b
2. Repeat R times:
Draw n observations from the n, with replacement
Estimate with b(r).
3. Estimate variance with
W = (1/R)r [b(r) - ][b(r) - ]’
Pooled Regression: Estimation -3
y1 X1 d1 0 0 0
X
y2 2 0 d2 0 0 β
ε
α
yN X N 0 0 0 dN
β
= [X, D] ε
α
= Zδ ε
E[ci | Xi ] = g(Xi); Effects are correlated with included variables.
Cov[xit,ci] ≠0
Fixed effect model – Matrix Form
X1 d1 0 0 (T1 rows)
X 0 d2 0 (T2 rows)
2
X D X 3 0 0 d3 (T3 rows)
0
X N 0 0 0 dN (TN rows)
X i1 i2 iN N
T rows
i=1 i
Estimating the Fixed Effects Model
The FEM is a simple linear regression model but with many independent variables
Least squares estimator of is unbiased, consistent, efficient, but inconvenient if N is
large.
1
b X X X D X y
DX DD Dy
a
Using the Frisch-Waugh theorem
b =[X MD X ]1 X MD y
Estimating the Fixed Effects Model
M1D 0 0
2
0 MD 0
MD (The dummy variables are orthogonal)
N
0 0 MD
MDi I Ti di (didi ) 1 di = I Ti (1/Ti )didi
1
X MD X = X [M I]X and b = X [M I]X
0 0
X [M0 I]y.
Least Squares Dummy Variable Estimator
(LSDV)
b is obtained by ‘within’ groups least squares (group mean deviations)
Normal equations for a are D’Xb+D’Da=D’y
a = (D’D)-1D’(y – Xb)
Ti
ai =(1/Ti )Σ t=1 (y it -x it b)=ei