A boxplot can flag a robot-related sample for inspection without establishing that the sensor is faulty. Even the flag itself can depend on a detail that disappears from a chart: the convention used to calculate quartiles from a finite sample. Working through nine numbers exposes both boundaries. The calculation determines a position relative to a distribution summary. Physical validity requires evidence about the measurement and the process that produced it.

Consider an invented ordered set of nine cycle-duration observations, in milliseconds: 10, 10, 11, 11, 12, 13, 13, 14, 17. These are illustrative numbers, not a robot benchmark or an observed production run. The NIST Engineering Statistics Handbook describes boxplots and their fence variation. Matplotlib's boxplot documentation, displaying version 3.11.2 when checked, describes configurable whiskers and separately plotted points. The sample and alternative calculations below are original.

Begin by declaring one quartile convention completely. For this article's first calculation, the median is the fifth observation, 12. Exclude that median, divide the remaining observations into lower and upper halves, and take each half's median. The lower half is 10, 10, 11, 11, giving Q1 = (10 + 11)/2 = 10.5. The upper half is 13, 13, 14, 17, giving Q3 = (13 + 14)/2 = 13.5.

The interquartile range is Q3 - Q1 = 3 milliseconds. With inner fences defined as Q1 - 1.5 times that range and Q3 + 1.5 times that range, the fence values are 6 and 18 milliseconds. Every observation lies between them. In particular, 17 is below the upper fence. A chart made from these declared summaries would show no observation beyond an inner fence.

A fence value is a calculated boundary, not automatically a whisker endpoint. Under the usual fence-limited convention, whiskers reach the most extreme observed values that remain within the fences. In this example the endpoints are 10 and 17. Neither 6 nor 18 occurs in the sample. Drawing whiskers to those calculated numbers would imply a different graphical construction from drawing them to actual in-range observations.

Now repeat the calculation with a second, explicitly defined quartile convention. Number the sorted observations from zero through eight. For a percentile fraction p, use the fractional index (n - 1)p and linearly interpolate between neighboring indexed values. At p = 0.25, the index is exactly 2, so Q1 = 11. At p = 0.75, the index is exactly 6, so Q3 = 13. No interpolation is needed at either of these two positions.

This second interquartile range is 2 milliseconds. Its inner fences are 8 and 16. The largest in-range observation is now 14, while 17 lies beyond the upper fence and is plotted separately under this construction. The numbers supplied to the analysis have not changed. The quartile estimator changed, moving the boundary enough to change the treatment of one reading.

This comparison is a calculation with two stated definitions, not a claim that all plotting software uses either one by default. Reproducing a chart requires checking how its quartiles were obtained as well as how its whiskers were configured. Matplotlib documents a default whisker multiplier of 1.5 and also permits percentile-based whisker choices. Those parameters answer a different question from the finite-sample quartile convention used to generate the box edges.

To separate mild and more extreme fence crossings, return to the first convention and replace only the last value, 17, with 25. The lower half stays 10, 10, 11, 11. The upper half becomes 13, 13, 14, 25, whose middle pair remains 13 and 14. Therefore Q1, Q3, and the interquartile range are unchanged. The inner upper fence is still 18; the outer upper fence, Q3 + 3 times the range, is 22.5.

The new reading 25 exceeds both upper fences. The upper whisker stops at 14 because there is no other observation between 14 and 18. This example shows why a separated point and an endpoint carry different information. It also shows that a large change to the largest observation can leave the box itself unchanged. The middle summaries are not a complete description of the tail.

A physical explanation remains outside this arithmetic. A 17-millisecond duration could be a valid execution with additional work, a logging artifact, or a unit mismatch. The nine values alone do not distinguish those cases. Similarly, an observation inside a fence could still be wrong if its error happens to place it near the middle. An outlier flag is therefore a question to investigate, while absence of a flag is not a correctness certificate.

For this particular ledger, dropping 17 under the second convention would reduce the sample from nine observations to eight and remove the longest recorded duration. That operation changes the evidence rather than merely changing a display. If the purpose is to understand long cycles, preserving the original row and any associated event context matters. There is no need to invent a sensor fault to explain a statistical label.

A reproducible comparison would retain the sorted values, sample count, units, median rule, quartile rule, fence multiplier, and actual whisker endpoints. It would state whether groups represent comparable operating conditions rather than treating a mixture of tasks as one uniform process. These details let another reader reconstruct why 17 was separated in one calculation and retained in the other, without turning either graphical choice into a claim about robot performance.

Concept image: an existing site-library robot-and-laptop workspace illustrates data review. It is not a screenshot of these samples, a boxplot generated from a deployed robot, or evidence of a defective sensor.

Sources checked October 24, 2026: NIST Engineering Statistics Handbook, Box Plot, https://www.itl.nist.gov/div898/handbook/eda/section3/boxplot.htm ; Matplotlib 3.11.2, pyplot.boxplot documentation, https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.boxplot.html .