Grouped observations

Box plot example: laboratory measurements

Compare illustrative raw measurements with unequal group sizes, a missing marker and signed values. Inspect accepted sample counts before exporting.

Open this example in the editorStart from scratch

-4-202468Controln=5Treatmentn=6GroupMeasurement (units)
Illustrative groups with five Control observations and six Treatment observations. Illustrative data.

About this example

The Control column ends with an NA marker; it is excluded and counted rather than converted to zero. The Treatment column contains six accepted observations, so the groups legitimately have unequal sample sizes.

Negative measurements remain in the distributions. Confirm that each selected column contains individual observations before export; precomputed means or quartile summaries are not valid input for this editor.

The data

ControlTreatment
-2-1
-10
01
12
24
NA7

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