PyFixest
Getting Started
Function Reference
Tutorials
All Tutorials
OLS with Fixed Effects
Formula Syntax
Instrumental Variables
Regression Tables
Difference-in-Differences
Quantile Regression
Guides
All Guides
Choosing a Demeaner Backend
Marginal Effects & Hypothesis Testing
When to Use Anytime-Valid Inference
Regression Decomposition
Compare Stata & PyFixest
Variance Reduction in AB Tests
Explanation
When Are Fixed Effects Problems Difficult?
On Small Sample Corrections
Does PyFixest Match fixest?
Case Studies & Blog Posts
Textbook Replications
All Textbook Replications
Causal Inference for the Brave and True
Causal Inference: The Mixtape
The Effect
Other Resources
Changelog
Contributing
Acknowledgements
llms.txt
Skills.md
Demeaning
Preconditioner
PyFixest Function Reference
Estimation
feols
fepois
feglm
quantreg
Difference-in-Differences
event_study
did2s
lpdid
SaturatedEventStudy
panelview
Multiple Hypothesis Testing
bonferroni
rwolf
wyoung
Estimation Classes
Feols
Fepois
Feiv
Feglm
FixestMulti
Quantreg
Post-Estimation Methods
Feols.tidy
Feols.coef
Feols.se
Feols.tstat
Feols.pvalue
Feols.confint
Feols.resid
Feols.vcov
Feols.predict
Feols.fixef
Feols.get_performance
Feols.wald_test
Feols.wildboottest
Feols.ritest
Feols.ccv
Feols.decompose
Feols.update
Feols.evalue
Feols.pvalue_savi
Summarize and Visualize
summary
etable
coefplot
iplot
qplot
Data Sets
get_data
get_ivf_data
get_bartik_data
get_encouragement_data
get_twin_data
get_worker_panel
get_motherhood_event_study_data
Formula Parsing & Model Matrix
Formula
ModelMatrix
factor_interaction
Demeaning
demean
BaseDemeaner
MapDemeaner
LsmrDemeaner
Preconditioner
Misc / Utilities
detect_singletons
ssc
get_ssc
optimal_mixture_precision
model_matrix_fixest
Demeaning
Preconditioner
Preconditioner
Preconditioner(data, build_time_seconds)