Economics at your fingertips  

reghdfe: Estimating linear models with multi-way fixed effects

Sergio Correia ()

2016 Stata Conference from Stata Users Group

Abstract: In this presentation, I describe a novel estimator for linear models with multiple levels of fixed effects. I first show that solving the two-way fixed effects model is equivalent to solving a linear system on a graph, and exploit recent advances in graph theory (Kelner et al, 2013) to propose a nearly-linear time estimator. Second, I embed the estimator into an improved version of the one by Guimarães and Portugal (2010) and Gaure (2013). This new estimator performs particularly well with large datasets and high-dimensional fixed effects, and can be also used as a building block of multiple nonlinear models. Finally, I introduce the reghdfe package, which applies this estimator and extends it to instrumental-variable and linear GMM regressions.

Date: 2016-08-10
References: Add references at CitEc
Citations: View citations in EconPapers (8) Track citations by RSS feed

Downloads: (external link)

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:

Access Statistics for this paper

More papers in 2016 Stata Conference from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

Page updated 2021-12-01
Handle: RePEc:boc:scon16:24