Math Core

Lesson 10.2 · Data and Probability

Displaying data

A list like 0,2,1,1,0,3,1,2,5,0,1,20, 2, 1, 1, 0, 3, 1, 2, 5, 0, 1, 2 doesn't tell you much at a glance. Organize the same numbers into a picture or a table, and patterns jump out: where the data cluster, where the gaps are, and whether any value is unusual. In this lesson you'll read and build three common displays: dot plots, frequency tables (with histograms) and stem-and-leaf plots.

Dot plots

A dot plot (also called a line plot) shows each data value as a mark above a number line. Values that repeat stack up, so the tallest stack is the mode.

Worked example: Reading a dot plot

Twelve students were asked how many pets they have. The results are shown below.

012345✕✕✕✕✕✕✕✕✕✕✕✕
Number of pets

Find the mode, the median and the mean.

  • Mode: the tallest stack is over 11, so the mode is 11 pet.
  • Median: list the 1212 values in order by reading the stacks from left to right: 0,0,0,1,1,1,1,2,2,2,3,50, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 5. The 66th and 77th values are both 11, so the median is 11 pet.
  • Mean: multiply each value by the height of its stack and add: 0(3)+1(4)+2(3)+3(1)+5(1)=180(3) + 1(4) + 2(3) + 3(1) + 5(1) = 18. The mean is 1812=1.5\dfrac{18}{12} = 1.5 pets.

The student with 55 pets sits apart from the others, so 55 looks like an outlier. That's why the mean is higher than the median.

Dot plots work best for small data sets with only a few different values, because you can still see every data point.

Frequency tables and histograms

When there are many different values, group them into intervals of equal width and count how many values fall in each one.

Definition

Frequency table

A frequency table lists categories or intervals and the frequency of each, meaning how many data values fall there. A histogram is a bar graph of a frequency table for numerical intervals: the bars touch, and each bar's height is the frequency.

Worked example: Building a frequency table

These are the scores of 2020 students on a quiz:

72,85,91,64,78,88,95,70,83,76,67,89,74,98,81,79,62,86,75,9372, 85, 91, 64, 78, 88, 95, 70, 83, 76, 67, 89, 74, 98, 81, 79, 62, 86, 75, 93

Make a frequency table with intervals 6060–6969, 7070–7979, 8080–8989 and 9090–9999.

Go through the list once and sort each score into its interval.

  • 6060–6969: 64,67,6264, 67, 62
  • 7070–7979: 72,78,70,76,74,79,7572, 78, 70, 76, 74, 79, 75
  • 8080–8989: 85,88,83,89,81,8685, 88, 83, 89, 81, 86
  • 9090–9999: 91,95,98,9391, 95, 98, 93

Count each group to get the frequencies.

ScoreFrequency
6060–696933
7070–797977
8080–898966
9090–999944

The frequencies add to 3+7+6+4=203 + 7 + 6 + 4 = 20, which matches the number of scores. A histogram of this table would have four touching bars with heights 3,7,6,43, 7, 6, 4, and the tallest bar shows that the most common interval is 7070–7979.

Tip

Always check that the frequencies add up to the number of data values. If they don't, you skipped or double-counted a value.

Common mistake

Grouping data hides the individual values. From the table above you can say that 44 students scored in the 9090s, but you cannot tell the highest score or the exact median. If you need those, go back to the original data.

Stem-and-leaf plots

A stem-and-leaf plot groups data like a histogram but keeps every value. Each number is split into a stem (all digits except the last) and a leaf (the last digit). The leaves are written in order.

Worked example: Reading a stem-and-leaf plot

The plot shows the ages of the people at a family reunion. The key is 2∣3=232 \mid 3 = 23 years.

StemLeaves
223  73 \; 7
331  1  5  81 \; 1 \; 5 \; 8
442  4  4  42 \; 4 \; 4 \; 4
5511

Find the number of people, the range and the median.

The data are 23,27,31,31,35,38,42,44,44,44,5123, 27, 31, 31, 35, 38, 42, 44, 44, 44, 51: that's 1111 people. The range is 51−23=2851 - 23 = 28 years. The leaves are already in order, so the median is the 66th value, 3838 years.

Choosing a display

Which display should I use?

  • Dot plot: small data sets with few distinct values. Shows every value.
  • Stem-and-leaf plot: small to medium data sets with two-digit values. Shows every value and the shape.
  • Frequency table or histogram: large data sets or many distinct values. Shows the shape, but not individual values.

Practice

Practice 1

How many data values are shown in this dot plot?

1234✕✕✕✕✕✕✕✕✕✕✕✕

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

The dot plot shows how many hours 1111 students slept last night. What is the median?

678910✕✕✕✕✕✕✕✕✕✕✕
Hours of sleep

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Find the mean of the data in this dot plot.

1234567✕✕✕✕✕✕✕✕✕✕

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

The ages of the guests at a party are 12,25,31,18,27,34,22,29,15,38,26,2112, 25, 31, 18, 27, 34, 22, 29, 15, 38, 26, 21. In a frequency table with intervals 1010–1919, 2020–2929 and 3030–3939, what is the frequency of the 2020–2929 interval?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

The table shows the quiz scores of a class. What percent of the students scored 8080 or higher?

ScoreFrequency
6060–696933
7070–797977
8080–898966
9090–999944

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

The stem-and-leaf plot shows the number of push-ups each member of a team did in one minute. The key is 4∣2=424 \mid 2 = 42. What is the median?

StemLeaves
442  5  82 \; 5 \; 8
550  3  3  70 \; 3 \; 3 \; 7
661  41 \; 4

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Find the range of the push-up data. The key is 4∣2=424 \mid 2 = 42.

StemLeaves
442  5  82 \; 5 \; 8
550  3  3  70 \; 3 \; 3 \; 7
661  41 \; 4

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

A histogram shows the heights of 3030 plants in intervals 00–99 cm, 1010–1919 cm, 2020–2929 cm and 3030–3939 cm. Which question can you answer from the histogram alone?