hyppo
A comprehensive independence testing package
What it is and what it does
hyppo is a Python library for multivariate hypothesis testing, designed to handle high-dimensional and nonlinear data where traditional univariate tests fall short. It implements a range of independence tests and other statistical procedures, including some novel methods not available in other packages. The library targets researchers and practitioners who need to test relationships between multiple variables simultaneously, filling a gap where R libraries exist but lack consistent interfaces or Python availability.
The package depends on core scientific Python tools (numpy, scipy, scikit-learn, statsmodels, numba, autograd, pandas, patsy, future) and is maintained actively. It runs on Python 3.8 through 3.14 and is in Alpha status, meaning the API may still evolve but the core functionality is usable for research and analysis work.
Use it for:
- Test independence between variables in high-dimensional datasets across multiple fields.
- Validate nonlinear relationships in multivariate data where standard correlation is insufficient.
- Compare statistical test results using multiple hypothesis testing methods on the same data.
- Conduct exploratory data analysis when you need to detect associations in complex, multi-variable systems.
- Implement novel independence tests documented in recent statistical literature not yet in mainstream packages.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
hyppo provides multivariate hypothesis testing for high-dimensional and nonlinear data, implementing both classical and novel statistical tests in Python.
Yes, if you need multivariate hypothesis testing for high-dimensional or nonlinear data. The package is actively maintained, has low install friction, carries a permissive MIT License, and fills a real gap in Python's statistical testing landscape. Alpha status indicates the API may evolve, so verify that the specific tests you need are documented and validated for your use case.
Install
hyppo on PyPI
pip
pip install hyppouv
uv add hyppopoetry
poetry add hyppoInstalling hyppo
Before you install
Low friction installation with a pure-Python wheel. Active maintenance as of 2026-08-09 with recent commits. Depends on a substantial stack (numpy, scipy, scikit-learn, statsmodels, numba, autograd, pandas, patsy, future) but all are standard scientific Python packages.
License in practice
MIT License permits commercial and private use with minimal restrictions—you may use, modify, and distribute hyppo freely provided you include the license notice.
Quickstart
pip install hyppo
from hyppo.independence import Hsic
import numpy as np
X = np.random.randn(10, 5)
Y = np.random.randn(10, 3)
stat, pval = Hsic().test(X, Y)
Verify before relying
- Whether the package's novel tests are documented with references or citations to support their statistical validity.
- Performance characteristics and scalability limits for very high-dimensional datasets.
- Specific use-case suitability and validation status for genomics, neuroimaging, or other domains.
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — numpy, scipy, numba, scikit-learn, autograd, statsmodels, patsy, pandas, future |
| Maintenance | actively maintained — 447 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 155,613/month — #10,807 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: hyppo-0.5.2-py3-none-any.whl
Tags
More Mathematics packages
NetworkX provides data structures and…
permissive · top 1,000 on PyPI
kiwisolverkiwisolver is a Python binding to a fast C++…
permissive · top 1,000 on PyPI
sympySymPy is a Python library for symbolic…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
torchPyTorch provides GPU-accelerated tensor…
permissive · top 1,000 on PyPI
onnxruntimeonnxruntime loads and executes Open Neural…
permissive · top 1,000 on PyPI
phikPhi_K computes a correlation coefficient that…
permissive · top 5,000 on PyPI
pingouinPingouin provides a comprehensive statistical…
copyleft · top 15,000 on PyPI
pyhdfePyHDFE absorbs high-dimensional fixed effects…
permissive · top 15,000 on PyPI
copulasCopulas models multivariate statistical…
unclear · top 15,000 on PyPI
pypotsPyPOTS provides machine learning algorithms for…
permissive · top 15,000 on PyPI
diptestComputes Hartigan's dip test statistic and…
copyleft · top 15,000 on PyPI
powershapPowershap performs feature selection by testing…
permissive · top 15,000 on PyPI
statsmodelsstatsmodels provides statistical models,…
permissive · top 1,000 on PyPI
hypothesisHypothesis is a property-based testing library…
copyleft · top 1,000 on PyPI
scikit-posthocsProvides post hoc statistical tests for…
permissive · top 15,000 on PyPI