Sign In
Quartiles are values that divide a data set into four equal parts.
We begin by listing the data in numerical order. Since we have an even number of values, the median is the mean of the two middle values. 1, 2, 4, 6, 7, 7, 8, 8, 9, 12, 13, 15, 15, 22, 37, 39 ⇓ Q_2 = 8+ 9/2=8.5 Next, we find the quartiles Q_1 and Q_3. Since each half of data contains 8 values (which is an even number) we will find the mean of the two middle values of each half of data. 1, 2, 4, 6, 7, 7, 8, 8, | 9, 12, 13, 15, 15, 22, 37, 39 ⇓ lQ_1=6+ 7/2=6.5 Q_3=15+ 15/2=15 The box-and-whisker plot consists of three parts: a box and two whiskers.
Let's make our box-and-whisker plot!
Q_3- Q_1 = IQR ⇔ 15- 6.5= 8.5
Next, we need to determine the maximum and minimum values for data to be considered outlier. Outliers are more than 1.5 times the IQR away from the upper and lower quartiles.
We can see that the whiskers of our plot get smaller as we remove the outliers. The box also becomes smaller and the median approaches the center of the box.