April 2018
Beginner to intermediate
282 pages
6h 52m
English
The inter-quartile range is a measure of variability or spread in the dataset. It is calculated by dividing a dataset into quartiles. Quartiles divide the dataset into four halves based on the five number summary that we studied earlier—minimum, first quartile, second quartile, third quartile, and maximum. The second quartile is the median value of the rank-ordered dataset; the first quartile is the middle value of the first half of the rank-ordered dataset, and the third quartile is the middle value of the second half of the rank-ordered dataset.
The inter-quartile range is the difference between the third quartile (quartile75 or Q3) and the first quartile (quartile25 or Q1).
We calculate the IQR in Python using the ...