Hypothesize 
A Python package for hypothesis testing using robust statistics
Basic Example
A robust measure of association with winsorized correlation
from hypothesize.measuring_associations import wincor
from hypothesize.utilities import create_example_data
# creating an example DataFrame with columns "cell_1" and "cell_2"
df=create_example_data(2)
results=wincor(df.cell_1, df.cell_2)
# returning the correlation, number of observations, p-value, and winsorized covariance
print(results)
{'cor': 0.11, 'nval': 50, 'sig': 0.44, 'wcov': 0.01}
Documentation
:book: Please visit the Hypothesize documentation site. Note that each statistical test in the can be launched directly in Deepnote's hosted notebook environment—complete with sample data (as shown in the example above 👆).
Citing Hypothesize
If you use Hypothesize in academic work, please use the following citation:
Campopiano, A., & Wilcox, R. R. (2020). Hypothesize: Robust Statistics for Python. Journal of Open Source Software, 5(50), 2241, https://doi.org/10.21105/joss.02241
BibTex:
@article{Campopiano2020,
doi = {10.21105/joss.02241},
url = {https://doi.org/10.21105/joss.02241},
year = {2020},
publisher = {The Open Journal},
volume = {5},
number = {50},
pages = {2241},
author = {Allan Campopiano and Rand R. Wilcox},
title = {Hypothesize: Robust Statistics for Python},
journal = {Journal of Open Source Software}
}
Release files for hypothesize 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hypothesize-1.2.3.tar.gz | 37.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hypothesize-1.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.5 kB
Release files / hypothesize-1.2.3.tar.gz
| Download URL | hypothesize-1.2.3.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77c7bf8cc12fab226511d24bdcad96882ab5372e21a3d393fb954316f7db9ca1
|
|
BLAKE2b-256 checksum How to use checksums |
1c8d20912e9db5c888cf533d14bd2c394895cc6448f4a770635179ae6b31344e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / hypothesize-1.2.3-py3-none-any.whl
| Download URL | hypothesize-1.2.3-py3-none-any.whl |
|---|---|
| Size | 38.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
159e6c90e5276e05ea7f073784ef403c67031ebd540b2c8afd7371a61b007950
|
|
BLAKE2b-256 checksum How to use checksums |
2a68efee8e3014d053600ba7b504ace07c4d659aa1b90f0f415ee2ae41259d5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|