cliffs-delta


Namecliffs-delta JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/neilernst/cliffsDelta
SummaryPython Package to calculate Cliff's delta
upload_time2021-10-15 06:09:43
maintainer
docs_urlNone
authorneilernst/prkhrv
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This is code to calculate the Cliff's Delta effect size metric, which strangely is not in NumPy/SciPy.stats.

@Timm had [this as a gist](https://gist.github.com/timm/a6e759eb7d9b5f05b468), and @mtorchiano has [R code with tests](https://github.com/mtorchiano/effsize). I have merged them. Well, Marco's code does a lot more. I merged his tests.


# cliffs_delta

**The Cliff's Delta** statistic is a non-parametric effect size measure that quantifies the amount of difference between two groups of observations beyond p-values interpretation. This measure can be understood as a useful complementary analysis for the corresponding hypothesis testing.

# Installation

This package can either be installed using pip or from a tarball using the standard Python distutils.

If you are installing using ```pip```, you don’t need to download anything as the latest version will be downloaded for you from PyPI:

```
pip install cliffs-delta
```
# Example & Usage

Import the method ```cliffs_delta``` from ```cliffs_delta```

```python
from cliffs_delta import cliffs_delta

x1 = [10, 20, 20, 20, 30, 30, 30, 40, 50, 100]
x2 = [10, 20, 30, 40, 40, 50]
d, res = cliffs_delta(x1, x2)

print(d,res)

-0.06666666666666667 negligible
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/neilernst/cliffsDelta",
    "name": "cliffs-delta",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "neilernst/prkhrv",
    "author_email": "neil@neilernst.net",
    "download_url": "https://files.pythonhosted.org/packages/95/53/9eba11330149a8abbb3e41c956c4bf6b93731c460fd921c62b0735047c69/cliffs_delta-1.0.0.tar.gz",
    "platform": "",
    "description": "This is code to calculate the Cliff's Delta effect size metric, which strangely is not in NumPy/SciPy.stats.\n\n@Timm had [this as a gist](https://gist.github.com/timm/a6e759eb7d9b5f05b468), and @mtorchiano has [R code with tests](https://github.com/mtorchiano/effsize). I have merged them. Well, Marco's code does a lot more. I merged his tests.\n\n\n# cliffs_delta\n\n**The Cliff's Delta** statistic is a non-parametric effect size measure that quantifies the amount of difference between two groups of observations beyond p-values interpretation. This measure can be understood as a useful complementary analysis for the corresponding hypothesis testing.\n\n# Installation\n\nThis package can either be installed using pip or from a tarball using the standard Python distutils.\n\nIf you are installing using ```pip```, you don\u2019t need to download anything as the latest version will be downloaded for you from PyPI:\n\n```\npip install cliffs-delta\n```\n# Example & Usage\n\nImport the method ```cliffs_delta``` from ```cliffs_delta```\n\n```python\nfrom cliffs_delta import cliffs_delta\n\nx1 = [10, 20, 20, 20, 30, 30, 30, 40, 50, 100]\nx2 = [10, 20, 30, 40, 40, 50]\nd, res = cliffs_delta(x1, x2)\n\nprint(d,res)\n\n-0.06666666666666667 negligible\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python Package to calculate Cliff's delta",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/neilernst/cliffsDelta"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c37dca1aec82037fac98ef6e4f027cbc03bf323c19269e813be98ded42a6ffd",
                "md5": "c8fc07b47e873c0652326168747ceb67",
                "sha256": "2ec087e8254861204aab79e222b2e863a79f3d6f35d69e14f8b188fb6c5b048f"
            },
            "downloads": -1,
            "filename": "cliffs_delta-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c8fc07b47e873c0652326168747ceb67",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10386,
            "upload_time": "2021-10-15T06:09:41",
            "upload_time_iso_8601": "2021-10-15T06:09:41.572526Z",
            "url": "https://files.pythonhosted.org/packages/8c/37/dca1aec82037fac98ef6e4f027cbc03bf323c19269e813be98ded42a6ffd/cliffs_delta-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95539eba11330149a8abbb3e41c956c4bf6b93731c460fd921c62b0735047c69",
                "md5": "bcd538bd522bb6fd43300261312809ed",
                "sha256": "909595ceaf051390fc82e662fdefb5ccca2cd3f49bb23531d903a53ae9f07e43"
            },
            "downloads": -1,
            "filename": "cliffs_delta-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bcd538bd522bb6fd43300261312809ed",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3106,
            "upload_time": "2021-10-15T06:09:43",
            "upload_time_iso_8601": "2021-10-15T06:09:43.379986Z",
            "url": "https://files.pythonhosted.org/packages/95/53/9eba11330149a8abbb3e41c956c4bf6b93731c460fd921c62b0735047c69/cliffs_delta-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-10-15 06:09:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "neilernst",
    "github_project": "cliffsDelta",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cliffs-delta"
}
        
Elapsed time: 0.48585s