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

reghdfe: Estimating linear models with multi-way fixed effects

Author

Listed:
  • Sergio Correia

    (Duke University, Fuqua School of Business)

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.

Suggested Citation

  • Sergio Correia, 2016. "reghdfe: Estimating linear models with multi-way fixed effects," 2016 Stata Conference 24, Stata Users Group.
  • Handle: RePEc:boc:scon16:24
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/chic2016/chicago16_correia.pdf
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Walter D'Lima & Timothy Komarek & Luis A. Lopez, 2023. "Risk perception in housing markets: Evidence from a fighter jet crash," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 51(4), pages 819-854, July.
    2. Ramiro Losada, 2022. "La información pública periódica de los fondos de inversión: como influyen en las decisiones de los inversores," CNMV Documentos de Trabajo CNMV Documentos de Trabaj, CNMV- Comisión Nacional del Mercado de Valores - Departamento de Estudios y Estadísticas.
    3. repec:boc:pcon20:13 is not listed on IDEAS
    4. Luisa Kinzius & Alexander Sandkamp & Erdal Yalcin, 2019. "Trade protection and the role of non-tariff barriers," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 155(4), pages 603-643, November.
    5. Csereklyei, Zsuzsanna & Qu, Songze & Ancev, Tihomir, 2019. "The effect of wind and solar power generation on wholesale electricity prices in Australia," Energy Policy, Elsevier, vol. 131(C), pages 358-369.
    6. Laurent Bergé, 2018. "Efficient estimation of maximum likelihood models with multiple fixed-effects: the R package FENmlm," DEM Discussion Paper Series 18-13, Department of Economics at the University of Luxembourg.
    7. Ramiro Losada, 2022. "Periodic public information on investment funds and how it influences investors´ decisions," CNMV Working Papers CNMV Working Papers no. 7, CNMV- Spanish Securities Markets Commission - Research and Statistics Department.
    8. Raj Chandra & Gabriel E. Lade & GianCarlo Moschini, 2021. "Geographical Indications and Welfare: Evidence from the US Wine Market," Center for Agricultural and Rural Development (CARD) Publications 21-wp628, Center for Agricultural and Rural Development (CARD) at Iowa State University.
    9. Stokes, Jonathan & Lau, Yiu-Shing & Kristensen, Søren Rud & Sutton, Matt, 2019. "Does pooling health & social care budgets reduce hospital use and lower costs?," Social Science & Medicine, Elsevier, vol. 232(C), pages 382-388.
    10. Kausel, Edgar E. & Ventura, Santiago & Rodríguez, Arturo, 2019. "Outcome bias in subjective ratings of performance: Evidence from the (football) field," Journal of Economic Psychology, Elsevier, vol. 75(PB).
    11. Sangyoul Lee & Xiang Bi, 2019. "Can adoption of pollution prevention techniques reduce pollution substitution?," PLOS ONE, Public Library of Science, vol. 14(11), pages 1-18, November.
    12. Fabio Schiantarelli & Massimiliano Stacchini & Philip E. Strahan, 2020. "Bank Quality, Judicial Efficiency, and Loan Repayment Delays in Italy," Journal of Finance, American Finance Association, vol. 75(4), pages 2139-2178, August.
    13. Gabriel Lyrio de Oliveira & Andre Luis Squarize Chagas & Denise Leyi Li, 2022. "Public Sector Procurements and Reference Prices Estimation with Small Samples in Brazil," Working Papers, Department of Economics 2022_02, University of São Paulo (FEA-USP).
    14. Sebastian Kripfganz & Vasilis Sarafidis, 2021. "Instrumental-variable estimation of large-T panel-data models with common factors," Stata Journal, StataCorp LP, vol. 21(3), pages 659-686, September.
    15. Dierick, Nicolas & Heyman, Dries & Inghelbrecht, Koen & Stieperaere, Hannes, 2019. "Financial attention and the disposition effect," Journal of Economic Behavior & Organization, Elsevier, vol. 163(C), pages 190-217.
    16. Mulungu, Kelvin & Kilimani, Nicholas, 2023. "Does forest access reduce reliance on costly shock-coping strategies? Evidence from Malawi," Ecological Economics, Elsevier, vol. 209(C).
    17. Luis Arturo Lopez, 2021. "Asymmetric information and personal affiliations in brokered housing transactions," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 49(2), pages 459-492, June.
    18. Weiwen Li & Garry D. Bruton & Xinchun Li & Shuang Wang, 2022. "Transgenerational Succession and R&D Investment: A Myopic Loss Aversion Perspective," Entrepreneurship Theory and Practice, , vol. 46(1), pages 193-222, January.
    19. Yahia, Nadia Ben & Chalwati, Amna & Hmaied, Dorra & Khizer, Abdul Mohi & Trabelsi, Samir, 2023. "Do foreign institutions avoid investing in poorly CSR-performing firms?," Journal of Banking & Finance, Elsevier, vol. 157(C).

    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:scon16:24. 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.