Box plot (box-and-whisker plot): A graphical representation showing the five-number summary of a dataset: minimum, Q1, median (Q2), Q3, maximum.
- Arrange data in ascending order
- Find the median (Q2)
- Find the first quartile (Q1)
- Find the third quartile (Q3)
- Identify minimum and maximum values
- Draw the box plot
76, 78, 79, 82, 83, 84, 85, 86, 87, 88, 89, 91, 92, 94, 95
With 15 data points (odd number), median is the middle value at position (15+1)/2 = 8th position
Median (Q2) = 86
Q1 is the median of the lower half (excluding the median if odd count): positions 1-7
Lower half: 76, 78, 79, 82, 83, 84, 85
Q1 = 82 (middle of lower half)
Q3 is the median of the upper half (excluding the median if odd count): positions 9-15
Upper half: 87, 88, 89, 91, 92, 94, 95
Q3 = 91 (middle of upper half)
Minimum = 76, Maximum = 95
Min = 76, Q1 = 82, Median = 86, Q3 = 91, Max = 95
The box plot has: Minimum = 76, Q1 = 82, Median = 86, Q3 = 91, Maximum = 95
Box spans from Q1 (82) to Q3 (91), with a line at median (86). Whiskers extend to min (76) and max (95).
• Quartile calculation: Q1 = median of lower half, Q3 = median of upper half
• Median location: For n data points, median is at position (n+1)/2
• Box plot construction: Box from Q1 to Q3, line at median, whiskers to extremes
Outlier: A data point significantly different from other observations. IQR (Interquartile Range): Q3 - Q1. 1.5×IQR Rule: Values below Q1 - 1.5×IQR or above Q3 + 1.5×IQR are outliers.
12, 15, 18, 20, 22, 24, 25, 26, 28, 30, 32, 35, 40, 55
With 14 data points (even number), median is average of 7th and 8th values
Median (Q2) = (25 + 26)/2 = 25.5
Q1 is median of first half: positions 1-7
Lower half: 12, 15, 18, 20, 22, 24, 25
Q1 = 20 (4th position)
Q3 is median of second half: positions 8-14
Upper half: 26, 28, 30, 32, 35, 40, 55
Q3 = 32 (11th position)
IQR = Q3 - Q1 = 32 - 20 = 12
Lower boundary = Q1 - 1.5×IQR = 20 - 1.5×12 = 20 - 18 = 2
Upper boundary = Q3 + 1.5×IQR = 32 + 1.5×12 = 32 + 18 = 50
Any value < 2 or > 50 is an outlier
Values: 12, 15, 18, 20, 22, 24, 25, 26, 28, 30, 32, 35, 40, 55
55 > 50, so 55 is an outlier
The value 55 is an outlier since it exceeds the upper boundary of 50.
Five-number summary excluding outlier: Min = 12, Q1 = 20, Median = 25.5, Q3 = 32, Max = 40
• IQR calculation: IQR = Q3 - Q1
• Outlier detection: Values outside [Q1 - 1.5×IQR, Q3 + 1.5×IQR]
• Whisker extension: In modified box plots, whiskers extend only to furthest non-outliers
Variability: How spread out the data values are. Measured by range, IQR, or standard deviation. Box plot comparison: Compare medians, IQRs, and ranges across multiple datasets.
Data: 70, 75, 80, 85, 90, 92, 95 (n=7)
Q1 = 75 (median of lower half: 70, 75, 80)
Median = 85
Q3 = 92 (median of upper half: 90, 92, 95)
Min = 70, Max = 95
IQR = 92 - 75 = 17, Range = 95 - 70 = 25
Data: 65, 70, 75, 80, 85, 90, 95, 100 (n=8)
Q1 = (70 + 75)/2 = 72.5 (average of 2nd and 3rd values)
Median = (80 + 85)/2 = 82.5 (average of 4th and 5th values)
Q3 = (90 + 95)/2 = 92.5 (average of 6th and 7th values)
Min = 65, Max = 100
IQR = 92.5 - 72.5 = 20, Range = 100 - 65 = 35
Class A: IQR = 17, Range = 25
Class B: IQR = 20, Range = 35
Class B has larger IQR and range, indicating greater variability
Class A median = 85, Class B median = 82.5
Class A has slightly higher center
Class B has greater variability than Class A. Class B has a larger IQR (20 vs 17) and range (35 vs 25).
Class A has a slightly higher median (85 vs 82.5).
• Comparing variability: Larger IQR indicates greater spread in middle 50% of data
• Comparing centers: Compare medians to assess typical values
• Comparing shapes: Look for symmetry or skewness in box plot shapes
Q2 = 50th percentile
Q3 = 75th percentile
Upper bound = Q3 + 1.5×IQR
Box plot: Visual summary of data distribution using five-number summary
Quartiles: Values dividing ordered data into four equal parts
Median: Middle value when data is arranged in order
- Sort the data: Arrange values in ascending order
- Calculate quartiles: Q1, Q2 (median), Q3
- Determine boundaries: Min and max values
- Identify outliers: Using 1.5×IQR rule
- Draw the plot: Box from Q1 to Q3, whiskers to extremes
• IQR = Q3 - Q1
• Lower outlier boundary = Q1 - 1.5×IQR
• Upper outlier boundary = Q3 + 1.5×IQR
• Quartile position = (n+1) × percentile/100
Skewness: Measure of asymmetry in a distribution. Right-skewed: Tail extends to the right (higher values). Left-skewed: Tail extends to the left (lower values). Symmetric: Balanced around the center.
10, 15, 20, 25, 30, 35, 40, 45, 50, 100
Q1 = (20 + 25)/2 = 22.5 (positions 2-3)
Median = (30 + 35)/2 = 32.5 (positions 5-6)
Q3 = (45 + 50)/2 = 47.5 (positions 8-9)
IQR = Q3 - Q1 = 47.5 - 22.5 = 25
Lower boundary = 22.5 - 1.5×25 = -15
Upper boundary = 47.5 + 1.5×25 = 85
Value 100 > 85, so 100 is an outlier
Without outlier: Min = 10, Q1 = 22.5, Median = 32.5, Q3 = 47.5, Max = 50
Distance from Q1 to median = 32.5 - 22.5 = 10
Distance from median to Q3 = 47.5 - 32.5 = 15
Distance from Q3 to max = 50 - 47.5 = 2.5
The right side (from median to Q3 and beyond) is longer than the left side
This indicates a right-skewed distribution
The distribution is right-skewed. The distance from median to Q3 (15) is greater than from Q1 to median (10), and there's an outlier at 100 pulling the distribution to the right.
• Skewness identification: Compare distances between quartiles and median
• Right skew: Longer tail on right side, Q3-Median > Median-Q1
• Outlier effect: Extreme values often indicate skewness
Percentiles: Values below which a certain percentage of data falls. Q1 (25th percentile): 25% of data below this value. Q3 (75th percentile): 75% of data below this value.
Q1 = 25th percentile: 25% of data ≤ 72
Q2 (median) = 50th percentile: 50% of data ≤ 78
Q3 = 75th percentile: 75% of data ≤ 85
Between Q1 and Q3: From 25th percentile to 75th percentile
Percentage = 75% - 25% = 50%
The score that separates the top 25% from bottom 75% is the 75th percentile
This is Q3 = 85
25% of students scored below 72
50% of students scored between 72 and 85
25% of students scored above 85
50% of students scored between Q1 (72) and Q3 (85).
The score 85 separates the top 25% from the bottom 75% of students.
• Quartile percentages: Q1 = 25%, Median = 50%, Q3 = 75%
• Between quartiles: 50% of data always between Q1 and Q3
• Percentile interpretation: Pth percentile means P% of data ≤ that value
Box plot (box-and-whisker plot): A standardized way of displaying the distribution of data based on a five-number summary: minimum, first quartile (Q1), median (Q2), third quartile (Q3), and maximum.
Quartiles: Three values that divide ranked data into four equal parts: Q1 (25th percentile), Q2 (median, 50th percentile), Q3 (75th percentile).
Interquartile Range (IQR): The range of the middle 50% of the data, calculated as Q3 - Q1.
- Organize Data: Sort the data in ascending order
- Find Median (Q2): Middle value of the dataset
- Find Q1: Median of the lower half (values below the median)
- Find Q3: Median of the upper half (values above the median)
- Identify Extremes: Minimum and maximum values
- Calculate IQR: Q3 - Q1
- Detect Outliers: Values outside [Q1 - 1.5×IQR, Q3 + 1.5×IQR]
- Construct Plot: Draw box from Q1 to Q3 with median line, whiskers to extremes
• Quartile position: For nth data point, position = (n+1) × percentile/100
• Interquartile Range: IQR = Q3 - Q1
• Outlier boundaries: Lower = Q1 - 1.5×IQR, Upper = Q3 + 1.5×IQR
• Percentile interpretation: Pth percentile means P% of data values are ≤ that value
• Box plot components: Box spans Q1 to Q3, line at median, whiskers to extremes (or to furthest non-outliers)
Symmetric: Median centered in box, whiskers roughly equal
Right-skewed: Median closer to Q1, longer right whisker
Left-skewed: Median closer to Q3, longer left whisker
Outliers: Points beyond whiskers
Analysis: Box plots provide a concise summary of data distribution, highlighting central tendency, variability, and potential outliers.
- The box represents the middle 50% of data (IQR)
- The median line shows the center of the distribution
- Whiskers indicate the range of non-outlier data
- Outliers are shown as individual points beyond whiskers