Skip to main content

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.

Installation

The PyHDFE package has been tested on Python versions 3.6 through 3.15. 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.

Metadata

Release files for pyhdfe 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhdfe 0.2.1
File Size Uploaded
pyhdfe-0.2.1.tar.gz 30.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyhdfe 0.2.1
File Interpreter ABI Platform
pyhdfe-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 51.0 kB

Release files / pyhdfe-0.2.1.tar.gz

Download URL pyhdfe-0.2.1.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fa625e517c62d4e171ce4a5a9a6018c231d8a30702bdabe94f01f6cee34dad4e
BLAKE2b-256 checksum
How to use checksums
692ba1c4dc11b272b3e06eed3c114020dd3cbdecaa6dfc6530f3e257f5e93c65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / pyhdfe-0.2.1-py3-none-any.whl

Download URL pyhdfe-0.2.1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70ff8649696a397cadc4233a971c9937bfc1c5b1c84e23551ee7a12d726be5b3
BLAKE2b-256 checksum
How to use checksums
6a8cf441745cf66081f2ddcf1eaa0f6a205bc45e8317be19d8af2e696421c84e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page