Home
>
Knowledge
>
High school statistics
>
Box and whisker plots

Box and whisker plots

Box and whisker plots, also known as box plots, are graphical representations used to display the distribution of a dataset. They effectively summarize key statistical measures:

  1. Five-Number Summary: The box plot is based on the five-number summary, which includes:

    • Minimum value
    • First quartile (Q1, the 25th percentile)
    • Median (Q2, the 50th percentile)
    • Third quartile (Q3, the 75th percentile)
    • Maximum value
  2. Box: The central box represents the interquartile range (IQR), which is the range between Q1 and Q3. This box shows where the middle 50% of the data lies.

  3. Whiskers: Lines (or "whiskers") extend from the box to the minimum and maximum values, excluding outliers. Outliers, which fall outside 1.5 times the IQR from the quartiles, are often plotted as individual points.

  4. Comparison: Box plots allow for easy comparison between different datasets, showing differences in central tendency, variability, and potential outliers.

Overall, box and whisker plots provide a clear visual summary of the distribution of data, making it easier to understand and analyze statistical properties.

Part 1: Worked example: Creating a box plot (odd number of data points)

A box-and-whisker plot is a handy tool for visualizing data. By ordering numbers, we can find the range, median, and quartiles. Practice makes perfect when mastering these concepts!

Here are the key points to learn when studying "Worked example: Creating a box plot (odd number of data points)":

  1. Understanding Data Set: Recognize that box plots visualize the distribution of data based on five key summary statistics: minimum, first quartile (Q1), median (Q2), third quartile (Q3), and maximum.

  2. Ordering Data: Start by arranging the data points in ascending order, which is essential for accurately determining the quartiles.

  3. Identifying Quartiles:

    • Median (Q2): The middle value when the data set is ordered. For an odd number of data points, this value is straightforward to locate.
    • First Quartile (Q1): The median of the lower half of the data (excluding the overall median for an odd count).
    • Third Quartile (Q3): The median of the upper half of the data (again excluding the overall median).
  4. Determining the Range: Calculate the minimum and maximum values in the data set to define the total span of the box plot.

  5. Constructing the Box Plot:

    • Draw a number line to represent the range of data.
    • Create a box from Q1 to Q3, marking Q2 inside the box.
    • Extend "whiskers" from the box to the minimum and maximum values.
  6. Interpreting the Box Plot: Understand that the box represents the interquartile range (IQR), while the whiskers indicate variability outside the quartiles. Observe the symmetry or skewness of the data through the position of the median.

By mastering these points, you'll have a solid foundation for creating and interpreting box plots, especially for data sets with an odd number of points.

Part 2: Worked example: Creating a box plot (even number of data points)

Box-and-whiskers plots help visualize data ranges and medians. First, arrange your numbers from least to greatest. The smallest and largest numbers form the 'whiskers'. The median of the entire data set splits the 'box' in the middle. The medians of the top and bottom halves of the numbers form the 'box' boundaries.

When studying how to create a box plot with an even number of data points, key points to focus on include:

  1. Organizing the Data: Start by sorting the data points in ascending order.

  2. Calculating Statistics:

    • Median: For an even number of points, the median is the average of the two middle values.
    • Quartiles: Determine the lower quartile (Q1) and upper quartile (Q3):
      • Q1 is the median of the first half of the data points.
      • Q3 is the median of the second half.
  3. Identifying the Interquartile Range (IQR): Calculate the IQR by subtracting Q1 from Q3, which helps identify the spread of the middle 50% of the data.

  4. Finding Minimum and Maximum Values: Identify any outliers and determine the minimum and maximum values to plot the extremes of the data.

  5. Creating the Box Plot:

    • Draw a box from Q1 to Q3, with a line at the median.
    • Extend "whiskers" from the box to the minimum and maximum values, or to the nearest non-outlier data points.
  6. Interpreting the Box Plot: Use the visual representation to assess the distribution of the data, highlighting any potential outliers and general spread.

