Unit 4, lesson 38

Reading Data Displays

How to read frequencies, dot plots, histograms and box plots using their labeled scales, and how to tell the exact values a display shows from the information it groups or hides.

  • Theory part 75
  • Practice part 76
  • Data and Probability

Theory, part 75

Practice, part 76

A teacher who records how long each student took on a test can show the results in several ways. A dot plot keeps every single time. A histogram sorts the times into intervals and counts them. A box plot boils everything down to five numbers. Each picture answers some questions exactly and leaves others open, and many SAT data questions turn on knowing which is which.

Key terms

Frequency

Definition The frequency of a value, or of an interval of values, is the number of observations in a data set that equal that value or fall in that interval. The frequencies of all the distinct values add up to the total number of observations. A relative frequency is a frequency divided by that total, often written as a percent.

In plain words Frequency means how many times something shows up.

Example Twelve students report how many siblings they have, with answers 0,1,1,2,1,0,3,1,2,2,1,00, 1, 1, 2, 1, 0, 3, 1, 2, 2, 1, 0.

Siblings00112233
Frequency33553311

The frequencies add to 3+5+3+1=123 + 5 + 3 + 1 = 12, one for each student. The relative frequency of 11 sibling is 5/125/12, about 4242 percent.

Dot plot

Definition A dot plot places each possible value on a number line and draws one dot above that value for each observation equal to it, stacking the dots in a column. The height of a column, counted in dots, is the frequency of that value.

In plain words One dot is one observation. Nothing is grouped, so you can recover every value in the data set.

Example The sibling data as a dot plot has a column of 33 dots above 00, 55 dots above 11, 33 dots above 22 and 11 dot above 33. To find how many students have at least 22 siblings, count the dots above 22 and 33, which gives 3+1=43 + 1 = 4 students.

Histogram and grouped data

Definition A histogram divides the number line into intervals called bins, usually of equal width, and draws a bar over each bin whose height is the frequency (or relative frequency) of observations in that bin. The display must make clear which endpoint belongs to which bin. A common convention puts a value that falls on a boundary into the bin that starts there, so a bin from 3030 to 4040 contains 3030 but not 4040. Always check the convention a question states. Data shown only as counts per interval are called grouped data.

In plain words A histogram counts how many values land in each interval. It tells you how many, not which ones.

Example Twenty students’ test times, in minutes, are grouped like this, with each bin including its left endpoint but not its right one.

Time2020 to 30303030 to 40404040 to 50505050 to 6060
Frequency44995522

The number of students who took at least 4040 minutes is 5+2=75 + 2 = 7, and the bar for 3030 to 4040 is the tallest, so that interval holds the most times.

Scale

Definition The scale of a display is the labeling of its axes, the value assigned to each gridline and what the vertical axis counts (frequency, relative frequency or percent). Every bar height or dot count must be read against these labels. When the bins of a histogram have equal width, bar heights compare frequencies directly. When the bins have unequal widths, the display must state whether the height or the area of a bar represents frequency.

In plain words Read the axis labels before reading any bar. A bar that looks three times taller may not mean three times as many.

Example A histogram for 5050 students has a vertical axis labeled percent, and one bar reaches 3030. That bar stands for 3030 percent of 5050, which is 1515 students, not 3030. In another chart the vertical axis starts at 5050 instead of 00, and two bars reach 5252 and 5656. The second bar looks three times as tall above the bottom edge, yet

5652≈1.08,\frac{56}{52} \approx 1.08,

so it is only about 88 percent larger.

Quartiles

Definition The median of a data set is the middle value after the values are sorted from least to greatest. With nn values, it is the value in position n+12\frac{n+1}{2} when nn is odd and the mean of the two middle values when nn is even. The quartiles split the sorted data into four parts with roughly equal numbers of values. The second quartile Q2Q_2 is the median. One common convention takes the first quartile Q1Q_1 as the median of the values below the median position and the third quartile Q3Q_3 as the median of the values above it, leaving out the median itself when nn is odd. Other conventions exist and can give slightly different quartiles, so when a question supplies quartiles or shows them on a box plot, use those values.

In plain words Sort the data, find the middle, then find the middle of each half. Those three cut points are the quartiles.

Example Take the eleven values 3,5,6,8,9,10,12,14,15,18,213, 5, 6, 8, 9, 10, 12, 14, 15, 18, 21. The median is the sixth value, 1010. The lower half is 3,5,6,8,93, 5, 6, 8, 9, with median Q1=6Q_1 = 6, and the upper half is 12,14,15,18,2112, 14, 15, 18, 21, with median Q3=15Q_3 = 15. A convention that keeps 1010 in both halves would use 3,5,6,8,9,103, 5, 6, 8, 9, 10 as the lower half and give Q1=7Q_1 = 7 instead, which is why you should rely on given quartiles.

