scikit-posthocs


Namescikit-posthocs JSON
Version 0.9.0 PyPI version JSON
download
home_page
SummaryStatistical post-hoc analysis and outlier detection algorithms
upload_time2024-02-18 18:57:34
maintainer
docs_urlNone
author
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": "",
    "name": "scikit-posthocs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "statistics,stats,posthoc,anova,data science",
    "author": "",
    "author_email": "Maksim Terpilovskii <maximtrp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/09/8c/7c8b64c553b40ef645a47c29111d917a8ef12e437308d6a621f253ef3c9a/scikit-posthocs-0.9.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.9.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": "7e8fa4d9542ea371be2a71abd4100e646cfc957d20871c4bc571b5f1d5d662c1",
                "md5": "71de69f9017dbb5abfaf719a9d611591",
                "sha256": "86772d3b049b9879569446f134b00410ca7d2607ffc7ea940bbc869a7a3c3410"
            },
            "downloads": -1,
            "filename": "scikit_posthocs-0.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "71de69f9017dbb5abfaf719a9d611591",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 32741,
            "upload_time": "2024-02-18T18:57:32",
            "upload_time_iso_8601": "2024-02-18T18:57:32.292751Z",
            "url": "https://files.pythonhosted.org/packages/7e/8f/a4d9542ea371be2a71abd4100e646cfc957d20871c4bc571b5f1d5d662c1/scikit_posthocs-0.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "098c7c8b64c553b40ef645a47c29111d917a8ef12e437308d6a621f253ef3c9a",
                "md5": "314a85111148424bb666b8c9bd197476",
                "sha256": "61a670d5ebcfb52e93beef0a8d7ff0260fd803d2e36fcd97492e64909890dd71"
            },
            "downloads": -1,
            "filename": "scikit-posthocs-0.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "314a85111148424bb666b8c9bd197476",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 36870,
            "upload_time": "2024-02-18T18:57:34",
            "upload_time_iso_8601": "2024-02-18T18:57:34.016539Z",
            "url": "https://files.pythonhosted.org/packages/09/8c/7c8b64c553b40ef645a47c29111d917a8ef12e437308d6a621f253ef3c9a/scikit-posthocs-0.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-18 18:57:34",
    "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.21105s