Learn R Programming

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

lfe (version 2.0-1570)

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 instrumental variables, conditional F statistics for weak instruments, 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

2.0-1570

License

Artistic-2.0

Maintainer

Simen Gaure

Last Published

February 10th, 2015

Functions in lfe (2.0-1570)

kaczmarz

Solve a linear system defined by factors
compfactor

Find the connected components
fevcov

Compute bias corrrected covariance matrix between fixed effects
waldtest

Compute Wald test for linear restriction or joint significance.
bccorr

Compute bias corrrected correlation between fixed effects
condfstat

Compute conditional F statistic for weak instruments in an IV-estimation with multiple endogenous variables.
summary.felm

Summarize felm model fits
btrap

Bootstrap standard errors for the group fixed effects
efactory

Create estimable function
varvars

Compute the variance of the fixed effect variance estimate
demeanlist

Centre vectors on multiple groups
felm

Fit a linear model with multiple group fixed effects
is.estimable

Verify estimability of function
getfe

Retrieve the group fixed effects
lfe-package

Overview. Linear Group Fixed Effects