Skip to main content

Draft package for high dimensional fixed effect OLS estimation

Project description

PyFixest

coverage coverage 88% 88%

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.

from pyfixest import Fixest
from pyfixest.utils import get_data

data = get_data()

fixest = Fixest(data = data)
fixest.feols("Y~X1 | X2", vcov = "HC1")
fixest.summary()
# ### Fixed-effects: X2
# Dep. var.: Y
#
#     Estimate  Std. Error   t value  Pr(>|t|)
# X1 -0.103285    0.172956 -0.597172  0.550393

Support for more fixest formula-sugar is work in progress.

Project details


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.4.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

pyfixest-0.3.4-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page