Main content

## High school statistics

### Unit 1: Lesson 5

Box and whisker plots- Worked example: Creating a box plot (odd number of data points)
- Worked example: Creating a box plot (even number of data points)
- Creating box plots
- Reading box plots
- Reading box plots
- Interpreting box plots
- Interpreting quartiles
- Judging outliers in a dataset
- Identifying outliers

© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Worked example: Creating a box plot (odd number of data points)

AP.STATS:

UNC‑1 (EU)

, UNC‑1.L (LO)

, UNC‑1.L.1 (EK)

, UNC‑1.L.2 (EK)

CCSS.Math: , Learn how to create a box plot. The data set used in this example has 11 data points.

## Want to join the conversation?

- can you give me some practice problems? what happened to those?(2 votes)
- Here to practice how to make them:

https://www.khanacademy.org/math/ap-statistics/summarizing-quantitative-data-ap/stats-box-whisker-plots/e/box-plots

Here is how to practice how to read them:

https://www.khanacademy.org/math/ap-statistics/summarizing-quantitative-data-ap/stats-box-whisker-plots/e/analyzing-data-with-box-plots(5 votes)

- I still don't really understand how to create box plots. Can someone help me understand please.(2 votes)
- 1) Order numbers from least to greatest

2) Find median, if there is an even number of values take the mean of the middle 2

3) Q1 is the middle value between median and lowest value. If there is an even number of values in between median and lowest value, then take mean of the middle 2. Do the same with the upper half to find Q3.

4) Draw it out over a number line(6 votes)

- How do I find the median, Q1, Q3 and the IQ range for the following numbers?

128, 148, 130, 142, 164, 120, 152, 202(1 vote)- well first i recommend ordering them so 120, 128, 130, 142, 148, 152, 164, 202 then the middle number but if they are even amount of numbers which there is then add them together and divide by 2 so 142 + 148 = 290 / 2 = (145 thats the median)then to find q1 take the bottom numbers so 120, 128, 130 , 142 and do the process above again . to find q3 do the same for q1 but the top numbers. the range is the biggest number subtracted by the smallest so 202 - 120 = 82 thats the range. hoped i helped sorry for the long paragraph.(2 votes)

- what do the whiskers stand for?(1 vote)
- The whiskers show the lowest number and the largest number. Lets say the minimum is 4 and the largest number is 10, the first whisker will start at 4 on the number line and then you make your box and then the last whisker will be ending on 10 in the number line. k u get it now(1 vote)

- Whatever happened to the exercise shown is the video? It looks great practice for this skill!(1 vote)
- I was wondering too! I wish that Khan was still set up like that...(2 votes)

- cant understand what exclude the median means(1 vote)
- When you calculate the 1st and 3rd quartile values, count after the median to the endpoint.

In the even number example, you start counting all the numbers in each half which includes 7 numbers for this example. So you find the middle of that grouping.

in the odd number of objects example, the median is an actual number. When counting out the quartile, you ignore that one(1 vote)

- What is the point of quartiles? How does it help us in real life math?(1 vote)
- alot of things, Marketing, statistics, traffic patterns, anything where you want to find out things that have to do with how many , or on average, etc.(1 vote)

- When making a box and whisker plot, do you always only have 3 total boxes, or can you do more?(1 vote)
- Does Khan Academy have practices on outliers?(1 vote)
- Can the Median and the Upper or Lower Quartile ever be the same number? How would that affect the box plot?(1 vote)

## Video transcript

- [Voiceover] Represent the following data using a box-and-whiskers plot. Exclude the median when
computing the quartiles. Alright, let's see if we can do this. So, we have a bunch of data, here, and they say if it helps,
you might drag the numbers to put them in a different order. So, we can drag these numbers
around, which is useful, because we will want to order them. The order isn't checked with your answer, and I'm doing this off of
the Khan Academy exercises, so I don't have my drawing tablet here. I just have my mouse, and I'm interacting with the exercise, which
I encourage you to do too, because the best way to
learn any of this stuff is to actually practice
it, and at Khan Academy, we have 150,000 exercises
for you to practice with. Anyway, so, let's do this. Let's order this thing, so we can figure out the range of numbers. What's the lowest and what's the highest? Let's see, there's a seven here. Then, let's see, we have some eights. We've got some eights goin' on. Then we have some nines, actually we have a bunch of
nines, we have four nines here. We have some nines, and then, let's see, 13 is the largest number. There we go, we've ordered the numbers. So, our smallest number is seven, and this is what the whiskers are useful for. For helping us figure out
the entire range of numbers. Our smallest number is seven. Our largest number is
13, so we know the range. Now, let's plot the median, and this'll help us once getting this center line of our box, but then also we need to
do that, to figure out what these other lines are, that kind of define the box. To define the middle two
fourths of our number. Of our data, or the middle two quartiles. Roughly the middle two quartiles, it depends how some of
the numbers work out. But this middle line is going to be the median of our entire data set. Now, the median is just the middle number. If we sort them in order, median
is just the middle number. We have 11 numbers here. So, the middle one is gonna
have five on either side. It's just gonna be this nine. If we had 10 numbers here, if we had an even number of
numbers, you actually would of had two middle numbers,
and then to find the median, you'd found the mean of those two. If that last sentence was confusing, watch the videos on
Khan Academy, on median, and I go into much more detail on that. But here, I have 11 numbers, so my median is going
to be the middle one. It has five larger, five less, it's this nine, right over here. If I had my pen tablet, I would circle it. So, it's this nine. That is the median. Now, we need to figure out
what number is half way, what number is the median of the numbers in this bottom half? They told us to exclude the median when we compute the quartiles. So, this was the median. Let's ignore that. So, let's look at all of
the numbers below that. So, this nine, eight,
eight, eight, and seven. So, we have five numbers. What's the median of these five numbers? Well the median's the middle number. That is eight. So, the beginning of our second quartile is gonna be an eight, right over there. We do the same thing
for our third quartile. Remember, this was our median
of our entire data set. Let's exclude it. Let's look at the top half
of the numbers, so to speak. There's five numbers here, in order. So, the middle one, the
median of this is 10. So, that's gonna be the
top of our second quartile. Just like that, we're done. We have constructed our
box-and-whisker plot.