A Python package for comparing groups and measuring associations using robust statistics.
Project description
Hypothesize
A Python package for hypothesis testing using robust statistics.
:book: Please visit the Hypothesize documentation site for more details.
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}
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.0.tar.gz
(36.4 kB
view hashes)
Built Distribution
Close
Hashes for hypothesize-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6c3406a720a896d8b40ed17d6e58a3d5b95e6c38aaab8b303b08b2453bfd69a |
|
MD5 | 60fefe2c7ee1efb5bd0b0d05fb2fec5e |
|
BLAKE2b-256 | 0b46540de069233d273aed06c571a1474aeb0c70d2999fb5a4456a0e52907412 |