Box and whisker plot questions
Why are my quartiles different from my textbook?
The default is Type 7, also used by Excel’s QUARTILE.INC. Sort the n observations and find the zero-based position (n − 1) × p for p = 0.25, 0.5 or 0.75. Interpolate between adjacent values. A textbook may instead take the median of each half, excluding the middle observation when n is odd.
Where do the whiskers end?
The interquartile range (IQR) equals Q3 − Q1. The fences are Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. A whisker reaches the furthest observed value inside or exactly on its fence.
How can I check an outlier by hand?
For 1, 2, 3, 4, 5, 30, Type 7 gives Q1 = 2.25 and Q3 = 4.75. The upper fence is 8.5. The upper whisker reaches 5 and the point at 30 stays in the data used to calculate the quartiles.
How do I compare more than one group?
Paste one spreadsheet column per group using a common unit. The first row of text supplies the names. Up to 12 groups share the same scale. Unequal sample sizes are fine.
Which separators and missing values can I use?
Tabs preserve spreadsheet columns, including empty cells. Commas and spaces also separate values. Put a single group on separate lines or paste a single comma- or space-separated list. In comma-separated tables, quote numbers with thousands separators. Use tabs for multiword headers. Empty and nonnumeric cells are listed by their original positions. For example, a blank A8 and a B8 containing “absent” are skipped while the other scores stay in the plot.
Can I use the figure in a paper?
Choose Download SVG below the chart for editable lines, boxes, points and text. Download PNG for a slide or document that accepts images. Both exports use a light background for printing. Copy table pastes the statistics into separate spreadsheet cells.