These points serve as a guide for creating and interpreting box plots effectively, especially with an even number of data points.

Part 3: Reading box plots

Is this some kind of cute cat video? No! Box and whisker plots seek to explain data by showing a spread of all the data points in a sample. The "whiskers" are the two opposite ends of the data. This video is more fun than a handful of catnip.

When studying "Reading Box Plots," focus on these key points:

  1. Definition: Understand that a box plot (or box-and-whisker plot) visually depicts the distribution of a dataset through its quartiles.

  2. Components:

    • Box: Represents the interquartile range (IQR), which contains the middle 50% of the data.
    • Whiskers: Extend from the box to the minimum and maximum values within 1.5 times the IQR.
    • Median Line: A line inside the box indicates the median (the middle value).
    • Outliers: Data points outside the whiskers are considered outliers and often marked individually.
  3. Quartiles:

    • Q1 (First Quartile): 25th percentile (lower edge of the box).
    • Q2 (Median): 50th percentile (line in the box).
    • Q3 (Third Quartile): 75th percentile (upper edge of the box).
  4. Comparison: Use box plots to compare distributions between different datasets, noting differences in median, spread, and presence of outliers.

  5. Interpretation of Spread: Analyze how spread out the data is by observing the sizes of the box and whiskers.

By mastering these points, you will better understand how to read and interpret box plots effectively.

Part 4: Interpreting box plots

A box and whisker plot is a handy tool to understand the age distribution of students at a party. It helps us identify the minimum, maximum, median, and quartiles of the data. However, it doesn't provide specific details like the exact number of students at certain ages.

When studying "Interpreting Box Plots," focus on the following key points:

  1. Components of a Box Plot:

    • Minimum: The lowest data point.
    • First Quartile (Q1): The median of the lower half of the data.
    • Median (Q2): The middle value of the dataset.
    • Third Quartile (Q3): The median of the upper half of the data.
    • Maximum: The highest data point.
    • Interquartile Range (IQR): The range between Q1 and Q3, showing the middle 50% of the data.
  2. Understanding Spread and Distribution:

    • Box plots help visualize the spread of the data and identify skewness.
    • A longer whisker on one side can indicate skewed data.
  3. Identifying Outliers:

    • Outliers may be represented as individual points beyond the whiskers (typically defined as 1.5 times the IQR above Q3 and below Q1).
  4. Comparing Data Sets:

    • Box plots allow for easy comparisons between multiple datasets, highlighting differences in central tendency and variability.
  5. Interpreting Context:

    • It's essential to consider the context of the data when analyzing box plots.

Master these components to effectively analyze and interpret box plots in various statistical scenarios.

Part 5: Judging outliers in a dataset

Using the inter-quartile range (IQR) to judge outliers in a dataset.

When studying "Judging Outliers in a Dataset," key points to focus on include:

  1. Definition of Outliers: Understanding what constitutes an outlier and the impact it has on data analysis.

  2. Causes of Outliers: Identifying the reasons why outliers occur, including measurement errors, data entry mistakes, or genuine variability.

  3. Detection Methods: Familiarizing with various methods to detect outliers, such as:

    • Statistical methods (e.g., Z-scores, IQR)
    • Visualization techniques (e.g., box plots, scatter plots)
  4. Impact on Analysis: Evaluating how outliers can skew results and influence statistical measures like mean, median, and standard deviation.

  5. Handling Outliers: Learning strategies for dealing with outliers, including:

    • Removal
    • Transformation
    • Capping values
  6. Contextual Evaluation: Recognizing the importance of context when judging the relevance and impact of outliers on the dataset.

  7. Documentation: Maintaining records of outlier analysis and decisions made regarding their treatment for reproducibility and transparency in research.

  8. Testing Assumptions: Understanding the importance of testing assumptions after addressing outliers to ensure the validity of the analysis.

These points will provide a foundation for effectively judging and managing outliers within a dataset.