Panel Data Models:

Fixed and Random Effects Linear Models

The linear model with unobserved individual (and unobserved time) effects is

           formula

There is one dummy variable coefficient, ai, for each individual or group. We also allow for ‘two way’ models by allowing for the individual period effect with ct. The number of groups or individuals allowed in the sample is unlimited. The number of periods is typically small, and is usually not a relevant consideration as regards the capacity of the estimator. In all cases, there is no requirement that the panel be ‘balanced’ (that is, the number of observations may vary by group). LIMDEP allows a large number of different specifications for the linear model of this form.

  • Fixed effects (dummy variables) or random effects regression model
  • Both one and two way effects models
  • Test statistics for the presence of effects (LM test) and fixed vs. random effects (Hausman)
  • Nested random effects, nested up to three levels, fit by maximum likelihood
  • Two step feasible GLS or maximum likelihood estimation of the random effects model
  • Restricted least squares estimates
  • Robust forms of the fixed effects estimator covariance matrix (both heteroscedasticity (White) and autocorrelation (Newey-West)
  • ‘Panel Corrected Standard Errors’ for the case with large T and large N
  • Weighted least squares for groupwise heteroscedasticity
  • AR(1) model for autocorrelation in fixed or random effects models
  • Hausman and Taylor’s estimator for endogenous right hand side variables
  • Instrumental variables estimators for simultaneous equations using first differences or group mean deviations
  • Arellano/Bond/Bover’s estimator for dynamic linear models

The linear model with heterogeneous coefficients is

           formula

This is one form of the random parameters model. LIMDEP supports the Hildreth/Houck/Swamy form of this model using feasible GLS estimators. There is also a full random coefficients treatment. Another form of the panel data version of the linear model allows heterogeneity in both the variance of eit across groups as well as variation in the parameters. The linear model is also supported in the classes of full random parameters models and latent class models.