Box-and-Whisker Plot

EXPLORE THIS TOPIC IN the MathWorld Classroom BoxandWhiskers

A box-and-whisker plot (sometimes called simply a box plot) is a histogram-like method of displaying data, invented by J. Tukey. To create a box-and-whisker plot, draw a box with ends at the quartiles Q_1 and Q_3. Draw the statistical median M as a horizontal line in the box. Now extend the "whiskers" to the farthest points that are not outliers (i.e., that are within 3/2 times the interquartile range of Q_1 and Q_3). Then, for every point more than 3/2 times the interquartile range from the end of a box, draw a dot. If two dots have the same value, draw them side by side (Gonick and Smith 1993, p. 21). Box-and-whisker plots are implemented as BoxWhiskerPlot[data] in the Wolfram Language package StatisticalPlots` .

BoxandWhiskersTukey

A number of other slightly different conventions are sometimes used. In Tukey's original definition, the closely-related and lesser known hinges H_1 and H_3 were used instead of Q_1 and Q_3 (Tukey 1977, p. 39). In addition, Tukey's original formulation lacked horizontal crossbars, extended the whiskers all the way to the extreme data points, and drew an unfilled dot at the maximum and a hatched horizontal strip at the minimum, as illustrated above (left figure; Tukey 1977, p. 40). A variation extended the whiskers only out to some arbitrary minimum and maximum values and identifying the outliers with explicit labels (Tukey 1977, p. 41). Tukey also considered an additional variation in which the outliers are indicated separately and whiskers are dashed, ending with dashed crossbars at "adjacent values" (values closest to but still inside the inner fences).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.