https://github.com/carlos-alberto-silva/dabest-python

Data Analysis with Bootstrapped ESTimation

https://github.com/carlos-alberto-silva/dabest-python

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
    Links to: nature.com, zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.8%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Data Analysis with Bootstrapped ESTimation

Basic Info
  • Host: GitHub
  • Owner: carlos-alberto-silva
  • License: bsd-3-clause-clear
  • Default Branch: master
  • Size: 14.2 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of ACCLAB/DABEST-python
Created over 6 years ago · Last pushed over 6 years ago
Metadata Files
Readme Contributing License Code of conduct

README.md

DABEST-Python

Travis CI build status minimal Python version PyPI version Downloads Free-to-view citation License

Contents

About

DABEST is a package for Data Analysis using Bootstrap-Coupled ESTimation.

Estimation statistics is a simple framework that avoids the pitfalls of significance testing. It uses familiar statistical concepts: means, mean differences, and error bars. More importantly, it focuses on the effect size of one's experiment/intervention, as opposed to a false dichotomy engendered by P values.

An estimation plot has two key features.

  1. It presents all datapoints as a swarmplot, which orders each point to display the underlying distribution.

  2. It presents the effect size as a bootstrap 95% confidence interval on a separate but aligned axes.

The five kinds of estimation plots

DABEST powers estimationstats.com, allowing everyone access to high-quality estimation plots.

Installation

This package is tested on Python 3.5, 3.6, 3.7, and 3.8. It is highly recommended to download the Anaconda distribution of Python in order to obtain the dependencies easily.

You can install this package via pip.

To install, at the command line run <!-- shell conda config --add channels conda-forge conda install dabest or --> shell pip install --upgrade dabest You can also clone this repo locally.

Then, navigate to the cloned repo in the command line and run

shell pip install .

Usage

```python3 import pandas as pd import dabest

Load the iris dataset. Requires internet access.

iris = pd.read_csv("https://github.com/mwaskom/seaborn-data/raw/master/iris.csv")

Load the above data into dabest.

irisdabest = dabest.load(data=iris, x="species", y="petalwidth", idx=("setosa", "versicolor", "virginica"))

Produce a Cumming estimation plot.

irisdabest.meandiff.plot(); ``` A Cumming estimation plot of petal width from the iris dataset

Please refer to the official tutorial for more useful code snippets.

How to cite

Moving beyond P values: Everyday data analysis with estimation plots

Joses Ho, Tayfun Tumkaya, Sameer Aryal, Hyungwon Choi, Adam Claridge-Chang

Nature Methods 2019, 1548-7105. 10.1038/s41592-019-0470-3

Paywalled publisher site; Free-to-view PDF

Bugs

Please report any bugs on the Github issue tracker.

Contributing

All contributions are welcome; please read the Guidelines for contributing first.

We also have a Code of Conduct to foster an inclusive and productive space.

Acknowledgements

We would like to thank alpha testers from the Claridge-Chang lab: Sangyu Xu, Xianyuan Zhang, Farhan Mohammad, Jurga Mituzaitė, and Stanislav Ott.

Testing

To test DABEST, you will need to install pytest.

Run pytest in the root directory of the source distribution. This runs the test suite in the folder dabest/tests. The test suite will ensure that the bootstrapping functions and the plotting functions perform as expected.

DABEST in other languages

DABEST is also available in R (dabestr) and Matlab (DABEST-Matlab).

Owner

  • Name: Carlos Alberto Silva
  • Login: carlos-alberto-silva
  • Kind: user
  • Company: University of Florida

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 557
  • Total Committers: 6
  • Avg Commits per committer: 92.833
  • Development Distribution Score (DDS): 0.031
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joses W. Ho j****h@g****m 540
Adam Nekimken a****n@g****m 7
Matthew Edwards m****z 5
Diziet Asahi d****i@g****m 2
Adam Li a****2@g****m 2
Mason Malone m****n@m****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

setup.py pypi
  • lqrt *
  • matplotlib *
  • numpy *
  • pandas *
  • scipy *
  • seaborn *