Comprehensive Guide to Interquartile Range, Outlier Fences, and Box Plot Construction

Interquartile Range and Measures of Dispersion

  • Measures of dispersion evaluate the spread or variability of a data set. Key measures include:
    • Interquartile Range (IQRIQR)
    • Standard Deviation
  • The Interquartile Range (IQRIQR) is defined as the difference between the third quartile (Q3Q3) and the first quartile (Q1Q1):
    • IQR=Q3−Q1IQR = Q3 - Q1
  • Sample Calculation 1:
    • Given Q3=92Q3 = 92 and Q1=80Q1 = 80:
    • IQR=92−80=12IQR = 92 - 80 = 12
  • Sample Calculation 2 (from Example 14, Part B):
    • Given Q3=91Q3 = 91 and Q1=78Q1 = 78:
    • IQR=91−78=13IQR = 91 - 78 = 13
  • Dispersion and data division:
    • Quartiles divide data into four equal parts.
    • Measurement variability can arise during data entry or from errors within the sample.
    • While outlier determination can be subjective, formal rules exist to systematically determine outliers using fence thresholds.

Formal Rules for Outlier Detection and Fence Calculations

  • Outlier determination utilizes formal boundary values known as fences:
    • Lower Fence (LFLF)
    • Upper Fence (UFUF)
  • Step-by-step mathematical formulas for calculating fences:
    • Lower Fence formula:
    • LF=Q1−1.5×IQRLF = Q1 - 1.5 \times IQR
    • Upper Fence formula:
    • UF=Q3+1.5×IQRUF = Q3 + 1.5 \times IQR

Worked Examples of Outlier Evaluation

  • Example 1: Evaluation with Q3=92Q3 = 92, Q1=80Q1 = 80, and IQR=12IQR = 12:

    • Lower Fence Calculation:
    • LF=80−1.5×12LF = 80 - 1.5 \times 12
    • 1.5×12=181.5 \times 12 = 18
    • LF=80−18=62LF = 80 - 18 = 62
    • Upper Fence Calculation:
    • UF=92+1.5×12UF = 92 + 1.5 \times 12
    • 1.5×12=181.5 \times 12 = 18
    • UF=92+18=110UF = 92 + 18 = 110 (evaluated relative to upper threshold 100100)
    • Outlier Determination:
    • Data bounds are evaluated between 6262 and 100100
    • Because all observed data values fall strictly between the two fences, there are no outliers present in this data set.
  • Example 16 / Example 19: Evaluation with Five-Number Summary:

    • Given Quartile Values:
    • Q1=78Q1 = 78
    • Q2=85Q2 = 85
    • Q3=91Q3 = 91
    • IQRIQR Calculation:
    • IQR=Q3−Q1=91−78=13IQR = Q3 - Q1 = 91 - 78 = 13
    • Lower Fence Calculation:
    • LF=78−1.5×13=78−19.5=58.5LF = 78 - 1.5 \times 13 = 78 - 19.5 = 58.5
    • Upper Fence Calculation:
    • UF=91+1.5×13=91+19.5=110.5UF = 91 + 1.5 \times 13 = 91 + 19.5 = 110.5 (also referenced as boundary position 10.510.5 / 110.5110.5)

Step-by-Step Box Plot Construction Using Five-Number Summary

  • To construct a box plot using the five-number summary, follow these steps:
    1. Determine the Interquartile Range (IQRIQR), Lower Fence (LFLF), and Upper Fence (UFUF) from the five-number summary values.
    2. Insert vertical lines on the horizontal scale at the exact positions corresponding to Q1Q1, Q2Q2, and Q3Q3
    3. Enclose the vertical lines for Q1Q1, Q2Q2, and Q3Q3 inside a rectangular box.
    4. Label the locations of the Lower Fence (LFLF) and Upper Fence (UFUF) along the plot.
    • Applied to Example 19 (Q1=78Q1 = 78, Q2=85Q2 = 85, Q3=91Q3 = 91):
      • Vertical lines are placed at 7878, 8585, and 9191
      • Lower Fence (LFLF) is labeled at approximately 58.558.5
      • Upper Fence (UFUF) is labeled at approximately 10.510.5 / 110.5110.5
      • Sample data values recorded in the set include 9494 and 100100

Questions and Discussion

  • Question: Clarification on the spelling and notation of fences versus fancies across different annotations (e.g., spelling differences such as "f a" in blue vs. "f e" in red).
    • Answer: The conceptual terms refer to the identical mathematical concept of lower and upper fences (LFLF and UFUF) used to establish boundary rules for identifying outlier values in a dataset.