Learn R Programming

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

fixest (version 0.3.1)

Fast Fixed-Effects Estimations

Description

Fast and user-friendly estimation of econometric models with multiple fixed-effects. Includes ordinary least squares (OLS), generalized linear models (GLM) and the negative binomial. The core of the package is based on optimized parallel C++ code, scaling especially well for large data sets. The method to obtain the fixed-effects coefficients is based on Berge (2018) . Further provides tools to export and view the results of several estimations with intuitive design to cluster the standard-errors.

Copy Link

Version

Install

install.packages('fixest')

Monthly Downloads

24,077

Version

0.3.1

License

GPL-3

Maintainer

Laurent Berge

Last Published

February 9th, 2020

Functions in fixest (0.3.1)

coef.fixest

Extracts the coefficients from a fixest estimation
base_did

Sample data for difference in difference
did_means

Treated and control sample descriptives
AIC.fixest

Aikake's an information criterion
collinearity

Collinearity diagnostics for fixest objects
coefplot

Plots confidence intervals
BIC.fixest

Bayesian information criterion
confint.fixest

Confidence interval for parameters estimated with fixest
coeftable

Obtain various statistics from an estimation
did_estimate_yearly_effects

Estimates yearly treatment effects
fitted.fixest

Extracts fitted values from a fixest fit
feNmlm

Fixed effects nonlinear maximum likelihood models
feglm

Fixed-effects GLM estimations
errbar

Plots confidence intervals
etable

Estimations table (export the results of multiples estimations to a DF or to Latex)
fixef.fixest

Extract the Fixed-Effects from a fixest estimation.
model.matrix.fixest

Design matrix of a femlm model
nobs.fixest

Extracts the number of observations form a fixest object
fixest-deprecated

Deprecated functions in package fixest.
fixef_reexported

Functions exported from nlme to implement fixest methods
did_plot_yearly_effects

Plots the results of yearly treatment effects estimation
fixest-package

Fast and User-Friendly Fixed-Effects Estimations
print.fixest

A print facility for fixest objects.
formula.fixest

Extract the formula of a fixest fit
dof

Type of degree of freedom in fixest summary
setFixest_dof

Sets the default type of DoF correction in summary/vcov.fixest
setFixest_dict

Sets/gets the dictionary used in esttex
[.fixest_panel

Method to subselect from a fixest_panel
summary.fixest

Summary of a fixest object. Computes different types of standard errors.
i

Interact variables with factors
predict.fixest

Predict method for fixest fits
plot.fixest.fixef

Displaying the most notable fixed-effects
setFixest_nthreads

Sets/gets the number of threads to use in fixest functions
f

Lags a variable in a fixest estimation
r2

R2s of fixest models
setFixest_na_inf.rm

Sets/gets whether to remove NA/Inf values from fixest estimations
setFixest_coefplot

Sets the defaults of coefplot
setFixest_print.type

Sets/gets what print does to fixest estimations
summary.fixest.fixef

Summary method for cluster coefficients
femlm

Fixed-effects maximum likelihood model
summary.fixest.obs2remove

Summary method for fixest.obs2remove objects
feols

Fixed-effects OLS estimation
lag.formula

Lags a variable using a formula
setFixest_notes

Sets/gets whether to display notes in fixest estimation functions
logLik.fixest

Extracts the log-likelihood
obs2remove

Finds observations to be removed from ML estimation with factors/clusters
panel

Constructs a fixest panel data base
vcov.fixest

Extracts the variance/covariance of a femlm fit
unpanel

Dissolves a fixest panel
update.fixest

Updates a fixest estimation
trade

Trade data sample
resid.fixest

Extracts residuals from a fixest object