CRAN/E | lfe

lfe

Linear Group Fixed Effects

Installation

About

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.

Citation lfe citation info
github.com/r-econometrics/lfe
Bug report File report

Key Metrics

Version 3.0-0
R ≥ 2.15.2
Published 2024-02-29 58 days ago
Needs compilation? yes
License MIT
License File
CRAN checks lfe results

Downloads

Yesterday 561 0%
Last 7 days 2.691 -19%
Last 30 days 12.238 -12%
Last 90 days 36.034 +11%
Last 365 days 131.061 -13%

Maintainer

Maintainer

Mauricio Vargas Sepulveda

m.sepulveda@mail.utoronto.ca

Authors

Simen Gaure

aut

Grant McDermott

ctb

Mauricio Vargas Sepulveda

ctb / cre

Karl Dunkle Werner

ctb

Matthieu Stigler

ctb

Daniel Lüdecke

ctb

Material

README
NEWS
Reference manual
Package source

In Views

Econometrics

Vignettes

Limited mobility bias correction
Multicollinearity, identification, and estimable functions
How lfe works
Convergence rate with examples

Classification MSC

62J05
65F10
65F50

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

lfe archive

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

Reverse Imports

gsynth
interflex
ivDiag

Reverse Suggests

alpaca
broom
broom.helpers
fixest
fwildclusterboot
getspanel
insight
modelsummary
OneSampleMR
parameters
plm
sdcLog
SpatialRDD

Reverse Enhances

stargazer
texreg