Distribution edge cases

Box plot example: ties and outliers

Inspect illustrative zero-IQR, singleton and ordinary groups. A collapsed box is a line, and outliers remain visible in the source data and range.

Open this example in the editorStart from scratch

-5051015Tiesn=5Singletonn=1No boxOrdinaryn=5GroupValue
A zero-IQR group, a singleton at 5 and an ordinary five-observation group. Illustrative data.

About this example

Four zeros and one value of 10 produce a zero-IQR group: the box collapses to a line and 10 lies outside the fences. It remains an observation in the figure and numeric range rather than being deleted.

The singleton group has only one measurement and therefore shows a point without a box. Compare its sample count with the ordinary group before drawing conclusions about distribution shape or variability.

The data

TiesSingletonOrdinary
051
02
03
04
106

Columns contain individual observations. Type-7 quartiles and observed 1.5-IQR whiskers do not constitute a significance test. Open the example, replace the data with your own, and export the figure as SVG, PDF, PNG or TIFF.

More examples