by sigmoid10 · 2y ago · 0 comments
I feel like this is where the confusion stems from for the author and everyone else here. Box plots don't make anything bell shaped (they don't change the distribution), they assume that your data follows a bell/gaussian shape. This is correct in cases where the central limit theorem can be applied (which is almost everywhere) - but when that is not the case, the assumption is wrong and you shouldn't use a box plot anyways, because the values it shows have no real use. There are very real use cases for box plots, but people need to understand the basics of statistics before they can use them.
The bottom whisker contains 25% of the data, yet is just a thin line, which can furthermore be arbitrarily short.
It really is a dumb visual presentation.
The only way to use it is to recover the five parameters from it, and then stop looking at it.
For that purpose, a QR code would be just as good, if not better. You'd need a device with a camera to get the parameters (but "everyone" has that now), and when you're looking at it with your bare eyes, it doesn't tell you any visual lie.
...which is its intended use case since Tukey invented it as a way of visualising the "5 number summary". I think part of his criteria were that it should be easy to make by hand which is clearly no longer a consideration so there are plenty of reasons to just do something else most of the time these days.
That IS a bell curve. While it's true that the Guassian distribution is often called a bell curve or even "the" bell curve, a non-Guassian single mode distribution is still absolutely bell shaped in a general sense.
So, although you started your comment with "nah", you're actually in agreement with the content you replied to.
You could include a lot of little bells far from the single mode, but that's reading a little too much into the literal meaning of "single mode" - a "bimodal" distribution isn't one where the two most common values are both modes. It's one where there are two distinct local maxima.
The tails to the left and right must asymptotically approach zero (or you don't have a smooth distribution, because you have discontinuities somewhere), and if there's just one local maximum, your curve will look like a bell.
A lot of people here are commenting that no, technically box plots don't assume any distribution. And I mean, technically you can ride from NYC to SF in a lawnmower.
But I completely agree that box plots shouldn't ever be used for anything but unimodal distributions similar enough to a bell/gaussian distribution.
All of the criticism of the article seems to be that they're misleading when the distribution is not bell/gaussian, e.g. bimodal.
To which my reply is, of course. Box plots shouldn't be used then. But if your distribution is bell/gaussian, they seem fine and I see no particular issue with them.
This is debatable, but noting that box plots are satisfactory for unimodal gaussian-ish distributions is not a very persuasive response.
Or take the first example from wikipedia page on box plot [0]: "Box plot of data from the Michelson experiment", which is just 20 points per run. Would I want to see this in the paper? No please. There is no evidence that the experimental data is gaussian (or even single-modal). Or further down that page, "A series of hourly temperatures" - why would one box-plot it either?
And even if you claim your data is gaussian by construction, maybe because you surveyed lots of people - I still want to see the evidence, as it's pretty simple to make experimental mistakes that turns data non-gaussian (say you only surveyed two neighborhoods with very different properties)
In other words, the domain where box plots are sufficient is very small. Most publications should never use them.
If a plot can mislead, it will.
Boxplots are a single tool for data analysis. They do not apply in every situation, nor do any other tools. The same goes for pie charts, which are constantly being accused of always distorting data. Pie charts, like box plots, have their place.
As far as I can tell you’re making the introductory student error of thinking the central limit theorem means any sufficiently large sample makes a distribution look normal.
Most natural distributions are not Gaussian upon sampling even if they’re bell shaped. They often have fatter tails, model some complex process, etc. The box plot is sometimes deceptive as is demonstrated in the original link. I don’t think that’s easy to argue against as they provide a totally reasonable and common sample distribution and show it failing to be descriptive of the most important features.
I fail to see how the CLT even remotely addresses the concerns or obviates them in any useful sense. The CLT and box plots aren’t very often applied together for these reasons.
No they don't. They show quartiles mostly, and don't assume symmetry or any parameters of a gaussian.
Quartiles are not relevant, i.e. can be highly misleading, for a bimodal distribution or beyond...
The author's example has a bimodal distribution (TWO peaks) and chooses a type of chart that has ONE peak (a box plot).
A little baffling tbh.
And a histogram for the author's example is perfectly acceptable to show that single data series.
But imagine if you have 10 different normal data series and you want to compare their medians and distributions between each other... well are you going to put 10 histograms side by side and expect the reader to compare them? No -- that's where the box and whisker plot shines.
To my mind, if you have a genuine EDA attitude you plot it all.
Well no, because you can compare the datasets by eye and say questionable qualitative things about them, but you can't make definitively true quantitative statements about them.
Show me two plots of data points and I can show you two people who will in good faith argue over which one has the higher mean or higher median or higher variance. Because you often can't tell.
The entire point of something like a box plot is that it does part of the quantitative analysis for you. You can see where the median is. You can see the width of the quartiles.
The author's first histogram clearly shows most of the distribution lies in [20,100), then the [10,20) bin is empty but the [0,10) bin is quite full. Hence, that's not a single-mode distribution. It has two modes, one around [50,60) and the other in [0,10).
Huh? A box plot doesn't have any peaks. A box plot is a histogram subject to the constraint that every bar in the histogram is equally tall. There can never be more than zero peaks.
A box plot isn't trying to show the same thing a histogram is, it's like saying we should stop using Venn diagrams because they confuse people when trying to show the exact amount of overlap, so pie charts are better...
It's silly.
Not sure how to square that with this statement on Wikipedia's page on box plots:
Box plots are non-parametric: they display variation in samples of a statistical population without making any assumptions of the underlying statistical distribution[3]
I've never understood this to be the purpose of a boxplot, only a means of visualizing a distribution's quartiles.
You've gotten a flood of comments from upset people, so I'll keep it short by saying that a boxplot doesn't actually do what you claim for Gaussians, as the 0 and 100 percentile "whiskers" would be at plus/minus infinity. As for a bounded bell-shaped distribution, there are several non-unique ways to define such a distribution.
The point is not to plot an ideal Gaussian, the point is to plot the data.
In real life the whiskers are the actual minimum and maximum values observed.
Quantiles and medians. (Plus min and max.) Non-parametric.
I think this is a misunderstanding, and I think it is shared by the author of the article. Boxpolots show ranges. That's it.
> they assume that your data follows a bell/gaussian shape. This is correct in cases where the central limit theorem can be applied (which is almost everywhere)
You sir just failed basic statistics
Additionally, I find the article informative but believe it could be improved with this clarification. As someone who has worked with data analytics but is not a mathematician or actuary, I know people who probably review these types of graphs. Now, I understand that it is essential to check the underlying data distribution to avoid being misled by the information, even if the source and axes seem trustworthy
I think the word you're trying to use is "bimodal" and yes, that is one example where the author's reasoning fails. But it's not the only one.
>I couldn’t find any papers or information on this.
You said you have no formal higher education in mathematics - how would you even go about finding (let alone understanding) papers? Regardless, just to be clear, this is not something you would learn from papers but from introductory textbooks and university courses. Everyone who has to deal with statistics in science needs to go through a whole lot of extra education exactly because there are many pitfalls like this.
>it is essential to check the underlying data distribution to avoid being misled by the information
That is another half-truth that everyone on the outside seems to agree on, but it is useless in practice. What do you do if the underlying data is not accessible. And what if you don't have the means to process it for every paper you read (which is what usually happens)? Then you have to rely on the actual tricks of the trade, which will come naturally if you worked with tons of statistics before. There are lots of telltale signs that let you spot bad analyses by only looking at a plot or summary chart. Granted, you won't catch all of them, but it often takes real malice and deep statistical competence on the author's side to cover up these things.
The author argues otherwise, can you give an example of a use case where box plots would be preferable to the alternatives the author suggests?
> The author argues otherwise
No, in the article he says he wouldn't recommend them _in most_ situations. It's a part that a lot of people here seemed to have missed whether arguing for or against box plots.
>Despite making more visual sense than box plots, I still wouldn’t recommend these design concepts or box plots in most situations because…
(Emphasis mine)
„So, no, I can’t think of any situations when a box plot would be the truly best choice, other than those in which the audience demands box plots because that’s what they’re used to seeing. If you can think of any such situations, though, please let me know on LinkedIn or Twitter.“
„Other reviewers suggested that the conclusion should be that box plots are a useful chart type, but only for statistically savvy audiences. Again, I’m going a step further, suggesting that even those audiences would be better served by other chart types in virtually all situations.“
> Design concepts such as the ones below make more ‘visual sense’ than box plots:
present the exact same info in much less visually confusing ways, through the use of brightness (weight) and area. Just better box plots.
And of course you can always draw some lines for the quartiles on any kind of plot with a linear scale for the value.
Not true. Box plots represent low and and high quantiles independently and support the representation of outliers.
This alone is enough to make it clear for everyone that they don't require a distribution to be symmetric, let alone bell shape.
People waltz in with assumptions and then complain when they don’t work because they don’t really understand the tools they are using. The author is one of them. It’s a bad article and the author should not be using or demonstrating things they clearly don't understand.
Edited to preempt nitpick.
Because real data is never perfectly Guassian, or perfectly anything.
But the idea of a box plot is that it's for data which is in theory Gaussian or a similar unimodal kind of bell-shaped curve.
Then you can look at the box plot and see if it actually is -- are the two boxes roughly equal-sized? Are the lines a bit longer than the boxes but not insanely so?
The data has been reduced to three numbers, throwing away most of the information that you would need to assess whether the distribution is gaussian or not. If it's not, how will you ever know?