Skip to main content

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


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)

Uploaded Source

Built Distribution

pyfixest-0.3.10-py3-none-any.whl (18.6 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