Definition of fences in boxplot

How are lower and upper fences computed in I can’t find anything about that in the documentation which is strange, as there are multiple ways to define the fences/whiskers…

Here’s how they’re computed (in JavaScript):

In words, the lower fence is the smallest value in the sample that’s smaller than Q1 but greater than (Q1 + 1.5*IQR) and similarly for the upper fence.

1 Like

You mean “smaller than Q1 but greater than (Q1 - 1.5*IQR)” for the lower fence right?