{ "info": { "author": "David J. Skelton", "author_email": "d.j.skelton1@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "
\n \n \n \n
\n \n
\n
\n \n \n \n
\n \n
\n
\npip install mcpt\n\n\n### Usage\n`mcpt` contains two main functions: `mcpt.permutation_test` and `mcpt.correlation_permutation_test`. \n\n\nBelow is an example of the `mcpt.permutation_test` - for more info, please see the documentation [here](https://mcpt.readthedocs.io/en/latest/documentation/quickstart.html#permutation-test)\n
\n>> import mcpt\n>> x = [10, 9, 11]\n>> y = [12, 11, 13]\n>> f = \"mean\"\n>> n = 100_000\n>> side = \"lower\"\n\n>> result = mcpt.permutation_test(x, y, f, side, n=n)\n>> print(result)\nResult(lower=0.09815650454064283, upper=0.10305649415095638, confidence=0.99)\n\n\nBelow is an example of `mcpt.correlation_permutation_test` - for more information, please see the documentation [here](https://mcpt.readthedocs.io/en/latest/documentation/quickstart.html#correlation-permutation-test)\n\n
\n>> import mcpt\n>> x = [-2.31, 1.06, 0.76, 1.38, -0.26, 1.29, -1.31, 0.41, -0.67, -0.58]\n>> y = [-1.08, 1.03, 0.90, 0.24, -0.24, 0.76, -0.57, -0.05, -1.28, 1.04]\n>> side = \"both\"\n>> f = \"pearsonr\"\n\n>> result = mcpt.correlation_permutation_test(x, y, f=f, side=side)\n>> print(result)\nResult(lower=0.021282451892029475, upper=0.029347445354757373, confidence=0.99)\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ravenlocke/mcpt", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mcpt", "package_url": "https://pypi.org/project/mcpt/", "platform": "", "project_url": "https://pypi.org/project/mcpt/", "project_urls": { "Homepage": "https://github.com/ravenlocke/mcpt" }, "release_url": "https://pypi.org/project/mcpt/0.1.8/", "requires_dist": [ "scipy", "numpy", "matplotlib" ], "requires_python": "~=3.5", "summary": "A Python library for calculating p-values using Monte Carlo sampling", "version": "0.1.8" }, "last_serial": 5792814, "releases": { "0.1.8": [ { "comment_text": "", "digests": { "md5": "9bea3dbc512edf57ebcb48ccff6eb531", "sha256": "c1605bf73a2587cda1de6a9cdc6b17333bc7119f0181d860c1507414b8dfe265" }, "downloads": -1, "filename": "mcpt-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "9bea3dbc512edf57ebcb48ccff6eb531", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.5", "size": 6878, "upload_time": "2019-09-06T15:23:14", "url": "https://files.pythonhosted.org/packages/17/3c/f90d0af987d5298f7075a6b15548f59afb31cbf32338cd73d4200d5563c5/mcpt-0.1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "965903e89ee008af03600dd9eef3299a", "sha256": "f1d63c6149d9cc7854b3a1b9bfcac4e9febe88c7ba2e176ad3751f298511b3c8" }, "downloads": -1, "filename": "mcpt-0.1.8.tar.gz", "has_sig": false, "md5_digest": "965903e89ee008af03600dd9eef3299a", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.5", "size": 4796, "upload_time": "2019-09-06T15:23:16", "url": "https://files.pythonhosted.org/packages/09/68/9be6a5616a67ddd6639e10d6b9680aa68a17f5f7bb7c73e522f1c9b8484a/mcpt-0.1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9bea3dbc512edf57ebcb48ccff6eb531", "sha256": "c1605bf73a2587cda1de6a9cdc6b17333bc7119f0181d860c1507414b8dfe265" }, "downloads": -1, "filename": "mcpt-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "9bea3dbc512edf57ebcb48ccff6eb531", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.5", "size": 6878, "upload_time": "2019-09-06T15:23:14", "url": "https://files.pythonhosted.org/packages/17/3c/f90d0af987d5298f7075a6b15548f59afb31cbf32338cd73d4200d5563c5/mcpt-0.1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "965903e89ee008af03600dd9eef3299a", "sha256": "f1d63c6149d9cc7854b3a1b9bfcac4e9febe88c7ba2e176ad3751f298511b3c8" }, "downloads": -1, "filename": "mcpt-0.1.8.tar.gz", "has_sig": false, "md5_digest": "965903e89ee008af03600dd9eef3299a", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.5", "size": 4796, "upload_time": "2019-09-06T15:23:16", "url": "https://files.pythonhosted.org/packages/09/68/9be6a5616a67ddd6639e10d6b9680aa68a17f5f7bb7c73e522f1c9b8484a/mcpt-0.1.8.tar.gz" } ] }