项目作者: Alcampopiano

项目描述 :
Robust statistics in Python
高级语言: Python
项目地址: git://github.com/Alcampopiano/hypothesize.git
创建时间: 2020-03-04T20:39:34Z
项目社区:https://github.com/Alcampopiano/hypothesize

开源协议:BSD 3-Clause "New" or "Revised" License

下载


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

  1. from hypothesize.measuring_associations import wincor
  2. from hypothesize.utilities import create_example_data
  3. # creating an example DataFrame with columns "cell_1" and "cell_2"
  4. df=create_example_data(2)
  5. results=wincor(df.cell_1, df.cell_2)
  6. # returning the correlation, number of observations, p-value, and winsorized covariance
  7. print(results)
  8. {'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:

  1. @article{Campopiano2020,
  2. doi = {10.21105/joss.02241},
  3. url = {https://doi.org/10.21105/joss.02241},
  4. year = {2020},
  5. publisher = {The Open Journal},
  6. volume = {5},
  7. number = {50},
  8. pages = {2241},
  9. author = {Allan Campopiano and Rand R. Wilcox},
  10. title = {Hypothesize: Robust Statistics for Python},
  11. journal = {Journal of Open Source Software}
  12. }