Interquartile range (IQR)
The interquartile range (IQR) is the spread of the middle half of the data, equal to the third quartile minus the first quartile.
The interquartile range measures how spread out the middle 50 percent of the data is, so it ignores the extreme quarters. You compute it as , the third quartile minus the first quartile. For example, if and , then the IQR is . Because it drops the top and bottom quarters, the IQR is resistant to outliers and drives the 1.5 times IQR rule for flagging them.
More describing data terms, or browse the full statistics glossary.