XTGFE: Stata module to perform grouped fixed-effects (GFE) estimation for panel data (Bonhomme and Manresa, 2015)
H. Ozan Eruygur
Statistical Software Components from Boston College Department of Economics
Abstract:
xtgfe estimates the grouped fixed-effects model of Bonhomme and Manresa (2015, Econometrica), in which the units of a panel are classified into a finite number of latent groups, each with its own time-varying (or, optionally, time-invariant) fixed effect. Group membership is unobserved and is estimated from the data, jointly with the common coefficients. Both of the authors' computational algorithms are implemented (the iterative Algorithm 1 and the variable neighborhood search Algorithm 2), for balanced and unbalanced panels. Three types of standard errors are available: large-N large-T cluster-sandwich (default), unit-resampling bootstrap with bias correction, and the large-N fixed-T analytic formula based on Pollard (1982). The number of groups can be selected by the BIC criterion of the paper.
Language: Stata
Requires: Stata version 14
Keywords: grouped fixed effects; panel data (search for similar items in EconPapers)
Date: 2026-08-01
Note: This module should be installed from within Stata by typing "ssc install xtgfe". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/x/xtgfe.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtgfe.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459847
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().