Lesson 10.2 · Data and Probability
Displaying data
A list like 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.
Find the mode, the median and the mean.
- Mode: the tallest stack is over , so the mode is pet.
- Median: list the values in order by reading the stacks from left to right: . The th and th values are both , so the median is pet.
- Mean: multiply each value by the height of its stack and add: . The mean is pets.
The student with pets sits apart from the others, so 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 students on a quiz:
Make a frequency table with intervals –, –, – and –.
Go through the list once and sort each score into its interval.
- –:
- –:
- –:
- –:
Count each group to get the frequencies.
| Score | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – |
The frequencies add to , which matches the number of scores. A histogram of this table would have four touching bars with heights , and the tallest bar shows that the most common interval is –.
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 students scored in the s, 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 years.
| Stem | Leaves |
|---|---|
Find the number of people, the range and the median.
The data are : that's people. The range is years. The leaves are already in order, so the median is the th value, 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
How many data values are shown in this dot plot?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The dot plot shows how many hours students slept last night. What is the median?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the mean of the data in this dot plot.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The ages of the guests at a party are . In a frequency table with intervals –, – and –, what is the frequency of the – interval?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The table shows the quiz scores of a class. What percent of the students scored or higher?
| Score | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – |
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The stem-and-leaf plot shows the number of push-ups each member of a team did in one minute. The key is . What is the median?
| Stem | Leaves |
|---|---|
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the range of the push-up data. The key is .
| Stem | Leaves |
|---|---|
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A histogram shows the heights of plants in intervals – cm, – cm, – cm and – cm. Which question can you answer from the histogram alone?