Range: The difference between the maximum and minimum values in a data set
Formula: Range = Maximum value - Minimum value
Data Spread: How far apart the values are from each other
- Order the data from least to greatest
- Identify the minimum value
- Identify the maximum value
- Calculate the range (max - min)
Original: 12, 15, 13, 14, 16, 12, 14, 15, 13, 17
Ordered: 12, 12, 13, 13, 14, 14, 15, 15, 16, 17
The smallest value in the data set is 12
The largest value in the data set is 17
Range = Maximum - Minimum = 17 - 12 = 5
Age difference from youngest to oldest
Shows the spread of ages in the club
The range of the ages is 5 years. This tells us that the age difference between the youngest and oldest members in the club is 5 years.
• Range Formula: Max - Min
• Ordering: Always arrange data to identify extremes
• Spread Measure: Range shows total data span
Quartiles: Values that divide a data set into four equal parts
Q1 (First Quartile): The median of the lower half of the data
Q2 (Second Quartile/Median): The median of the entire data set
Q3 (Third Quartile): The median of the upper half of the data
The data is already ordered: 18, 22, 25, 28, 30, 32, 35, 38, 40, 42, 45
There are 11 values (odd number), so the median is the middle value
Position = (n+1)/2 = (11+1)/2 = 6th position
Q2 = 32 (the 6th value)
Lower half: 18, 22, 25, 28, 30 (values below the median)
There are 5 values, so Q1 is the 3rd value = 25
Upper half: 35, 38, 40, 42, 45 (values above the median)
There are 5 values, so Q3 is the 3rd value = 40
Q2 = 32
Q3 = 40
Q1 = 25, Q2 = 32, Q3 = 40. These quartiles divide the data set into four equal parts.
• Quartile Positions: Divide data into four equal parts
• Q2 = Median: Middle value of entire data set
• Q1 and Q3: Medians of lower and upper halves respectively
Interquartile Range (IQR): The difference between the third and first quartiles
Formula: IQR = Q3 - Q1
Middle 50%: The IQR represents the range of the middle 50% of the data
From Exercise 2: Q1 = 25, Q3 = 40
IQR = Q3 - Q1 = 40 - 25 = 15
The IQR of 15 means that the middle 50% of the data spans 15 units
The IQR shows the spread of the middle half of the data, excluding the lowest and highest 25% of values
Middle 50% of data spans 15 units
Measures spread of central values
The interquartile range (IQR) is 15. This represents the range of the middle 50% of the data, showing how spread out the central values are.
• IQR Formula: Q3 - Q1
• Robust Measure: IQR is not affected by outliers
• Central Spread: Measures spread of middle 50% of data
Range: The difference between the maximum and minimum values in a data set.
Interquartile Range (IQR): The difference between the third and first quartiles, representing the middle 50% of the data.
Quartiles: Values that divide a data set into four equal parts.
First Quartile (Q1): The median of the lower half of the data.
Second Quartile (Q2): The median of the entire data set.
Third Quartile (Q3): The median of the upper half of the data.
- Range: Order data, find max and min, calculate difference
- Quartiles: Order data, find median, then medians of halves
- IQR: Calculate Q3 - Q1
- Compare: Consider when each measure is most appropriate
Outlier: A value that is significantly different from other values in the dataset
Robust Measure: A measure that is not greatly affected by outliers
Sensitive Measure: A measure that is significantly affected by outliers
Ordered: 55, 60, 65, 70, 75, 80, 85, 90, 95, 100
Range = 100 - 55 = 45
Q1 = 65 (median of lower half: 55, 60, 65, 70, 75)
Q3 = 90 (median of upper half: 80, 85, 90, 95, 100)
IQR = 90 - 65 = 25
Ordered: 55, 60, 65, 70, 75, 80, 85, 90, 95, 150
Range = 150 - 55 = 95
Q1 = 65 (median of lower half: 55, 60, 65, 70, 75)
Q3 = 90 (median of upper half: 80, 85, 90, 95, 150)
IQR = 90 - 65 = 25
Range: Increased from 45 to 95 (affected by outlier)
IQR: Remained 25 (not affected by outlier)
Range is sensitive to outliers because it uses only the extreme values
IQR is robust because it focuses on the middle 50% of data
With outlier: Range = 95, IQR = 25
Range affected, IQR unchanged
Without outlier: Range = 45, IQR = 25. With outlier: Range = 95, IQR = 25. The outlier significantly increased the range but did not affect the IQR.
• Outlier Sensitivity: Range is affected by outliers, IQR is not
• Robust Statistics: IQR is more robust than range
• Data Analysis: Consider robust measures when outliers present
Data Spread: How values are distributed across the range of possible values
Typical Variation: The usual amount of fluctuation in data values
Business Statistics: Statistical measures applied to business data
The data is already ordered: 25, 30, 32, 35, 38, 40, 42, 45, 48, 50, 120
Range = Maximum - Minimum = 120 - 25 = 95 thousand dollars
Q2 (median) = 40 (6th value in ordered set of 11 values)
Q1 = 32 (median of lower half: 25, 30, 32, 35, 38)
Q3 = 48 (median of upper half: 42, 45, 48, 50, 120)
IQR = Q3 - Q1 = 48 - 32 = 16 thousand dollars
The value of 120 is clearly an outlier (much higher than other values)
Range (95) is inflated by the outlier
IQR (16) represents the typical variation between months
IQR = $16,000
IQR better represents typical variation
Range = $95,000, IQR = $16,000. The IQR better represents typical variation in sales because it excludes the outlier and focuses on the middle 50% of the data.
• Outlier Impact: Extreme values affect range more than IQR
• Data Interpretation: Context matters when choosing measures
• Robust Statistics: IQR is more reliable when outliers present
Definitions of Key Concepts
Range: The difference between the maximum and minimum values in a data set. Formula: Range = Maximum - Minimum.
Interquartile Range (IQR): The difference between the third and first quartiles, representing the middle 50% of the data. Formula: IQR = Q3 - Q1.
Quartiles: Values that divide a data set into four equal parts (25% each).
First Quartile (Q1): The median of the lower half of the data (25th percentile).
Second Quartile (Q2): The median of the entire data set (50th percentile).
Third Quartile (Q3): The median of the upper half of the data (75th percentile).
Outlier: A value that is significantly different from other values in the data set.
Core Rules and Principles
Range Calculation:
- Range = Maximum value - Minimum value
- Always order data first to identify extremes
- Range is sensitive to outliers
- Shows total spread of the data
Quartile Calculation:
- Always order data from least to greatest first
- Q2 is the median of the entire data set
- Q1 is the median of the lower half (below Q2)
- Q3 is the median of the upper half (above Q2)
IQR Calculation:
- IQR = Q3 - Q1
- Represents the middle 50% of the data
- Robust to outliers
- Measures central spread
Step-by-Step Methods
Method 1: Calculating Range
- Order the data from least to greatest
- Identify the minimum value
- Identify the maximum value
- Subtract: Range = Max - Min
Method 2: Finding Quartiles
- Order the data from least to greatest
- Find Q2 (the median of the entire set)
- Identify the lower half of the data (values below Q2)
- Find Q1 (the median of the lower half)
- Identify the upper half of the data (values above Q2)
- Find Q3 (the median of the upper half)
Method 3: Calculating IQR
- Find Q1 and Q3 using the quartile method
- Subtract: IQR = Q3 - Q1
- Interpret as the range of the middle 50% of data
Multiple Concrete Examples
Simple Example: Data: 2, 4, 6, 8, 10
Range = 10 - 2 = 8
Q1 = 3 (median of 2,4), Q2 = 6, Q3 = 9 (median of 8,10)
IQR = 9 - 3 = 6
Intermediate Example: Data: 1, 3, 5, 7, 9, 11, 13, 15
Range = 15 - 1 = 14
Q2 = (7+9)/2 = 8, Q1 = (3+5)/2 = 4, Q3 = (11+13)/2 = 12
IQR = 12 - 4 = 8
Advanced Example (with outlier): Data: 10, 15, 20, 25, 30, 100
Range = 100 - 10 = 90 (inflated by outlier)
Q1 = 15, Q2 = 22.5, Q3 = 30
IQR = 30 - 15 = 15 (not affected by outlier)
Tips, Tricks, and Common Pitfalls
Tips:
- Always order data before finding quartiles
- Remember that Q2 is the same as the median
- For even number of data points, quartiles might be averages
- Use IQR when you want to ignore outliers
Common Mistakes:
- Forgetting to order data before finding quartiles
- Confusing Q1, Q2, and Q3 positions
- Miscalculating when the data set has an even number of values
- Using range when outliers are present
Key Notes for Memorization
- RANGE: Max - Min (affected by outliers)
- IQR: Q3 - Q1 (robust to outliers)
- Q1: Median of lower half
- Q2: Median of entire set
- Q3: Median of upper half
- IQR covers middle 50% of data
When to Use Each Measure
1. Range: Use when data has no outliers and you want total spread
2. IQR: Use when outliers are present or you want to focus on central data
3. Both: Use together to understand full data distribution
Questions & Answers
Question: In Exercise 4, why doesn't the outlier affect the IQR but it does affect the range? Can you explain this more?
Answer: Great question! This comes down to what each measure looks at:
Range:
- Only looks at the two most extreme values: maximum and minimum
- Calculated as: Maximum - Minimum
- Any outlier will automatically become the new maximum or minimum
- Therefore, outliers dramatically change the range
IQR:
- Looks at the middle 50% of the data (between Q1 and Q3)
- Calculated as: Q3 - Q1
- Completely ignores the bottom 25% and top 25% of data
- Outliers are typically in the extreme 25% portions that IQR ignores
In Exercise 4, the outlier (150) became the maximum, changing the range from 45 to 95. But since it's in the top 25% of data, it doesn't affect Q1, Q3, or the IQR.
Question: How do I find Q1 and Q3 when the data set has an even number of values? I'm confused about which values to include in the "halves".
Answer: The process is slightly different depending on whether you have an even or odd number of data points:
For even number of data points:
- Split the data exactly in half
- Lower half: first n/2 values
- Upper half: last n/2 values
- Q1 = median of lower half, Q3 = median of upper half
For odd number of data points:
- Find the median (middle value)
- Exclude the median from both halves
- Lower half: values below the median
- Upper half: values above the median
Example with 8 values: 1, 2, 3, 4, 5, 6, 7, 8
Lower half: 1, 2, 3, 4 (Q1 = median of these = 2.5)
Upper half: 5, 6, 7, 8 (Q3 = median of these = 6.5)
Question: When should I use range vs IQR in real life? Like, when would I choose one over the other?
Answer: The choice depends on what you're studying and whether outliers are present:
Use Range when:
- Data is normally distributed (no extreme outliers)
- You want to know the total spread of all values
- Example: Temperature range in a stable climate
Use IQR when:
- Data has outliers that would distort the range
- You want to focus on the "typical" spread of the data
- Example: Income data (where a few millionaires would inflate the range)
For Exercise 5 (sales data), the IQR was better because it showed the typical variation between months, excluding the unusual spike of $120K.