What is the median of 1, 4, 6, 7, 9, 12
Quartiles split an ordered data set into four equal parts. For discrete data, approximate positions of the quartiles can be found using:
\[ Q_1 \text{ near } \frac{N+1}{4}, \quad \text{Median near } \frac{N+1}{2}, \quad Q_3 \text{ near } \frac{3(N+1)}{4} \]
Here, \(N\) is the number of data values. These positions are then rounded or interpreted as falling between two values to identify the actual quartiles.
Whenever a question asks for quartiles, median, or interquartile range (IQR) for a raw data set, this is the method to use.
The quartile position formulas give a quick method to locate quartiles and the median in discrete datasets. They are central in statistics questions on spread and comparison, especially when constructing box plots and calculating the interquartile range.