lfe: Linear Group Fixed Effects

Transforms away factors with many levels prior to doing an OLS. Useful for estimating linear models with multiple group fixed effects, and for estimating linear models which uses factors with many levels as pure control variables. Includes support for instrumental variables, conditional F statistics for weak instruments, robust and multi-way clustered standard errors, as well as limited mobility bias correction.

Version: 2.8-5.1
Depends: R (≥ 2.15.2), Matrix (≥ 1.1-2)
Imports: Formula, xtable, compiler, utils, methods, sandwich, parallel
Suggests: knitr, digest, igraph, plm, cubature (≥ 2.0.3), numDeriv, data.table, alpaca, testthat
Published: 2020-07-08
Author: Simen Gaure ORCID iD [aut, cre], Grant McDermott [ctb], Karl Dunkle Werner [ctb], Matthieu Stigler [ctb], Daniel L├╝decke [ctb]
Maintainer: Simen Gaure <Simen.Gaure at frisch.uio.no>
BugReports: https://github.com/sgaure/lfe/issues
License: Artistic-2.0
Copyright: 2011-2019, Simen Gaure
URL: https://github.com/sgaure/lfe
NeedsCompilation: yes
Classification/JEL: C13, C23, C60
Classification/MSC: 62J05, 65F10, 65F50
Citation: lfe citation info
Materials: NEWS
In views: Econometrics
CRAN checks: lfe results

Downloads:

Reference manual: lfe.pdf
Vignettes: Limited mobility bias correction
Multicollinearity, identification, and estimable functions
How lfe works
Convergence rate with examples
Package source: lfe_2.8-5.1.tar.gz
Windows binaries: r-devel: lfe_2.8-5.1.zip, r-release: lfe_2.8-5.1.zip, r-oldrel: lfe_2.8-5.1.zip
macOS binaries: r-release: lfe_2.8-5.1.tgz, r-oldrel: lfe_2.8-5.1.tgz
Old sources: lfe archive

Reverse dependencies:

Reverse imports: collapse, ExPanDaR, interflex, RCT
Reverse suggests: alpaca, broom, DeclareDesign, estimatr, fixest, insight, parameters
Reverse enhances: stargazer, texreg

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lfe to link to this page.