EconPapers    
Economics at your fingertips  
 

XHDFE: Stata module to estimate high-dimensional fixed effects regression via a c++ plugin

Miguel Portela and Tiago Tavares ()
Additional contact information
Tiago Tavares: Universidade do Minho

Statistical Software Components from Boston College Department of Economics

Abstract: xhdfe estimates linear models with high-dimensional fixed effects (HDFE) using a C++ backend. It mirrors the reporting and defaults of reghdfe where possible, while exposing fixest-style small-sample corrections and ideas from pyfixest, FixedEffectModels.jl, the within solvers of Fischer and Schroeder, and fereg by Schmieder. The command supports multiway fixed effects, weights, robust and multiway-cluster inference, reghdfe-style singleton dropping and DoF adjustments, and (optionally) the group()/individual() machinery.

Language: Stata
Requires: Stata version 16
Keywords: high-dimensional fixed effects; mulkti-way vlustering (search for similar items in EconPapers)
Date: 2026-11-22
Note: This module should be installed from within Stata by typing "ssc install xhdfe". 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/xhdfe.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfe.sthlp
http://fmwww.bc.edu/repec/bocode/x/xfepout.ado
http://fmwww.bc.edu/repec/bocode/x/xfepout.sthlp
http://fmwww.bc.edu/repec/bocode/x/xfepout.linux64.plugin
http://fmwww.bc.edu/repec/bocode/x/xfepout.macos-universal.plugin
http://fmwww.bc.edu/repec/bocode/x/xfepout.win64.plugin
http://fmwww.bc.edu/repec/bocode/x/xhdfe.linux64.plugin
http://fmwww.bc.edu/repec/bocode/x/xhdfe.macos-universal.plugin
http://fmwww.bc.edu/repec/bocode/x/xhdfe_libomp.dylib
http://fmwww.bc.edu/repec/bocode/x/xhdfe.win64.plugin
http://fmwww.bc.edu/repec/bocode/x/xhdfe_estat.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfe_example_cluster.do
http://fmwww.bc.edu/repec/bocode/x/xhdfe_example_partial_out.do
http://fmwww.bc.edu/repec/bocode/x/xhdfe_examples.sthlp
http://fmwww.bc.edu/repec/bocode/x/xhdfe_p.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfeakm.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfeakm.sthlp
http://fmwww.bc.edu/repec/bocode/x/xhdfeconnected.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfeconnected.sthlp
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbach.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbach.sthlp
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbachbootstrap.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbachbootstrap.sthlp
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbachcoefplot.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbachcoefplot.sthlp
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbachetable.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfegelbachetable.sthlp
http://fmwww.bc.edu/repec/bocode/x/xhdfegpu.ado
http://fmwww.bc.edu/repec/bocode/x/xhdfegpu.sthlp

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:s46044

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 ().

 
Page updated 2026-11-30
Handle: RePEc:boc:bocode:s46044