IDEAS home Printed from https://ideas.repec.org/p/boc/lsug25/12.html
   My bibliography  Save this paper

Testing whether group-level fixed effects are sufficient in panel data models

Author

Listed:
  • David Vincent

    (David Vincent Econometrics)

Abstract

This presentation introduces a new command, xtfelevel, which implements a Hausman-type test to assess whether controlling for fixed effects at a more aggregate (group) level is sufficient for consistently estimating the coeacients on unit-specific, time-varying variables in linear panel-data models where units are nested within groups. The command builds on Papke and Wooldridge (2023), who develop a test of the null hypothesis that the probability limits of the fixed-effects estimators for a coefficient of interest are the same whether heterogeneity is controlled at the unit or group level. Rejection of the null suggests that unit-level fixed-effects estimation is required. xtfelevel extends this framework by comparing the unit-level fixed effects estimator with an IV estimator that allows the time-varying controls to be correlated with unit-level heterogeneity, while accounting for correlation between the variable of interest and group- level effects. This estimator yields results analogous to pooled OLS estimation of the Mundlak regression, where the time average of the variable of interest is first partialed out from the time averages of the controls. Under the null, the estimator can often be more efficient than the unit-level fixed effects estimator, especially when the variable of interest exhibits limited within-unit variation. This extension addresses a limitation in applying the usual Mundlak device to obtain more efficient estimates, as discussed by Wooldridge (2019). When the variable of interest is uncorrelated with the unit-level heterogeneity but is correlated with the time-varying controls that are themselves correlated with those effects, excluding its time mean to improve efficiency can lead to omitted variable bias.

Suggested Citation

  • David Vincent, 2025. "Testing whether group-level fixed effects are sufficient in panel data models," UK Stata Conference 2025 12, Stata Users Group.
  • Handle: RePEc:boc:lsug25:12
    as

    Download full text from publisher

    File URL: http://repec.org/lsug2025/
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:lsug25:12. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.