Draft package for high dimensional fixed effect OLS estimation
Project description
PyFixest
This is a draft package (highly experimental!) for a Python clone of the excellent fixest package.
Fixed effects are projected out via the PyHDFE package.
For a quick introduction, see the tutorial.
import pyfixest as pf
from pyfixest.utils import get_data
data = get_data()
fixest = pf.Fixest(data = data)
fixest.feols("Y~X1 | X2", vcov = "HC1")
fixest.summary()
# ###
#
# model: feols()
# fml: Y~X1 | X2
# ---
# ###
#
# Fixed effects: X2
# Dep. var.: Y
# Inference: HC1
# Observations: 998
#
# Estimate Std. Error t value Pr(>|t|)
# X1 -0.142274 0.210556 -0.675707 0.499383
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfixest-0.3.10.tar.gz
(16.6 kB
view hashes)
Built Distribution
pyfixest-0.3.10-py3-none-any.whl
(18.6 kB
view hashes)
Close
Hashes for pyfixest-0.3.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 284436df1087fc29600672307a2d21b48b7079cb704d191890a2b3b60dfa1694 |
|
MD5 | 857b14e1bb1dcee12cec3f50f8cca822 |
|
BLAKE2b-256 | 75d76673a8786dd2fefefcc480dd88e9b8087481c357eaec3202d3c4bea48ad8 |