Box plot

From WikiMD's Wellness Encyclopedia

(Redirected from Box plots)

Michelsonmorley-boxplot
Error creating thumbnail:
Box-Plot mit Min-Max Abstand
Box-Plot mit Interquartilsabstand
Fourboxplots
Error creating thumbnail:
No Outlier

Box plot, also known as a box-and-whisker plot, is a standardized way of displaying the distribution of data based on a five-number summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum. It is a graphical representation used in statistics to show the shape of the distribution, its central value, and its variability. Invented in 1977 by American statistician John Tukey, the box plot is a useful tool in exploratory data analysis for visually showing the distribution's skewness, kurtosis, and outliers.

Overview[edit | edit source]

A box plot divides data into quartiles. The "box" shows the interquartile range (IQR), which is the distance between the first and third quartiles. The "whiskers" extend from either side of the box to show the range of the data, typically to 1.5 * IQR above the third quartile and below the first quartile. Data points outside this range are considered outliers and are often plotted as individual points.

Components[edit | edit source]

  • Minimum: The lowest data point excluding any outliers.
  • First Quartile (Q1): Also known as the lower quartile, it is the median of the lower half of the dataset.
  • Median: The middle value of the dataset.
  • Third Quartile (Q3): Also known as the upper quartile, it is the median of the upper half of the dataset.
  • Maximum: The highest data point excluding any outliers.
  • Outliers: Data points that fall outside of the whiskers.

Construction[edit | edit source]

To construct a box plot, the following steps are typically followed:

  1. Arrange the data in ascending order.
  2. Calculate the median, first quartile (Q1), and third quartile (Q3).
  3. Draw a box from Q1 to Q3 with a line at the median.
  4. Calculate the interquartile range (IQR) by subtracting Q1 from Q3.
  5. Draw whiskers from the box to the smallest and largest values within 1.5 * IQR from the quartiles.
  6. Plot any data points that fall outside of the whiskers as outliers.

Variations[edit | edit source]

Several variations of the box plot exist, including notched box plots, which include a narrowing of the box around the median to provide a rough guide to the significance of the difference between medians; and variable width box plots, where the width of the box is proportional to the size of the group.

Applications[edit | edit source]

Box plots are widely used in descriptive statistics, data analysis, and research. They are particularly useful for comparing distributions between several groups or sets of data. In fields such as economics, medicine, and engineering, box plots provide a compact and efficient way to understand and communicate the distribution of data.

Advantages and Disadvantages[edit | edit source]

Advantages:

  • Concise representation of data.
  • Easy to compare multiple distributions.
  • Identifies outliers.

Disadvantages:

  • Does not depict the distribution in as much detail as a histogram or kernel density plot.
  • Can be misleading if the data is not symmetric.

Contributors: Prab R. Tumpati, MD