Professional Documents
Culture Documents
Assumptions
- Fixed Effects assumes that the individual specific effect is correlated to the independent variable.
- Random Effects assumes the individual specific effects are uncorrelated with the independent variables.
Stata Commands:
xtreg y x1 x2 x3, fe (variable you are controlling for)
(reported intercept is the average value of the fixed effects, individual intercepts are the
coefficients on the cross-sectional entitys dummy variable)
predict yhat
Assumption:
The fixed effect model assumes that no other factors are effecting changes in data 1 over the period t0 to t1 not
including this will result in omitted variable bias.
Random Effects Model
In Concept:
Instead of thinking of each unit as having its own systematic baseline, we think of each intercept as the result of a
random deviation from some mean intercept. The intercept is a draw from some distribution for each unit, and it is
independent of the error for a particular observation. Instead of trying to estimate N parameters as in fixed effects, we
just need to estimate parameters describing the distribution from which each units intercept is drawn.
Advantages
More degrees of freedom than fixed effects, because rather than estimating an intercept for virtually every
cross-sectional unit, you estimate the parameters that describe the distribution of the intercepts
Can estimate coefficents for explanatory variables that are constant over time (like race or gender)
Stata commands:
xtreg y x1 x2 x3, re
Add the option robust to control for heteroskedasticity
Mindhive. A Community Portal for MIT Brain Research. Random and Fixed Effects FAQ. Available at
http://mindhive.mit.edu/node/92
Studenmund, A. H. Econometrics PBAF 528. Pearson Custom. Chapter 14, Experimental and Panel Data. Pgs. 486-496.
Taylor, Jonathan. Statistics 203: Introduction to Regression and Analysis of Variance. Fixed vs. Random Effects.
Available at http://www-stat.stanford.edu/~jtaylo/courses/stats203/notes/fixed+random.pdf
Torres-Reyna, Oscar. Panel Data Analysis, Fixed & Random Effects (using Stata 10.x) (ver. 4.1). Princeton University.
Available at http://dss.princeton.edu/training/Panel101.pdf
Yaffee, Robert. A Primer for Panel Data Analysis. New York University Information Technology Services. Fall 2003.
Available at http://www.nyu.edu/its/pubs/connect/fall03/yaffee_primer.html
For more information on how to calculate a Hausman or Durbin-Wu Test in Stata see:
http://www.stata.com/support/faqs/stat/endogeneity.htm