The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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. See Gaure (2013) <doi:10.1016/j.csda.2013.03.024> 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 (Gaure 2014 <doi:10.1002/sta4.68>). Since version 3.0, it provides dedicated functions to estimate Poisson models.

Version: 3.1.0
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
Published: 2024-11-06
DOI: 10.32614/CRAN.package.lfe
Author: Simen Gaure ORCID iD [aut], Grant McDermott [ctb], Mauricio Vargas Sepulveda ORCID iD [ctb, cre], Karl Dunkle Werner [ctb], Matthieu Stigler ORCID iD [ctb], Daniel Lüdecke [ctb]
Maintainer: Mauricio Vargas Sepulveda <m.sepulveda at mail.utoronto.ca>
BugReports: https://github.com/r-econometrics/lfe/issues
License: MIT + file LICENSE
URL: https://github.com/r-econometrics/lfe
NeedsCompilation: yes
Classification/JEL: C13, C23, C60
Classification/MSC: 62J05, 65F10, 65F50
Citation: lfe citation info
Materials: README NEWS
In views: Econometrics
CRAN checks: lfe results

Documentation:

Reference manual: lfe.pdf
Vignettes: Limited mobility bias correction (source)
Multicollinearity, identification, and estimable functions (source, R code)
How lfe works (source, R code)
Convergence rate with examples (source, R code)

Downloads:

Package source: lfe_3.1.0.tar.gz
Windows binaries: r-devel: lfe_3.1.0.zip, r-release: lfe_3.1.0.zip, r-oldrel: lfe_3.1.0.zip
macOS binaries: r-release (arm64): lfe_3.1.0.tgz, r-oldrel (arm64): lfe_3.1.0.tgz, r-release (x86_64): lfe_3.1.0.tgz, r-oldrel (x86_64): lfe_3.1.0.tgz
Old sources: lfe archive

Reverse dependencies:

Reverse imports: gsynth, interflex, ivDiag
Reverse suggests: alpaca, broom, broom.helpers, fixest, getspanel, HonestDiD, insight, modelsummary, OneSampleMR, parameters, plm, sdcLog, SpatialRDD
Reverse enhances: stargazer, texreg

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.