how to calculate interquartile range
Calculate interquartile range by dividing a dataset into quartiles and subtracting the lower quartile value from the upper quartile.
- Median represents the 50% mark, lower quartile is at 25%, and upper quartile is at 75%
- Interquartile range is calculated by subtracting the lower quartile from the upper quartile
- Quartile positions can be found using (n + 1)/2 for median, (n + 1)/4 for lower quartile, and 3(n + 1)/4 for upper quartile


