Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →PyFixest reference for fitting OLS, IV, and Poisson models with fixed effects, plus their parameters and outputs.
0% 61%+61 ptsof test cases passed
Passed 14 of 23 test cases with the skill, and 0 of 23 without it.
3 of 3 safety checks passed
2 agent runs
Dense, machine-readable reference for LLMs. No prose padding. Version: matches latest PyFixest release.
import pyfixest as pf
pf.feols(
fml: str, # Formula: "Y ~ X1 + X2 | fe1 + fe2" or IV: "Y ~ exog | fe | endog ~ inst"
data: pd.DataFrame,
vcov: str | dict = None, # "iid", "HC1"-"HC3", {"CRV1": "clust"}, {"CRV3": "clust"}, {"CRV1": "c1+c2"}
weights: str = None, # Column name for weights
ssc: dict = None, # Small sample correction, see pf.ssc()
fixef_rm: str = "singleton", # "none" or "singleton"
drop_intercept: bool = False,
split: str = None, # Column name to split sample by
fsplit: str = None, # Like split but also fits on full sample
weights_type: str = "aweights", # "aweights" or "fweights"
solver: str = "scipy.linalg.solve",
lean: bool = False,
) -> Feols | FixestMulti
Returns Feols for single model, FixestMulti for multiple estimation syntax.
pf.fepois(
fml: str, # "Y ~ X1 + X2 | fe1 + fe2"
data: pd.DataFrame,
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.