{ "info": { "author": "Andrew Straw and Laszlo Treszkai", "author_email": "laszlo.treszkai@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# BEST: Bayesian Estimation Supersedes the t-Test\n\nPython implementation of a Bayesian model to replace t-tests with Bayesian estimation,\nfollowing the idea described in the following publication:\n\n> John K. Kruschke. _Bayesian estimation supersedes the t test._\n> Journal of Experimental Psychology: General, 2013, v.142 (2), pp. 573-603. (doi: 10.1037/a0029146) \n\nThe package implements Bayesian estimation of the mean of one or two groups,\nand plotting functions for the posterior distributions of variables such as the effect size,\ngroup means and their difference.\n\n## Documentation ##\n\nSee the documentation for more information, at [best.readthedocs.io](https://best.readthedocs.io).\n\n## Requirements ##\n\n - Python \u2267 3.5.4\n - SciPy\n - [Matplotlib](http://matplotlib.org) (\u2267 3.0.0) for plotting\n - [PyMC3](https://github.com/pymc-devs/pymc)\n\n## Examples ##\n\nA complete analysis and plotting is done in just a few lines:\n\n```python\n>>> best_out = best.analyze_two(group1_data, group2_data)\n>>> fig = best.plot_all(best_out)\n>>> fig.savefig('best_plots.pdf')\n``` \nFor example, the two-group analysis in `examples/smart_drug.py` produces the following output:\n\n![smart_drug.png](examples/smart_drug.png)\n\nMore detailed analysis of the same data can be found in the Jupyter notebook `examples/Smart drug (comparison of two groups).ipynb`.\n\nAn example single-group analysis can be found in `examples/paired_samples.py`.\n\nThe [documentation](https://best.readthedocs.io) describes the API in detail.\n\n## Installation ##\n\nEnsure your Python version is sufficiently up-to-date (at least 3.5.4):\n\n```bash\n$ python --version\nPython 3.5.6\n```\n\nThen install with Pip:\n```bash\n$ pip install best\n```\n\n## Developer notes ##\n\n### Tests ###\n\nRunning the tests requires [pytest](https://docs.pytest.org/en/latest/index.html): \n\n```bash\n$ pytest tests\n```\n\nThe plotting tests only ensure that the `plot_all` function does not throw errors,\nand the plots need manual verification at `tests/data/plot_all_*.pdf`.\n\n### Documentation ###\n\nThe documentation can be built with Sphinx:\n\n```bash\n$ cd docs\n$ make html\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/treszkai/best", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "best", "package_url": "https://pypi.org/project/best/", "platform": "", "project_url": "https://pypi.org/project/best/", "project_urls": { "Homepage": "https://github.com/treszkai/best" }, "release_url": "https://pypi.org/project/best/2.0.0.post0/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Bayesian estimation supersedes the t-test", "version": "2.0.0.post0" }, "last_serial": 5855659, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "7f1d64f4813347d9df8770d4e103a19c", "sha256": "75362ab6624c54eec2ca8df28fbcb4f1f0fb7bd4f535783b0eb0249fddedbfcf" }, "downloads": -1, "filename": "best-1.0.tar.gz", "has_sig": false, "md5_digest": "7f1d64f4813347d9df8770d4e103a19c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3691, "upload_time": "2017-07-23T11:35:22", "url": "https://files.pythonhosted.org/packages/13/44/cb0ce1bdf8cc3f9242321458c54f8dc732c2dc7d72fcfa07e34e6f83de11/best-1.0.tar.gz" } ], "2.0.0.post0": [ { "comment_text": "", "digests": { "md5": "2434e668c7ea966efe3e8ed3cd3d2c00", "sha256": "d128be41a41c260fe1f6840a915247b6e3585de5b36c0150d886d56a167ebbd7" }, "downloads": -1, "filename": "best-2.0.0.post0-py3-none-any.whl", "has_sig": false, "md5_digest": "2434e668c7ea966efe3e8ed3cd3d2c00", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 13521, "upload_time": "2019-09-19T11:25:57", "url": "https://files.pythonhosted.org/packages/47/20/c7ff7b7eb36624c5b2b10418a5d66f091a916b318fd6a3939ab22cfe7e5a/best-2.0.0.post0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a65bdf5bd50139495d275fc15a17f25", "sha256": "17360a6cd4e8df2186f7674a88a0a162a68ba8af5d760b033d691128e01f0458" }, "downloads": -1, "filename": "best-2.0.0.post0.tar.gz", "has_sig": false, "md5_digest": "7a65bdf5bd50139495d275fc15a17f25", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 11808, "upload_time": "2019-09-19T11:25:58", "url": "https://files.pythonhosted.org/packages/e6/cf/8d07c36cbcb23cd812b0ce446e5e1aea1f4175bd94cd0e8848416ac9177a/best-2.0.0.post0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2434e668c7ea966efe3e8ed3cd3d2c00", "sha256": "d128be41a41c260fe1f6840a915247b6e3585de5b36c0150d886d56a167ebbd7" }, "downloads": -1, "filename": "best-2.0.0.post0-py3-none-any.whl", "has_sig": false, "md5_digest": "2434e668c7ea966efe3e8ed3cd3d2c00", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 13521, "upload_time": "2019-09-19T11:25:57", "url": "https://files.pythonhosted.org/packages/47/20/c7ff7b7eb36624c5b2b10418a5d66f091a916b318fd6a3939ab22cfe7e5a/best-2.0.0.post0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a65bdf5bd50139495d275fc15a17f25", "sha256": "17360a6cd4e8df2186f7674a88a0a162a68ba8af5d760b033d691128e01f0458" }, "downloads": -1, "filename": "best-2.0.0.post0.tar.gz", "has_sig": false, "md5_digest": "7a65bdf5bd50139495d275fc15a17f25", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 11808, "upload_time": "2019-09-19T11:25:58", "url": "https://files.pythonhosted.org/packages/e6/cf/8d07c36cbcb23cd812b0ce446e5e1aea1f4175bd94cd0e8848416ac9177a/best-2.0.0.post0.tar.gz" } ] }