Statistical post-hoc analysis and outlier detection algorithms
Project description
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
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
Built Distribution
Hashes for scikit_posthocs-0.3.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b17f54fe09bad978dc7acfadefb7fcaa22b601dc6524fbbe8c5c4e1668f9de6a |
|
MD5 | 8b3b321e87a48a35d203ac0981e93b52 |
|
BLAKE2b-256 | e6cdfe35e09c6b05e37d4c377025c55e6c45d75a5266a2e245a4fcd5f93609dd |