scikit-posthocs


Namescikit-posthocs JSON
Version 0.10.0 PyPI version JSON
download
home_pageNone
SummaryStatistical post-hoc analysis and outlier detection algorithms
upload_time2024-10-20 09:53:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseCopyright (c) 2020 Maksim Terpilowski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords statistics stats posthoc anova data science
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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 <https://www.scipy.org/>`_ (version 1.2.0) offers *Student*, *Wilcoxon*,
and *Mann-Whitney* tests that are not adapted to multiple pairwise comparisons.
`Statsmodels <http://statsmodels.sourceforge.net/>`_ (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 <https://rdrr.io/cran/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
------------

- `NumPy and SciPy packages <https://www.scipy.org/>`_
- `Statsmodels <http://statsmodels.sourceforge.net/>`_
- `Pandas <http://pandas.pydata.org/>`_
- `Matplotlib <https://matplotlib.org/>`_
- `Seaborn <https://seaborn.pydata.org/>`_

Compatibility
-------------

Package is compatible with Python 2 and Python 3.

Install
-------

You can install the package using ``pip`` :

.. code:: bash

  $ pip install scikit-posthocs

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "scikit-posthocs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "statistics, stats, posthoc, anova, data science",
    "author": null,
    "author_email": "Maksim Terpilovskii <maximtrp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ab/17/dddbf0d576d89cfe28f23654a3aec3645ab079e8394191b3d1b50f5aec14/scikit_posthocs-0.10.0.tar.gz",
    "platform": null,
    "description": "scikit-posthocs\n===============\n\n**scikit-posthocs** is a Python package that provides post hoc tests for\npairwise multiple comparisons that are usually performed in statistical\ndata analysis to assess the differences between group levels if a\nstatistically significant result of ANOVA test has been obtained.\n\n**scikit-posthocs** is tightly integrated with Pandas DataFrames and NumPy\narrays to ensure fast computations and convenient data import and storage.\n\nThis package will be useful for statisticians, data analysts, and researchers\nwho use Python in their work.\n\n\nBackground\n----------\n\nPython statistical ecosystem comprises multiple packages. However, it still has\nnumerous gaps and is surpassed by R packages and capabilities.\n\n`SciPy <https://www.scipy.org/>`_ (version 1.2.0) offers *Student*, *Wilcoxon*,\nand *Mann-Whitney* tests that are not adapted to multiple pairwise comparisons.\n`Statsmodels <http://statsmodels.sourceforge.net/>`_ (version 0.9.0) features\n*TukeyHSD* test that needs some extra actions to be fluently integrated into\na data analysis pipeline. Statsmodels also has good helper methods:\n``allpairtest`` (adapts an external function such\nas ``scipy.stats.ttest_ind`` to multiple pairwise comparisons) and\n``multipletests`` (adjusts *p* values to minimize type I and II errors).\n`PMCMRplus <https://rdrr.io/cran/PMCMRplus/>`_ is a very good R package that\nhas no rivals in Python as it offers more than 40 various tests (including post\nhoc tests) for factorial and block design data. PMCMRplus was an inspiration\nand a reference for *scikit-posthocs*.\n\n*scikit-posthocs* attempts to improve Python statistical capabilities by\noffering a lot of parametric and nonparametric post hoc tests along with\noutliers detection and basic plotting methods.\n\n\nFeatures\n--------\n\n- *Parametric* pairwise multiple comparisons tests:\n\n  - Scheffe test.\n  - Student T test.\n  - Tamhane T2 test.\n  - TukeyHSD test.\n\n- *Non-parametric* tests for factorial design:\n\n  - Conover test.\n  - Dunn test.\n  - Dwass, Steel, Critchlow, and Fligner test.\n  - Mann-Whitney test.\n  - Nashimoto and Wright (NPM) test.\n  - Nemenyi test.\n  - van Waerden test.\n  - Wilcoxon test.\n\n- *Non-parametric* tests for block design:\n\n  - Conover test.\n  - Durbin and Conover test.\n  - Miller test.\n  - Nemenyi test.\n  - Quade test.\n  - Siegel test.\n\n- Other tests:\n\n  - Anderson-Darling test.\n  - Mack-Wolfe test.\n  - Hayter (OSRT) test.\n\n- Outliers detection tests:\n\n  - Simple test based on interquartile range (IQR).\n  - Grubbs test.\n  - Tietjen-Moore test.\n  - Generalized Extreme Studentized Deviate test (ESD test).\n\n- Plotting functionality (e.g. significance plots).\n\nAll post hoc tests are capable of p adjustments for multiple pairwise\ncomparisons.\n\nDependencies\n------------\n\n- `NumPy and SciPy packages <https://www.scipy.org/>`_\n- `Statsmodels <http://statsmodels.sourceforge.net/>`_\n- `Pandas <http://pandas.pydata.org/>`_\n- `Matplotlib <https://matplotlib.org/>`_\n- `Seaborn <https://seaborn.pydata.org/>`_\n\nCompatibility\n-------------\n\nPackage is compatible with Python 2 and Python 3.\n\nInstall\n-------\n\nYou can install the package using ``pip`` :\n\n.. code:: bash\n\n  $ pip install scikit-posthocs\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2020 Maksim Terpilowski  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Statistical post-hoc analysis and outlier detection algorithms",
    "version": "0.10.0",
    "project_urls": {
        "documentation": "https://scikit-posthocs.rtfd.io",
        "homepage": "https://github.com/maximtrp/scikit-posthocs"
    },
    "split_keywords": [
        "statistics",
        " stats",
        " posthoc",
        " anova",
        " data science"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee946fcc320ed6e8025d493aaf92295986d6d4bee2071ebda466bc39cd13d903",
                "md5": "924d317ae16e32d6a8df5230f8f8385a",
                "sha256": "0fa1d4640cf2d1d5a602ed7be3848a4ce54f426f179a7df9ae7a5787f94455c1"
            },
            "downloads": -1,
            "filename": "scikit_posthocs-0.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "924d317ae16e32d6a8df5230f8f8385a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 33093,
            "upload_time": "2024-10-20T09:53:20",
            "upload_time_iso_8601": "2024-10-20T09:53:20.665931Z",
            "url": "https://files.pythonhosted.org/packages/ee/94/6fcc320ed6e8025d493aaf92295986d6d4bee2071ebda466bc39cd13d903/scikit_posthocs-0.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab17dddbf0d576d89cfe28f23654a3aec3645ab079e8394191b3d1b50f5aec14",
                "md5": "6fdf36e8747b28c9db1a340d27ffb51b",
                "sha256": "b189055b19dcfd33ab5d2ed94825d870e1ae57499653bef016fd24ad455a51bf"
            },
            "downloads": -1,
            "filename": "scikit_posthocs-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6fdf36e8747b28c9db1a340d27ffb51b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 37206,
            "upload_time": "2024-10-20T09:53:22",
            "upload_time_iso_8601": "2024-10-20T09:53:22.395729Z",
            "url": "https://files.pythonhosted.org/packages/ab/17/dddbf0d576d89cfe28f23654a3aec3645ab079e8394191b3d1b50f5aec14/scikit_posthocs-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-20 09:53:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "maximtrp",
    "github_project": "scikit-posthocs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "scikit-posthocs"
}
        
Elapsed time: 0.36972s