1. Find the IQR of a small dataset with odd count
Problem
The dataset is already sorted in ascending order, which is the first step for any quartile calculation.
We have 7 values. Since is odd, the median sits exactly in the middle.
The median (4th value) is 9, which divides the data into two halves.
Take all values strictly below the median.
The median of the lower half is 5.
Take all values strictly above the median.
The median of the upper half is 13.
Subtract from to get the interquartile range.
Answer:
This dataset has a compact IQR of 8, meaning the middle 50% of values span only 8 units. The calculation split the data at the median, then found the median of each half, which is the most intuitive method for odd-sized datasets.