Learn R Programming

⚠️There's a newer version (3.1.1) of this package.Take me there.

lfe (version 1.8-1441)

Linear Group Fixed Effects

Description

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 as pure control variables. Includes support for instrumented variables, robust and multi-way clustered standard errors, as well as limited mobility bias correction.

Copy Link

Version

Install

install.packages('lfe')

Monthly Downloads

13,354

Version

1.8-1441

License

Artistic-2.0

Maintainer

Simen Gaure

Last Published

December 25th, 2014

Functions in lfe (1.8-1441)

varvars

Compute the variance of the fixed effect variance estimate
fevcov

Compute bias corrrected covariance matrix between fixed effects
summary.felm

Summarize felm model fits
kaczmarz

Solve a linear system defined by factors
felm

Fit a linear model with multiple group fixed effects
compfactor

Find the connected components
is.estimable

Verify estimability of function
lfe-package

Overview. Linear Group Fixed Effects
demeanlist

Centre vectors on multiple groups
bccorr

Compute bias corrrected correlation between fixed effects
btrap

Bootstrap standard errors for the group fixed effects
getfe

Retrieve the group fixed effects
efactory

Create estimable function