The interquartile range (IQR) is a measure of statistical dispersion, which represents the spread of the middle 50% of a data set. It is calculated as the difference between the third quartile (Q3) and the first quartile (Q1) and is often used to identify outliers and measure the variability of a data set. The IQR is less influenced by extreme values, making it a robust measure of spread, especially for skewed distributions
. To find the IQR, the data set is first divided into quartiles, and then the IQR is calculated as the difference between the third and first quartiles