statutils
This package is aselections of various utils for statistics. It is inspired by R functions and packages.
Usage
Adjust p values for multiple comparisons
Use p_adjust method to adjust p-values with Bonferroni correction, Holm-Bonferroni correction or others. p_adjust is a rewrite of R's p.adjust function with the numpy arrays.
Use it in the same way.
Supported methods for multiple comparison (method argument):
bonferroniBonferroni correctionholmHolm (1979)hochbergHochberg (1988)hommelHommel (1988)BHBenjamini & Hochberg (1995)BYBenjamini & Yekutieli (2001)noneas a pass-through option
Example
from statutils.multi_comparison import p_adjust
p = [0.005, 0.04, 0.01, 0.5, 0.01, 0.7]
p_adjusted = p_adjust(p, method='holm')
Metadata
Release files for statutils 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| statutils-0.1.1.tar.gz | 4.2 kB | Details |
Release files / statutils-0.1.1.tar.gz
| Download URL | statutils-0.1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb2a0919f4e60850de24fc730e39ced6d5411095c35737eacc2b8e10dad6ffe0
|
|
BLAKE2b-256 checksum How to use checksums |
49d482f132e816be9ce1275c26678b02a9edf839831799125ac8b8a7ea03c73e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|