What is the interquartile range (IQR) used to measure?
A. The difference between the highest and lowest values in a dataset
B. The spread of the middle 50% of values in a dataset
C. The average value of a dataset
D. The most frequent value in a dataset