Quartiles & Interquartile Range
Describe the middle half of a dataset and identify possible outliers.
Theory
Quartiles divide ordered data into four parts. The interquartile range is Q3 − Q1 and resists extreme values better than the full range. Values beyond 1.5 IQR from a quartile are commonly flagged as possible outliers.
What you will learn
- Locate Q1, the median, and Q3.
- Calculate the middle-fifty-percent spread.
- Use IQR fences to flag possible outliers.
How to interpret it
Q1 marks approximately the 25th percentile and Q3 marks the 75th percentile. The IQR describes the spread of the central half of the observations and is robust against unusually high or low values.
Assumptions and limitations
Quartile conventions vary slightly between textbooks and software, especially for small datasets. State the method used when exact replication matters. An outlier fence flags a value for investigation; it does not prove the value is erroneous.
Common mistakes
- Failing to sort values first.
- Including the overall median in both halves without checking the chosen convention.
- Automatically deleting every value outside an IQR fence.
Problem question
Find the IQR of 2, 4, 5, 7, 8, 10, 12.
Step-by-step solution
- The median is 7.
- The lower-half median Q1 is 4.
- The upper-half median Q3 is 10.
- IQR = 10 − 4 = 6.