lfe: Linear Group Fixed Effects

Abstract:

Linear models with fixed effects and many dummy variables are common in some fields. Such models are straightforward to estimate unless the factors have too many levels. The R package lfe solves this problem by implementing a generalization of the within transformation to multiple factors, tailored for large problems.

Cite PDF Tweet

Author

Affiliation

Simen Gaure

 

Published

Nov. 17, 2013

Received

Apr 12, 2013

DOI

10.32614/RJ-2013-031

Volume

Pages

5/2

104 - 116

CRAN packages used

Matrix, plm, lfe, igraph, multicore

CRAN Task Views implied by cited packages

Econometrics, gR, Graphics, Multivariate, NumericalMathematics, Optimization, Spatial, SpatioTemporal

Footnotes

    Reuse

    Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

    Citation

    For attribution, please cite this work as

    Gaure, "The R Journal: lfe: Linear Group Fixed Effects", The R Journal, 2013

    BibTeX citation

    @article{RJ-2013-031,
      author = {Gaure, Simen},
      title = {The R Journal: lfe: Linear Group Fixed Effects},
      journal = {The R Journal},
      year = {2013},
      note = {https://doi.org/10.32614/RJ-2013-031},
      doi = {10.32614/RJ-2013-031},
      volume = {5},
      issue = {2},
      issn = {2073-4859},
      pages = {104-116}
    }