Jump to content

File:Box plot with interquartile range and outliers.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (SVG file, nominally 700 × 760 pixels, file size: 5 KB)

    Summary

    Description
    English: Box plot of a small dataset (n = 20) with whiskers drawn by Tukey's rule: each whisker runs to the most extreme data value within 1.5 × IQR of the box, and values beyond that are plotted as outliers. The outlier is drawn as a filled point on the center line of the box. Each whisker end is labeled as the largest or smallest value inside the fences. The 20 data values are drawn as dots beside the box, with guides at the values that set each part of the plot. Dashed lines mark the fences, each labeled with the formula and value that set it: Q3 + 1.5 × IQR = 51 and Q1 − 1.5 × IQR = 3.

    Data: 12, 15, 17, 18, 21, 21, 22, 24, 25, 26, 28, 29, 30, 31, 33, 33, 35, 38, 41, 58.

    Q1 = 21, median = 27, Q3 = 33, IQR = 12, 1.5 × IQR = 18, lower fence = 3, upper fence = 51. Lower whisker = 12 (the minimum), upper whisker = 41 (the largest value at or below 51), one outlier = 58.

    Quartiles: the dataset is chosen so that the common definitions agree. Tukey's hinges (median of each half), Hyndman and Fan type 7 (the R default) and type 6 (Minitab, SPSS) all give Q1 = 21 and Q3 = 33, because the 5th and 6th ordered values are equal (21) and so are the 15th and 16th (33).

    A companion figure with whiskers to the minimum and maximum of the same data: File:Box plot with whiskers from minimum to maximum.svg.
    Date
    Source Own work
    Author Derek Jansen
    Other versions File:Box plot with whiskers from minimum to maximum.svg; earlier raster version: File:Box-Plot mit Interquartilsabstand.png

    Licensing

    Derek Jansen, the copyright holder of this work, hereby publishes it under the following license:
    w:en:Creative Commons
    attribution
    This file is licensed under the Creative Commons Attribution 4.0 International license.
    Attribution:
    Derek Jansen, Grad Coach
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

    Captions

    Box plot of 20 values with Tukey whiskers (1.5 × IQR), fences and one outlier

    Items portrayed in this file

    depicts

    18 October 2026

    image/svg+xml

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current13:20, 21 October 2026Thumbnail for version as of 13:20, 21 October 2026700 × 760 (5 KB)ResearchExplainersReal-text version: translatable with SVG Translate (same drawing)
    04:00, 18 October 2026Thumbnail for version as of 04:00, 18 October 2026700 × 760 (58 KB)ResearchExplainersRedraw: outlier drawn as a filled point on the box center line and labeled with the quartiles; whisker ends labeled
    00:48, 18 October 2026Thumbnail for version as of 00:48, 18 October 2026640 × 760 (30 KB)ResearchExplainersUploaded own work with UploadWizard

    The following page uses this file:

    Metadata