Boxplots
Boxplot basics
|
We are going to learn how to do all sorts of things with boxplots. But first, we have to learn what they are and what all the pieces tell us. Let's start with outliers and how to find them. You've seen this word a few times in the course already, but we need a formal mathematical definition so that we can work with boxplots. So, get out that notebook and let’s take some notes. This might look like a lot, but it's important to understand before we move on. |
|
Outlier – a piece of data that lies outside the overall pattern of data. For example, if the data is: [13, 13, 13, 14, 14, 14, 15, 89] then 89 is probably an outlier since it is so far outside the overall pattern. How to find outliers How to calculate the upper and lower fences:
(We learned about the quartiles and interquartile range earlier this week.) 5 number summary
Boxplot – a way of displaying numerical data, both discrete and continuous. It consists of a 'box' that shows five elements: the Q1, median, Q3 and (usually) a pair of 'whiskers', that stretch to the minimum (min) and maximum (max) value of the data. Sometimes, these are also called box-and-whisker plots. Example: Boxplot without outliers
© State of Victoria (DE) Virtual School Victoria 2022. Example: Boxplot with outliers
© State of Victoria (DE) Virtual School Victoria 2022. Interpreting the shape of a boxplot Boxplots can be symmetrical, positively skewed or negatively skewed just like other data displays (see Week 1).
How to make a boxplot
After you have written this down, watch the video below on 'the Five Number Summary, Box Plots and Outliers' which explains it in further detail. Video summaryThis video explains how to use the five-number summary to create and interpret boxplots, identify outliers and compare data sets.
|
||||||
|
Use the interactive below to check how a box plot changes when the 5 number summary changes. |