| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>box plot</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | box plot |
| 13 | </b></font></table></table> |
| 14 | <p>A box plot provides a simple graphical summary of data. These plots originate from the work of <a href="Tukey__1977_.html">Tukey (1977)</a>.</p> |
| 15 | <h2>Definitions</h2> |
| 16 | <p>The following figure shows an annotated box plot.</p> |
| 17 | <p align=middle><img height=500 width=500 src=box_plot_1.png></p><p>To understand the box plot we need the following definitions:</p> |
| 18 | <dl> |
| 19 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>q25</i> = lower quartile, 25% of the data lie below this value</dd> |
| 20 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>q50</i> = median, 50% of the data lie below this value</dd> |
| 21 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>q75</i> = upper quartile, 25% of the data lie above this value</dd> |
| 22 | </dl> |
| 23 | <p>The following definitions all depend on these quantiles:</p> |
| 24 | <dl> |
| 25 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>hspread</i> = |<i>q75</i> – <i>q25</i>| (50% interval)</dd> |
| 26 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>lowerOuterFence</i> = <i>q25</i> – 3.0 * <i>hspread</i> (not in figure)</dd> |
| 27 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>lowerInnerFence</i> = <i>q25</i> – 1.5 * <i>hspread</i> (not in figure)</dd> |
| 28 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>upperInnerFence</i> = <i>q75</i> + 1.5 * <i>hspread</i></dd> |
| 29 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>upperOuterFence</i> = <i>q75</i> + 3.0 * <i>hspread</i></dd> |
| 30 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>lowerWhisker</i> = smallest data value larger than <i>lowerInnerFence</i></dd> |
| 31 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>upperWhisker</i> = largest data value smaller than <i>upperInnerFence</i></dd> |
| 32 | </dl> |
| 33 | <p>The box plot is a summary of the data in which:</p> |
| 34 | <dl> |
| 35 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• the horizontal lines of the rectangle correspond to <i>q25</i>, <i>q50</i> and <i>q75</i>, respectively.</dd> |
| 36 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• the dotted line corresponds to the mean.</dd> |
| 37 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• the outliers outside the <i>outerFences</i> are drawn with an 'o'.</dd> |
| 38 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• the outliers in the intervals (<i>lowerOuterFence</i>, <i>lowerInnerFence</i>) and (<i>upperInnerFence</i>, <i>upperOuterFence</i>) are drawn with an '*'.</dd> |
| 39 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• the whisker lines outside the rectangle connect <i>q25</i> with <i>lowerWhisker</i>, and, <i>q75</i> with <i>upperWhisker</i>, respectively. With no outliers present, the whiskers mark minimum and/or maximum of the data.</dd> |
| 40 | </dl> |
| 41 | <h3>Links to this page</h3> |
| 42 | <ul> |
| 43 | <li><a href="Table__Box_plots___.html">Table: Box plots...</a> |
| 44 | <li><a href="TableOfReal__Draw_box_plots___.html">TableOfReal: Draw box plots...</a> |
| 45 | </ul> |
| 46 | <hr> |
| 47 | <address> |
| 48 | <p>© djmw 20111010</p> |
| 49 | </address> |
| 50 | </body> |
| 51 | </html> |