Part2 - FEM and REM
Part2 - FEM and REM
1 P
where ȳi = yit
T
Because ai is fixed over time, it appears both in 1 and 2. If we
substract 2 from 1 for each t, we wind up with
Fixed effect transformation
(xitj , ai ) = 0, t = 1, 2, . . . , T ; j = 1, 2, . . . , k (7)
Random effect models
▶ Equation 6 becomes
σa2 = Var(ai )
σu2 = Var(uit )
σa2
Corr(vit , vis ) = , t ̸= s (10)
σa2 + σu2
Random effect models
Define
1
σu2
2
λ=1− 2 2
σu + T σa
then
0≤λ≤1 (11)
Then the transformed equation turns out to be
yit −λȳi = β0 (1−λ)+β1 (xit1 − λx̄i1 )+. . .+βk (xitk − λx̄ik )+(vit −λv̄i )
(12)
where the overbar again denotes the time averages.
▶ The random effects transformation subtracts a fraction of
time average ȳi , where the fraction depends on σu2 , σa2 , and
the number of time periods, T .
▶ Then, we can use the generalized least square (GLS) to
estimate the parameters.
▶ It can be proven that the equation 12 are serially uncorrelated.
Random effect models
▶ λ is a constant to be estimated:
1
2
1
λ̂ = 1 − ! (13)
σˆa2
1 + T ·
σˆ2
u
▶ data: WAGEPAN
▶ Three methods
▶ pooled OLS
▶ random effects
▶ fixed effects
▶ In the first two methods, we can include educ and race
dummies (black and hispan), but these variables are drop out
of the fixed effects analysis.
Fixed effect or random effect ?
Hausman test
▶ Null hypothesis: Random effect model
▶ Alternative hypothesis: Fixed effect model.
▶ If the p-value of the Hausman test is less than the significance
level, then reject the null hypothesis and use the Fixed effect
model
▶ Essentially, the tests looks to see if there is a correlation
between the unique errors and the regressors in the model.
The null hypothesis is that there is no correlation between the
two.
Practice: Exercises at the end of the chapter 14.