|
71 | 71 | "the same when visualized with a barplot on the right panel. (You can\n", |
72 | 72 | "download the [dataset](_static/four_samples.csv) to see for yourself.)\n", |
73 | 73 | "\n", |
74 | | - "We're not the first ones (see\n", |
75 | | - "[this](https://www.nature.com/articles/nmeth.2837),\n", |
76 | | - "[this](http://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.1002128),\n", |
| 74 | + "We're not the first ones (see these articles:\n", |
| 75 | + "[article 1](https://www.nature.com/articles/nmeth.2837),\n", |
| 76 | + "[article 2](http://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.1002128),\n", |
77 | 77 | "or\n", |
78 | | - "[that](https://onlinelibrary.wiley.com/doi/full/10.1111/ejn.13400))\n", |
| 78 | + "[article 3](https://onlinelibrary.wiley.com/doi/full/10.1111/ejn.13400))\n", |
79 | 79 | "to point out the barplot's fatal flaws. Indeed, it is both sobering and\n", |
80 | 80 | "fascinating to realise that the barplot is a [17th century\n", |
81 | 81 | "invention](https://en.wikipedia.org/wiki/Bar_chart#History) initially\n", |
|
118 | 118 | "The figure above visualizes the same four samples as a swarmplot (left\n", |
119 | 119 | "panel) and as a boxplot. If we did not label the x-axis with the sample\n", |
120 | 120 | "size, it would be impossible to definitively distinguish the sample with\n", |
121 | | - "5 obesrvations from the sample with 50.\n", |
| 121 | + "5 observations from the sample with 50.\n", |
122 | 122 | "\n", |
123 | 123 | "Even if the world gets rid of barplots and boxplots, the problems\n", |
124 | 124 | "plaguing statistical practices will remain unsolved. Null-hypothesis\n", |
|
148 | 148 | "id": "a7e3b1ad", |
149 | 149 | "metadata": {}, |
150 | 150 | "source": [ |
151 | | - "hown above is a Gardner-Altman estimation plot. (The plot draws its name from\n", |
152 | | - "[Martin J. Gardner]\n", |
153 | | - "(https://www.independent.co.uk/news/people/obituary-professor-martin-gardner-1470261.html)\n", |
| 151 | + "This is a *Gardner-Altman* estimation plot. The plot draws its name from\n", |
| 152 | + "[Martin J. Gardner](https://www.independent.co.uk/news/people/obituary-professor-martin-gardner-1470261.html)\n", |
154 | 153 | "and [Douglas Altman](https://www.bmj.com/content/361/bmj.k2588), who are\n", |
155 | | - "credited with [creating the design]\n", |
156 | | - "(https://www.bmj.com/content/bmj/292/6522/746.full.pdf) in 1986).\n", |
| 154 | + "credited with [creating the design](https://www.bmj.com/content/bmj/292/6522/746.full.pdf) in 1986.\n", |
157 | 155 | "\n", |
158 | 156 | "This plot has two key features:\n", |
159 | 157 | "\n", |
160 | | - " 1. It presents all datapoints as a *swarmplot*, which orders each point to\n", |
161 | | - " display the underlying distribution.\n", |
| 158 | + " 1. It presents all data points as a swarmplot, ordering each point to display the underlying distribution.\n", |
162 | 159 | "\n", |
163 | 160 | " 2. It presents the effect size as a *bootstrap 95% confidence interval* (95% CI)\n", |
164 | | - " on a separate but aligned axes. where the effect size is displayed to the right\n", |
165 | | - " of the war data, and the mean of the test group is aligned with the effect size.\n", |
| 161 | + " on a separate but aligned axis. The effect size is displayed to the right of the raw data, and the mean of the test group is aligned with the effect size.\"\n", |
| 162 | + "\n", |
| 163 | + "<div style=\"padding: 15px; border: 1px solid transparent; border-color: transparent; margin-bottom: 20px; border-radius: 4px; color: #31708f; background-color: #d9edf7; border-color: #bce8f1;\"> Thus, estimation plots are robust, beautiful, and convey important statistical\n", |
| 164 | + "information elegantly and efficiently. </div>\n", |
166 | 165 | "\n", |
167 | | - "*Thus, estimation plots are robust, beautiful, and convey important statistical\n", |
168 | | - "information elegantly and efficiently.*\n", |
169 | 166 | "\n", |
170 | 167 | "An estimation plot obtains and displays the 95% CI through nonparametric\n", |
171 | 168 | "bootstrap resampling. This enables visualization of the confidence interval as\n", |
|
283 | 280 | "id": "b7b643f8", |
284 | 281 | "metadata": {}, |
285 | 282 | "source": [ |
286 | | - "For comparisons between 3 or more groups that typically employ analysis\n", |
| 283 | + "For comparisons between three or more groups that typically employ analysis\n", |
287 | 284 | "of variance (ANOVA) methods, one can use the [Cumming estimation\n", |
288 | 285 | "plot](https://en.wikipedia.org/wiki/Estimation_statistics#Cumming_plot),\n", |
289 | | - "named after [Geoff\n", |
290 | | - "Cumming](https://www.youtube.com/watch?v=nDN-hcKR7j8), and draws its\n", |
291 | | - "design heavily from his 2012 textbook [Understanding the New\n", |
292 | | - "Statistics](https://www.routledge.com/Understanding-The-New-Statistics-Effect-Sizes-Confidence-Intervals-and/Cumming/p/book/9780415879682).\n", |
| 286 | + "named after [Geoff Cumming](https://www.youtube.com/watch?v=nDN-hcKR7j8), and draws its\n", |
| 287 | + "design heavily from his 2012 textbook [\"Understanding the New Statistics\"](https://www.routledge.com/Understanding-The-New-Statistics-Effect-Sizes-Confidence-Intervals-and/Cumming/p/book/9780415879682).\n", |
293 | 288 | "This estimation plot design can be considered a variant of the\n", |
294 | 289 | "Gardner-Altman plot.\n" |
295 | 290 | ] |
|
307 | 302 | "id": "b443b0a8", |
308 | 303 | "metadata": {}, |
309 | 304 | "source": [ |
310 | | - "The effect size and 95% CIs are still plotted a separate axes, but\n", |
311 | | - "unlike the Gardner-Altman plot, this axes is positioned beneath the raw\n", |
| 305 | + "The effect size and 95% CIs are still plotted on a separate axis, but\n", |
| 306 | + "unlike the Gardner-Altman plot, this axis is positioned beneath the raw\n", |
312 | 307 | "data.\n", |
313 | 308 | "\n", |
314 | 309 | "Such a design frees up visual space in the upper panel, allowing the\n", |
|
0 commit comments