random effects - josé fajardo · random effects prf. josé fajardo fgv/ebape. 15/08/2014 2. ......
TRANSCRIPT
15/08/2014
6
FE or RE Models?
'0
'1
: ( , ) 0 ( )
: ( , ) 0 ( )i it
i it
H Cov u random effects
H Cov u fixed effects
=
≠
x
x
Estimator Random Effects
E(ui|Xi) = 0
Fixed Effects
E(ui|Xi) ≠0
GLS or RE-OLS
(Random Effects)
Consistent and
Efficient
Inconsistent
LSDV or FE-OLS
(Fixed Effects)
Consistent
Inefficient
Consistent
Possibly Efficient
FE or RE Models?
15/08/2014
9
CR 1988 example
xtreg lwage `x1' `x2', fe
estimates store FE
predict ufe, u
regress ufe `x2', robust
* Random effects: Mundlak approach
xtreg lwage `x1' `x2', re
estimates store RE
predict ure, u
* model comparisons
estimates table FE RE, b se t stats(r2_o rho)
hausman FE RE
Exercicio2.do
15/08/2014
11
Testing for RE
Testing for Cross-sectional Dependence
Testing for Cross-sectional Dependence