Overview of PyFixest capabilities
masterPyFixest is a high-performance Python library designed for regression analysis with high-dimensional fixed effects, serving as a faithful port of the R fixest package.
Core Estimation Routines:
- OLS: via
feols() - IV (Instrumental Variables): via
feols() - Poisson Regression: via
fepois() - GLM (Generalized Linear Models): via
feglm() - Quantile Regression
Advanced Features:
- Event Studies: Supports linear projections, two-stage difference-in-differences imputation, and fully-saturated event study estimators.
- Inference: Includes cluster robust variance estimators (CRV1, CRV3), wild cluster bootstrap, randomization inference, causal cluster variance estimators, and Romano-Wolf correction for family-wise error rate control.
- Diagnostics & Decomposition: Supports Gelbach's regression decomposition, Lal's event study specification test, and weak instrument diagnostics.
Design Philosophy:
PyFixest aims for syntax parity with R's fixest. Users can transition between R and Python seamlessly, as the input arguments and results (point estimates, standard errors, $R^2$) are designed to be identical.