|
62 | 62 | "\n", |
63 | 63 | "DABEST is a package for **D**ata **A**nalysis using **B**ootstrap-Coupled **EST**imation.\n", |
64 | 64 | "\n", |
65 | | - "[Estimation statistics](https://en.wikipedia.org/wiki/Estimation_statistics) is a [simple framework](https://thenewstatistics.com/itns/) that avoids the [pitfalls](https://www.nature.com/articles/nmeth.3288) 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.\n", |
| 65 | + "[Estimation statistics](https://en.wikipedia.org/wiki/Estimation_statistics) are a [simple framework](https://thenewstatistics.com/itns/) that avoids the [pitfalls](https://www.nature.com/articles/nmeth.3288) of significance testing. It employs familiar statistical concepts such as means, mean differences, and error bars. More importantly, it focuses on the effect size of one's experiment or intervention, rather than succumbing to a false dichotomy engendered by *P* values.\n", |
66 | 66 | "\n", |
67 | | - "An estimation plot has two key features.\n", |
| 67 | + "An estimation plot comprises two key features.\n", |
68 | 68 | "\n", |
69 | | - "1. It presents all datapoints as a swarmplot, which orders each point to display the underlying distribution.\n", |
| 69 | + "1. It presents all data points as a swarm plot, ordering each point to display the underlying distribution.\n", |
70 | 70 | "\n", |
71 | | - "2. It presents the effect size as a **bootstrap 95% confidence interval** on a **separate but aligned axes**.\n", |
| 71 | + "2. It illustrates the effect size as a **bootstrap 95% confidence interval** on a **separate but aligned axis**.\n", |
72 | 72 | "\n", |
73 | 73 | "\n", |
74 | 74 | "\n", |
|
116 | 116 | "import pandas as pd\n", |
117 | 117 | "import dabest\n", |
118 | 118 | "\n", |
119 | | - "# Load the iris dataset. Requires internet access.\n", |
| 119 | + "# Load the iris dataset. This step requires internet access.\n", |
120 | 120 | "iris = pd.read_csv(\"https://github.com/mwaskom/seaborn-data/raw/master/iris.csv\")\n", |
121 | 121 | "\n", |
122 | 122 | "# Load the above data into `dabest`.\n", |
|
172 | 172 | "metadata": {}, |
173 | 173 | "source": [ |
174 | 174 | "### A wish list for new features\n", |
175 | | - "Currently, DABEST offers functions to handle data traditionally analyzed with Student's paired and unpaired t-tests. It also offers plots for multiplexed versions of these, and the estimation counterpart to a 1-way analysis of variance (ANOVA), the shared-control design. While these five functions execute a large fraction of common biomedical data analyses, there remain three others: 2-way data, time-series group data, and proportional data. We aim to add these new functions to both the R and Python libraries.\n", |
| 175 | + "Currently, DABEST offers functions to handle data traditionally analyzed with Student's paired and unpaired t-tests. It also provides plots for multiplexed versions of these, and the estimation counterpart to a 1-way analysis of variance (ANOVA), known as the shared-control design. While these five functions cover a large fraction of common biomedical data analyses, three others are yet to be implemented: 2-way data, time-series group data, and proportional data. We aim to add these new functions to both the R and Python libraries.\n", |
176 | 176 | "\n", |
177 | | - "- In many experiments, four groups are investigate to isolate an interaction, for example: a genotype × drug effect. Here, wild-type and mutant animals are each subjected to drug or sham treatments; the data are traditionally analysed with a 2×2 ANOVA. We have received requests by email, Twitter, and GitHub to implement an estimation counterpart to the 2-way ANOVA. To do this, we will implement $\\Delta\\Delta$ plots, in which the difference of means ($\\Delta$) of two groups is subtracted from a second two-group $\\Delta$. **Implemented in v2023.02.14.**\n", |
| 177 | + "- In many experiments, four groups are investigated to isolate an interaction, for example: a genotype × drug effect. Here, wild-type and mutant animals are each subjected to drug or sham treatments; the data are traditionally analysed with a 2×2 ANOVA. We have received requests via email, Twitter, and GitHub to implement an estimation counterpart to the 2-way ANOVA. To address this, we will implement $\\Delta\\Delta$ plots, in which the difference of means ($\\Delta$) of two groups is subtracted from a second two-group $\\Delta$. **Implemented in v2023.02.14.**\n", |
178 | 178 | "\n", |
179 | 179 | "- Currently, DABEST can analyse multiple paired data in a single plot, and multiple groups with a common, shared control. However, a common design in biomedical science is to follow the same group of subjects over multiple, successive time points. An estimation plot for this would combine elements of the two other designs, and could be used in place of a repeated-measures ANOVA. **Implemented in v2023.02.14**\n", |
180 | 180 | "\n", |
181 | | - "- We have observed that proportional data are often analyzed in neuroscience and other areas of biomedical research. However, compared to other data types, the charts are frequently impoverished: often, they omit error bars, sample sizes, and even P values—let alone effect sizes. We would like DABEST to feature proportion charts, with error bars and a curve for the distribution of the proportional differences. **Implemented in v2023.02.14**\n", |
| 181 | + "- We have observed that proportional data are often analyzed in neuroscience and other areas of biomedical research. However, compared to other data types, the charts are frequently impoverished: often omitting error bars, sample sizes, and even P values—let alone effect sizes. We would like DABEST to feature proportion charts, with error bars and a curve for the distribution of the proportional differences. **Implemented in v2023.02.14**\n", |
182 | 182 | "\n", |
183 | 183 | "We encourage contributions for the above features. " |
184 | 184 | ] |
|
195 | 195 | "\n", |
196 | 196 | "## Testing\n", |
197 | 197 | "\n", |
198 | | - "To test DABEST, you will need to install [pytest](https://docs.pytest.org/en/latest).\n", |
| 198 | + "To test DABEST, you need to install [pytest](https://docs.pytest.org/en/latest).\n", |
199 | 199 | "\n", |
200 | | - "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.\n", |
| 200 | + "Run `pytest` in the root directory of the source distribution. This runs the test suite in the folder `dabest/tests`. The test suite ensures that the bootstrapping functions and the plotting functions perform as expected.\n", |
201 | 201 | "\n", |
202 | 202 | "\n", |
203 | 203 | "## DABEST in other languages\n", |
|
0 commit comments