Skip to main content

High dimensional fixed effect absorption with Python 3

Project description

An overview of the package, examples, and other documentation can be found on Read the Docs.

PyHDFE is a Python 3 implementation of algorithms for absorbing high dimensional fixed effects. This package was created by Jeff Gortmaker in collaboration with Anya Tarascina.

What PyHDFE won’t do is provide a convenient interface for running regressions. Instead, the package is meant to be incorporated into statistical projects that would benefit from performant fixed effect absorption. Another goal is facilitating fair comparison of algorithms that have been previously implemented in various languages with different convergence criteria.

Development of the package has been guided by code made publicly available by many researchers and practitioners. For a full list of papers and software cited in this documentation, refer to the references section of the documentation.


The PyHDFE package has been tested on Python versions 3.6 through 3.9. The SciPy instructions for installing related packages is a good guide for how to install a scientific Python environment. A good choice is the Anaconda Distribution, since, along with many other packages that are useful for scientific computing, it comes packaged with PyHDFE’s only required dependencies: NumPy and SciPy.

You can install the current release of PyHDFE with pip:

pip install pyhdfe

You can upgrade to a newer release with the --upgrade flag:

pip install --upgrade pyhdfe

If you lack permissions, you can install PyHDFE in your user directory with the --user flag:

pip install --user pyhdfe

Alternatively, you can download a wheel or source archive from PyPI. You can find the latest development code on GitHub and the latest development documentation here.

Bugs and Requests

Please use the GitHub issue tracker to submit bugs or to request features.

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

pyhdfe-0.2.0.tar.gz (29.0 kB view hashes)

Uploaded Source

Built Distribution

pyhdfe-0.2.0-py3-none-any.whl (19.7 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