Box plot

Definition A box plot is drawn over a number line from five numbers, the minimum, Q1Q_1, the median, Q3Q_3 and the maximum. A box runs from Q1Q_1 to Q3Q_3 with a line inside at the median, and whiskers run out to the minimum and the maximum. Some box plots mark outliers as separate points, and then the whiskers stop at the most extreme values that are not outliers.

In plain words A box plot shows where the data starts, where it ends and where the quarter marks fall. The middle half of the data lives inside the box.

Example A box plot of commute times has markers at 1212, 1818, 2323, 3030 and 4141 minutes. The shortest commute is 1212 minutes, the longest is 4141 minutes, and the median is 2323 minutes. About half of the commutes are between 1818 and 3030 minutes, and about a quarter are 3030 minutes or longer.

Interquartile range

Definition The interquartile range of a data set is

IQR=Q3−Q1.\text{IQR} = Q_3 - Q_1.

It is the length of the box in a box plot and measures the spread of the middle half of the data. The range, by contrast, is the maximum minus the minimum.

In plain words The IQR tells you how wide the middle half of the data is, ignoring the extreme quarters at each end.

Example For the commute box plot, the IQR is 30−18=1230 - 18 = 12 minutes and the range is 41−12=2941 - 12 = 29 minutes. A question that asks for the IQR and offers 2929 as a choice is counting on you to subtract the wrong markers.

Information limitation

Definition Recall that the mean is the sum of the values divided by how many values there are. A display determines a quantity only when every data set consistent with the display gives that quantity the same value. A dot plot determines every value, so it determines the mean, the median and the range. A histogram determines the count in each bin and the total, but not individual values, so in general it does not determine the exact mean, median, minimum or maximum. A box plot determines its five numbers, the IQR and the range, but not the number of observations or the mean.

In plain words Ask what the display actually records. If two different data sets could produce the same picture and give different answers, the picture cannot answer the question.

Example The seven values 1,2,3,4,5,6,71, 2, 3, 4, 5, 6, 7 and the nine values 1,2,2,3,4,5,6,6,71, 2, 2, 3, 4, 5, 6, 6, 7 both have minimum 11, Q1=2Q_1 = 2, median 44, Q3=6Q_3 = 6 and maximum 77, using the quartile convention above. They give identical box plots, so a box plot alone cannot tell you how many values there are. Likewise, in the test time histogram the longest time is somewhere in the bin from 5050 to 6060 minutes, but the display does not say exactly where.

Check yourself

  1. A dot plot shows the number of books each of 1515 students read last month. There are 22 dots above 00, 33 above 11, 44 above 22, 44 above 33 and 22 above 44. What is the median number of books? (A) 11 (B) 22 (C) 2.52.5 (D) 33
Show the answer

The correct choice is (B). With 1515 values the median is the eighth value in order. The first 2+3=52 + 3 = 5 values are 00 or 11, and values six through nine are 22, so the eighth value is 22. Choice (C) averages 22 and 33, the values with the two tallest columns, which confuses the most common values with the middle one. Choice (D) is the median of the column heights 2,3,4,4,22, 3, 4, 4, 2 rather than of the observations. Choice (A) comes from stopping the count too early.

  1. A box plot of daily high temperatures, in degrees, has its five markers at 44, 1010, 1515, 2222 and 3535. What is the interquartile range of the temperatures?
Show the answer

The answer is 1212. The box runs from Q1=10Q_1 = 10 to Q3=22Q_3 = 22, so the IQR is 22−10=1222 - 10 = 12 degrees. Subtracting the minimum from the maximum gives the range, 3131, which is a different measure.

  1. A histogram shows the masses, in grams, of 2020 apples, with 33 apples from 100100 to 110110, 77 from 110110 to 120120, 66 from 120120 to 130130 and 44 from 130130 to 140140. Each bin includes its left endpoint but not its right one. Which of the following can be determined exactly from the histogram? (A) The mean mass of the apples (B) The mass of the heaviest apple (C) The number of apples with a mass less than 120120 grams (D) The median mass of the apples
Show the answer

The correct choice is (C). The bins below 120120 grams hold 3+7=103 + 7 = 10 apples. The mean needs the exact masses, which the bins hide, so (A) fails. The heaviest apple is somewhere from 130130 up to 140140 grams, so (B) fails. The median is the mean of the tenth and eleventh masses, one in the bin from 110110 to 120120 and the other in the bin from 120120 to 130130, so its exact value is unknown and (D) fails.

How this lesson connects