A Python package for comparing groups and measuring associations using robust statistics.
Project description
Hypothesize
A Python package for hypothesis testing using robust statistics.
Basic Example
A robust measure of association using 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.
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}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hypothesize-1.1.1.tar.gz
(37.1 kB
view details)
Built Distribution
File details
Details for the file hypothesize-1.1.1.tar.gz
.
File metadata
- Download URL: hypothesize-1.1.1.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 370ebc34e1e480affae66783f475ea3ac378921ea54ca1cead150fd95b44ef0a |
|
MD5 | 46be9a7e7b694c3f0563167c4cf1010a |
|
BLAKE2b-256 | 9f6d451a64aaf32ba8d4c5e050918711d09da4c7d305e58b5acb36dfb73dd4a2 |
Provenance
File details
Details for the file hypothesize-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: hypothesize-1.1.1-py3-none-any.whl
- Upload date:
- Size: 37.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fdb7284d22e878a8d16befafd5a80fd838e6240bd09b0c6a3008b8ff827fffc |
|
MD5 | 7c8b62a8ee74861d6da89733412625fc |
|
BLAKE2b-256 | a2df35a6c41f75403622e6d1be3f6e862240070d618b2a52be79a07cb7cd0670 |