Skip to main content

A Python package for comparing groups and measuring associations using robust statistics.

Project description

Hypothesize

status tests PyPI version PyPI - Downloads license

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

status

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


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.2.1.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

hypothesize-1.2.1-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file hypothesize-1.2.1.tar.gz.

File metadata

  • Download URL: hypothesize-1.2.1.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.4

File hashes

Hashes for hypothesize-1.2.1.tar.gz
Algorithm Hash digest
SHA256 3f6d73e87de826669ef5ca783cfa2d3f79b8ac76ab176303c59730ec7c107a5b
MD5 2169f56e5f2705dde17ff357d89c796e
BLAKE2b-256 e70e8404f72ee3b69e96d6cb5d1818484925992ce003a8b7ccb96f3b4f3fde59

See more details on using hashes here.

File details

Details for the file hypothesize-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: hypothesize-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.4

File hashes

Hashes for hypothesize-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 480097c884fec578c6f37517ac4506910781d58423834b00c12e036d1c7c457d
MD5 9b5199761c0cea57455db08ef452a8b1
BLAKE2b-256 33ae9feb668fccf463acbd10d20decf476d9f966af95269fa30fa6780894345d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page