Skip to main content

scikit-posthocs

scikit-posthocs is a Python package that provides post hoc tests for pairwise multiple comparisons that are usually performed in statistical data analysis to assess the differences between group levels if a statistically significant result of ANOVA test has been obtained.

scikit-posthocs is tightly integrated with Pandas DataFrames and NumPy arrays to ensure fast computations and convenient data import and storage.

This package will be useful for statisticians, data analysts, and researchers who use Python in their work.

Background

Python statistical ecosystem comprises multiple packages. However, it still has numerous gaps and is surpassed by R packages and capabilities.

SciPy (version 1.2.0) offers Student, Wilcoxon, and Mann-Whitney tests that are not adapted to multiple pairwise comparisons. Statsmodels (version 0.9.0) features TukeyHSD test that needs some extra actions to be fluently integrated into a data analysis pipeline. Statsmodels also has good helper methods: allpairtest (adapts an external function such as scipy.stats.ttest_ind to multiple pairwise comparisons) and multipletests (adjusts p values to minimize type I and II errors). PMCMRplus is a very good R package that has no rivals in Python as it offers more than 40 various tests (including post hoc tests) for factorial and block design data. PMCMRplus was an inspiration and a reference for scikit-posthocs.

scikit-posthocs attempts to improve Python statistical capabilities by offering a lot of parametric and nonparametric post hoc tests along with outliers detection and basic plotting methods.

Features

  • Parametric pairwise multiple comparisons tests:

    • Scheffe test.

    • Student T test.

    • Tamhane T2 test.

    • TukeyHSD test.

  • Non-parametric tests for factorial design:

    • Conover test.

    • Dunn test.

    • Dwass, Steel, Critchlow, and Fligner test.

    • Mann-Whitney test.

    • Nashimoto and Wright (NPM) test.

    • Nemenyi test.

    • van Waerden test.

    • Wilcoxon test.

  • Non-parametric tests for block design:

    • Conover test.

    • Durbin and Conover test.

    • Miller test.

    • Nemenyi test.

    • Quade test.

    • Siegel test.

  • Other tests:

    • Anderson-Darling test.

    • Mack-Wolfe test.

    • Hayter (OSRT) test.

  • Outliers detection tests:

    • Simple test based on interquartile range (IQR).

    • Grubbs test.

    • Tietjen-Moore test.

    • Generalized Extreme Studentized Deviate test (ESD test).

  • Plotting functionality (e.g. significance plots).

All post hoc tests are capable of p adjustments for multiple pairwise comparisons.

Dependencies

Compatibility

Package is compatible with Python 2 and Python 3.

Install

You can install the package using pip :

$ pip install scikit-posthocs

Release files for scikit-posthocs 0.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scikit-posthocs 0.16.0
File Size Uploaded
scikit_posthocs-0.16.0.tar.gz 49.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scikit-posthocs 0.16.0
File Interpreter ABI Platform
scikit_posthocs-0.16.0-py3-none-any.whl Python 3 none any Details

Total release size: 94.6 kB

Release files / scikit_posthocs-0.16.0.tar.gz

Download URL scikit_posthocs-0.16.0.tar.gz
Size 49.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7cd2b3ee6f4d68d2b08bc08ce054e964467d43ebbd0837b30e6b287bececb133
BLAKE2b-256 checksum
How to use checksums
7040963ac4a2c14a7ac05d5ba2638d59902421327f4c8be514b26f1832220247
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.

Transparency log

Release files / scikit_posthocs-0.16.0-py3-none-any.whl

Download URL scikit_posthocs-0.16.0-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15977ef1211098fa710b55a14f7cfbb18f4d8c6d8d6894dd94349109f4b48e6f
BLAKE2b-256 checksum
How to use checksums
8f9ddeafc7bb1e58ea52d211b4b73976e1dc446cf23e3b620c6787de5cb2a6c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.17.0

2 release files

0.16.1

2 release files

This release

0.16.0 This release

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.12.0

2 release files

0.11.4

2 release files

0.11.3

2 release files

0.11.2

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.7

1 release file

0.6.6

2 release files

0.6.5

2 release files

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

1 release file

0.3.6

1 release file

0.3.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page