lfe
3.1.1Linear Group Fixed Effects
Overview
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.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 98%
- Return-value docs
- 91%
- References docs
- 28%
Downloads
Repository
Forks over time
Issues over time
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/r-econometrics/lfe on 2026-08-16.
Dependencies
Code & Tests
People & History
64 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 3.1.1Latest
- 3.1.02024-11-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 3.0-02024-02-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.9-02023-02-13 · diff ↗
- 2.8-82022-05-05 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.8-7.12021-11-07 · diff ↗
- 2.8-72021-07-31 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.8-62021-01-11 · diff ↗
- unarchivedReturned to CRAN2021-01-11
- archivedRemoved from CRAN2020-12-04check problems were not corrected in time
Show 68 earlier events
- 2.8-5.12020-07-08 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.8-52019-12-17 · diff ↗
- 2.8-42019-12-11 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.8-32019-03-27 · diff ↗
- 2.8-2.12019-03-26 · diff ↗
- 2.8-22018-08-22 · diff ↗
- 2.82018-06-28 · diff ↗
- 2.7-23832018-06-18 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.6-22912018-02-16 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 2.5-19982016-04-19 · diff ↗
- 2.5-19682016-04-11 · diff ↗
- 2.4-17882015-10-26 · diff ↗
- 2.4-17862015-10-21 · diff ↗
- 2.3-17092015-05-26 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 2.2-16992015-04-13 · diff ↗
- 2.1-16402015-03-11 · diff ↗
- 2.1-16292015-03-05 · diff ↗
- 2.1-16202015-03-03 · diff ↗
- 2.0-15702015-02-10 · diff ↗
- 1.8-14412014-12-25 · diff ↗
- 1.7-14162014-12-15 · diff ↗
- 1.7-14042014-10-10 · diff ↗
- 1.7-14012014-10-09 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.7-12892014-03-13 · diff ↗
- 1.7-12862014-03-09 · diff ↗
- 1.7-12822014-03-07 · diff ↗
- 1.6-11882014-01-23 · diff ↗
- 1.6-11802014-01-04 · diff ↗
- 1.6-11632013-12-06 · diff ↗
- 1.6-11612013-12-03 · diff ↗
- 1.5-11182013-11-12 · diff ↗
- 1.5-11072013-10-28 · diff ↗
- 1.5-10452013-08-05 · diff ↗
- 1.5-10262013-06-12 · diff ↗
- 1.4-9632013-05-07 · diff ↗
- 1.4-9412013-04-03 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.4-7712013-01-16 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 1.4-7312011-12-07 · diff ↗
- 1.4-7292011-11-29 · diff ↗
- 1.4-7262011-11-23 · diff ↗
- 1.4-7232011-11-21 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.4-7092011-10-11 · diff ↗
- 1.4-7082011-09-28 · diff ↗
- 1.4-7022011-09-27 · diff ↗
- 1.4-6952011-09-24 · diff ↗
- 1.4-6812011-09-22 · diff ↗
- 1.4-6702011-09-11 · diff ↗
- 1.4-6532011-09-01 · diff ↗
- 1.4-6412011-08-30 · diff ↗
- 1.3-5722011-04-24 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 1.3-5122011-04-08 · diff ↗
- 1.2-4522011-03-30 · diff ↗
- 1.2-4442011-03-27 · diff ↗
- 1.1-4342011-03-16 · diff ↗
- 1.1-4272011-03-11 · diff ↗
- 1.0-4182011-03-10
- RR 2.12.0 released · 2010-10-15
Package metadata
- First published
- 2011-03-10
- Total releases
- 64 / 15 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 2.15.2
- Download size
- 1.1 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("lfe")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.