February 16, 2020

IQR - INTERQUARTILE RANGE

  1. The interquartile range (IQR) is the difference between the first and third quartile.

    1. Q1 separates the 1st 25% of the data.

    2. Q3 separates the 1st 75% of the data.

  2. In SciPy, the iqr( ) function takes a dataset as a parameter and returns the interquartile range.

  3. The main takeaway of the IQR is that it is a statistic, like the range, that helps describe the spread of the center of the data. Unlike the range, the IQR is robust.

    1. A statistic is robust when outliers have little impact on it.

BOXPLOTS

  1. One of the most commonly used methods of drawing the whiskers of a boxplot is the extend them 1.5 times the interquartile range from the first and third quartile.

    1. Q3 - Q1 = IQR

  2. An outlier is a point in the dataset that falls outside of the whiskers.

Previous
Previous

February 24, 2020

Next
Next

February 15, 2020