Statistical Features - Working With Box Plots
We'll cover the following...
Another important statistical concept is that of percentile, so let’s get a good understanding of this essential feature. Also, let’s learn to interpret statistical features from plots.
Anatomy of a Box Plot
Do you remember the box plots from the lessons on data visualization? As we saw earlier, we can write some very simple code using Matplotlib’s boxplot()
method to obtain statistical features in the form of box plots:
How to read a box-plot (Image credits: flowingdata.com)
A boxplot is basically a graph that presents information from a five-number summary. If we look at the diagram above, we can see that in a box plot:
- The ends of the box are the first (lower) and third (upper) quartiles — the box