This Python package provides statistical post-hoc tests for pairwise multiple comparisons and outlier detection algorithms.
Features
Multiple comparisons parametric and nonparametric tests (some are ported from R’s PMCMR package):
Conover, Dunn, and Nemenyi tests for use with Kruskal-Wallis test.
Quade, van Waerden, and Durbin tests.
Conover and Nemenyi tests for use with Friedman test.
Student, Mann-Whitney, Wilcoxon, and TukeyHSD tests.
All tests are capable of p adjustments for multiple pairwise comparisons.
Plotting functionality (e.g. significance plots).
Outlier detection algorithms:
Simple test based on interquartile range (IQR).
Grubbs test.
Tietjen-Moore test.
Generalized Extreme Studentized Deviate test (ESD test).
Dependencies
Compatibility
Package is compatible with Python 2 and Python 3.
Install
You can install the package with: pip install scikit-posthocs
Example
>>> import scikit_posthocs as sp
>>> x = [[1,2,3,5,1], [12,31,54], [10,12,6,74,11]]
>>> # This will return a symmetric array of p values
>>> sp.posthoc_conover(x, p_adjust = 'holm')
array([[-1. , 0.00119517, 0.00278329],
[ 0.00119517, -1. , 0.18672227],
[ 0.00278329, 0.18672227, -1. ]])
Credits
Thorsten Pohlert, PMCMR author and maintainer
Metadata
Release files for scikit-posthocs 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scikit-posthocs-0.3.4.tar.gz | 15.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scikit_posthocs-0.3.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 41.9 kB
Release files / scikit-posthocs-0.3.4.tar.gz
| Download URL | scikit-posthocs-0.3.4.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7eb492e415193899a3c5cffa271d9fa7226723a3d4ba8816fe85754ca1855e22
|
|
BLAKE2b-256 checksum How to use checksums |
0fae200d4e5e62c262e87e483349447fcc4ac28f79eda7155266ee944c7e1300
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / scikit_posthocs-0.3.4-py2.py3-none-any.whl
| Download URL | scikit_posthocs-0.3.4-py2.py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b17f54fe09bad978dc7acfadefb7fcaa22b601dc6524fbbe8c5c4e1668f9de6a
|
|
BLAKE2b-256 checksum How to use checksums |
e6cdfe35e09c6b05e37d4c377025c55e6c45d75a5266a2e245a4fcd5f93609dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |