∑ Basic Mathematics

Menu and settings

Sound
Comfort
Companion color
Theme
Reading panel
Graphics quality

Skill packs · Pack B

Data and Statistics

A list of numbers is hard to take in, so we replace it by a few that stand for it, or draw it. This pack says what the mean, the median and the quartiles are, why each one is the number it is, and how to read the graphs and tables the exams put in front of you without being fooled by them. It then asks the same question of pairs of measurements, which a scatterplot and a line of fit summarize, and of samples, which stand in for a population too large to ask.

A puzzle to carry through the pack

A small company has five employees, who earn $\$40{,}000$, $\$40{,}000$, $\$45{,}000$, $\$50{,}000$ and $\$225{,}000$ a year. An advertisement says: “Our average salary is $\$80{,}000$.” Is that a fair picture of what a worker there earns?

  • Yes: a typical worker earns about $\$80{,}000$
  • No: a typical worker earns far less than $\$80{,}000$
  • No: a typical worker earns far more than $\$80{,}000$

The advertisement did not lie, and still it misleads. The first section says which “average” it used and which one it left out. (The second section is about drawing the numbers, so that a picture can do for you what a single number cannot. The last two ask when a few cases, a line through points or a sample of a population, can be trusted to speak for all of them.)

By the end of this pack you can find the mean, median and mode of a list and say which of them an extreme value moves, find the range, the quartiles and the interquartile range by the course's rule, tell which of two lists is more spread out without computing anything, and read a dot plot, a histogram, a box plot and a two-way table, saying what each one shows and what it hides, then use a line of fit to predict and to find a residual, tell a random sample from a convenience sample, estimate a population from a sample proportion, and say what a claim from a sample can and cannot show.
Before you start

This pack leans on fractions as single numbers (Chapter 1) and on the two legal moves for an equation (Chapter 2). You need no other part of the course, and you can read the pack at any point alongside it.

Three quick ones to wake up what the pack stands on. They are not scored. If one doesn't come to you, its solution says where to look.

Compute $\dfrac{6 + 10 + 14}{3}$.

Answer: $10$

The top is $30$, and $30 \div 3 = 10$. The mean of a list is exactly this: a sum divided by a count.

Write $\dfrac{12}{48}$ in lowest terms.

Answer: $\dfrac14$

The largest number that divides both is $12$, and $\frac{12}{48} = \frac{1}{4}$. See §1.5. Counts are turned into fractions of a group the same way.

What number is exactly halfway between $5$ and $8$?

Answer: $6.5$

Half the sum: $\frac{5 + 8}{2} = \frac{13}{2} = 6.5$. Check: $6.5 - 5 = 1.5$ and $8 - 6.5 = 1.5$ ✓. This is how a median is found when a list has an even number of values.

B.1 Center and spread

The mean of a list is the sum of its values divided by how many there are. The reason that recipe is the right one is what the mean means: it is the value every item would have if the total were shared out equally. Five salaries that add to $\$400{,}000$, shared equally, give $\$80{,}000$ each. Read it backwards and it is the most useful fact in the subject: mean times count is the total. A mean of $86$ over five tests means the five scores add to $5 \cdot 86 = 430$, and that one line solves every “what score do I need” problem.

The median is the middle value once the list is put in order. It splits the list so that about half the values lie on each side. When the count is odd, one value sits in the middle. When it is even, no value does, so the median is the midpoint of the middle two, as in warm-up 3. The mode is the value that occurs most often. A list can have no mode or several, but the mode is the only one of the three that makes sense for categories such as favorite colors. These are three answers to one question, “where is the center?”, and they can disagree. The mean feels every value, so one extreme value drags it. The median only counts values: change the largest from $225{,}000$ to a million and the median does not stir. That is the answer to the puzzle. The advertisement gave the mean, $\$80{,}000$, but four of the five earn $\$50{,}000$ or less, and the median, $\$45{,}000$, is the number that describes them.

Two lists can have the same center and still differ. Two classes both average $80$, one with scores from $70$ to $90$ and the other from $60$ to $100$. To say how far a list spreads, the simplest number is the range, the largest value minus the smallest. It is easy, but it listens to only two values, so one odd value ruins it. A better idea reuses the median. The median cuts the list in halves; the median of the lower half is the first quartile $Q_1$, and the median of the upper half is the third quartile $Q_3$. About a quarter of the values lie below $Q_1$, about a quarter above $Q_3$, and about half between them, so $Q_3 - Q_1$, the interquartile range (IQR), is the width of the middle half, and the extreme values cannot move it.

Here is the rule exactly, because quartiles are one place where books disagree: put the list in order, split it into a lower and an upper half, leaving out the middle value when the count is odd, and take the median of each half. This is the rule most US textbooks and graphing calculators use, and the one this course uses. Other textbooks and some software cut differently and can give a slightly different $Q_1$ for a short list. Finally, two other measures of spread are worth knowing by name. The mean absolute deviation is the average distance of the values from the mean. The standard deviation is a cousin of it. You will not compute it in this course, but you should know what it says: the farther the values sit from their mean, the larger it is. So of two lists with the same mean, the one whose values are more scattered has the larger standard deviation.

Example 1. Three centers and a range

A hiker counts the birds seen on six mornings: $3, 14, 8, 5, 8, 4$. Find the mean, the median, the mode and the range.

  1. Put the list in order: $3, 4, 5, 8, 8, 14$.
  2. Mean: the total is $3 + 4 + 5 + 8 + 8 + 14 = 42$, and $42 \div 6 = 7$.
  3. Median: six values, so take the midpoint of the middle two, $5$ and $8$: $\frac{5 + 8}{2} = 6.5$.
  4. Mode: $8$ occurs twice and every other value once. Range: $14 - 3 = 11$.
  5. Check the mean by sharing: six mornings of $7$ birds each is $42$ ✓. $\blacksquare$

The mean, $7$, is above the median, $6.5$, because the one large day, $14$, pulls it up.

A student scores $6, 9, 4, 9, 7$ on five quizzes. What is the mean score?

Answer: $7$

$6 + 9 + 4 + 9 + 7 = 35$ and $35 \div 5 = 7$. Check: five scores of $7$ make $35$ ✓.

Example 2. Quartiles of an odd list

Find the quartiles and the interquartile range of $15, 3, 9, 12, 6, 18, 2, 8, 14, 5, 11$.

  1. Put the list in order: $2, 3, 5, 6, 8, 9, 11, 12, 14, 15, 18$. There are $11$ values.
  2. The median is the sixth value, $9$. Because the count is odd, leave it out of both halves.
  3. The lower half is $2, 3, 5, 6, 8$, and its median is $Q_1 = 5$. The upper half is $11, 12, 14, 15, 18$, and its median is $Q_3 = 14$.
  4. The interquartile range is $14 - 5 = 9$.
  5. Check by counting: two halves of $5$ values and the median left out make $11$ ✓, and $Q_1$ and $Q_3$ are both values of the list, as they must be when each half has an odd number of values. $\blacksquare$

With an even count, nothing is left out: eight values split into two halves of four, and each quartile is the midpoint of a middle pair.

A student's first three test scores are $82, 90, 76$. What must the fourth score be for a mean of $85$ over all four?

Answer: $92$

The four scores must total $4 \cdot 85 = 340$. The first three give $82 + 90 + 76 = 248$, so the fourth is $340 - 248 = 92$. Check: $\frac{248 + 92}{4} = \frac{340}{4} = 85$ ✓.

What is the interquartile range of $16, 4, 22, 10, 14, 6, 18, 12$?

Answer: $9$

In order: $4, 6, 10, 12, 14, 16, 18, 22$. The halves are $4, 6, 10, 12$ with median $\frac{6 + 10}{2} = 8$, and $14, 16, 18, 22$ with median $\frac{16 + 18}{2} = 17$. The IQR is $17 - 8 = 9$.

B.2 Reading displays

A picture of data keeps some information and throws the rest away, and reading it well starts with knowing which. A dot plot puts one dot above a number line for each value, stacking the dots when a value repeats. Nothing is lost: every value is still there to be counted, so you can read the mode (the tallest stack), the median (count in from either end) and the range directly. It suits a short list.

Books read
0
1
1
1
2
2
2
2
3
3
4
5
Books read last month by $12$ students, one dot per student. The tallest stack is at $2$.

For a long list, or for measurements such as times and heights, a histogram groups the values into equal-width bins and draws a bar for each, as tall as the number of values in it. The bars touch, because the number line is continuous. The bins are half-open: the bin from $5$ to $10$ includes $5$ and stops short of $10$, so a value of exactly $10$ is counted in the next bin. What a histogram gives up is the individual values. A bar says that $8$ values lie between $5$ and $10$, not which. So you can read the center only roughly: the median lies in the bin where the running count from the left passes half. Keep one trap in view: the height is a count, so the tallest bar is the most common range of values, not the largest value.

A box plot keeps only five numbers: the smallest value, $Q_1$, the median, $Q_3$ and the largest. The box runs from $Q_1$ to $Q_3$ with a line at the median, and the whiskers run out to the smallest and largest values. The quartiles are those of the first section, found by the same rule. The central fact is that each of the four pieces, two whiskers and two halves of the box, holds about a quarter of the values, however long it is drawn. A long whisker only means the values there are thinly spread. The width of the box is the IQR, and the whole length is the range. A box plot cannot show a count or a mode, but because it is so compact, two or three of them fit on one axis to compare groups.

Finally, a two-way table sorts a group by two features at once, such as grade and how a student gets to school. Its inside entries are counts, and the totals around the edge are the sums of the rows and columns. The skill is choosing the right total to divide by, and it is the part-to-whole question of Pack A.1: a fraction “of the bus riders” has the bus column's total underneath, while a fraction “of the seventh graders” has the row's. The words after “of” name the group you divide by.

Example 3. Counting from a histogram

Wait (minutes)
2
3
4
6
7
7
8
9
11
12
12
13
14
16
17
18
21
22
24
26
Minutes $20$ patients waited at a clinic, in bins of width $5$ minutes.

How many patients waited $10$ minutes or more, and in which bin does the median wait lie?

  1. The bars, from the left, count $3, 5, 5, 3, 3, 1$ patients. They add to $20$ ✓, so every patient is in some bar.
  2. Waits of $10$ minutes or more are the bins from $10$ onward: $5 + 3 + 3 + 1 = 12$.
  3. Half of the $20$ patients is $10$. Running count from the left: $3$, then $8$, then $13$. It passes $10$ in the bin from $10$ to $15$, so the median wait lies there.
  4. Check from the other side: the first two bins hold $8$ patients, so $12$ waited $10$ or more ✓. $\blacksquare$

The histogram cannot say the median exactly: it knows the bin, not the value. The list behind it has $12$ and $12$ in the middle.

Books read
0
1
1
2
2
2
2
3
3
4
4
6
Books read last month by $12$ students, one dot per student.

How many of these students read more than $2$ books?

Answer: $5$ students

The stacks above $3$, $4$ and $6$ hold $2$, $2$ and $1$ dots: $2 + 2 + 1 = 5$. Check from the other side: the stacks at $0$, $1$ and $2$ hold $1 + 2 + 4 = 7$ students, and $7 + 5 = 12$ ✓.

Example 4. Reading a box plot

Score
52
58
61
64
68
70
73
79
84
88
95
Scores of $11$ students on a test, as a box plot.

Find the median, the interquartile range and the range, and say what fraction of the students scored above the median.

  1. Read the five numbers off the plot, or off the table below it: smallest $52$, $Q_1 = 61$, median $70$, $Q_3 = 84$, largest $95$.
  2. The interquartile range is $84 - 61 = 23$. The range is $95 - 52 = 43$.
  3. The median is one of the $11$ scores, with $5$ on each side. So $5$ of the $11$ scored above it: the fraction is $\frac{5}{11}$.
  4. Check the quartiles by the rule: the lower five scores are $52, 58, 61, 64, 68$, whose median is $61$ ✓, and the upper five are $73, 79, 84, 88, 95$, whose median is $84$ ✓. $\blacksquare$

The box is wider on the right of the median ($14$ against $9$), so the scores above the median are the more spread out, though each piece still holds about a quarter of them.

Delivery time (minutes)
12
15
18
20
26
29
35
Seven delivery times in minutes, as a box plot.

What is the interquartile range of these delivery times?

Answer: $14$ minutes

The median is $20$, left out. The lower three, $12, 15, 18$, have median $Q_1 = 15$. The upper three, $26, 29, 35$, have median $Q_3 = 29$. The IQR is $29 - 15 = 14$.

Example 5. Two ways to divide a two-way table

How $80$ students get to school
GradeWalkBusTotal
Grade 7142640
Grade 8211940
Total354580

What fraction of the seventh graders ride the bus, and what fraction of the bus riders are seventh graders?

  1. “Of the seventh graders” makes the grade-7 row the group: $40$ students, of whom $26$ ride the bus. The fraction is $\frac{26}{40} = \frac{13}{20}$.
  2. “Of the bus riders” makes the bus column the group: $45$ students, of whom $26$ are in grade 7. The fraction is $\frac{26}{45}$.
  3. Check that the edges add up: $14 + 26 = 40$, $14 + 21 = 35$, and $35 + 45 = 80$ ✓. $\blacksquare$

Same entry on top, $26$, and different fractions, because the group underneath changed.

In the table of Example 5, what fraction of the students who walk are in grade 8, in lowest terms?

Answer: $\dfrac35$

The group is the walkers, $35$ students, and $21$ of them are in grade 8: $\frac{21}{35} = \frac35$. Check: the other $14$ walkers are in grade 7, and $\frac{14}{35} = \frac25$, with $\frac35 + \frac25 = 1$ ✓.

B.3 Scatterplots and lines of fit

Some data come two at a time. Each student has a number of hours studied and a test score; each winter day has a temperature and a count of the cups of hot chocolate a café sold. A scatterplot draws each individual as one point, the first measurement across and the second up. A dot plot has one number per individual and can only say how many; a scatterplot can ask a new question, whether the two measurements move together.

When the points drift upward to the right, so that more of one goes with more of the other, the association is positive. When they drift downward, as the price of a used car does with its age, it is negative. When they make a shapeless cloud, there is no association: knowing one measurement tells you nothing about the other. By eye you also look for a cluster, a group of points set apart from the others (often two kinds of individual mixed in one plot), and for an outlier, a single point far from the pattern. An outlier is not an error to be rubbed out; it is a question to be asked about that one case.

Age of car (years)Price (thousands of dollars)
122
220
318
417
515
619
712
810
99
107
Age and asking price of $10$ used cars. The prices fall as the cars age, except for the car at $6$ years, an outlier.

If the points follow a roughly straight path, a line can summarize them, the way a mean summarizes a list: a line of fit runs close to the points, with about as many above it as below. Computing the best line is a method for a later course, so here the line is given, by an equation $y = mx + b$, and your work is to use it. To make a prediction, put the value of $x$ into the equation and read off $y$. The number $m$, the slope, has a plain meaning: it is how much the predicted $y$ changes for one more $x$. Given two points on the line, it is the rise over the run, $\frac{y_2 - y_1}{x_2 - x_1}$ (a later chapter treats slope in full; this sentence is all the pack needs).

A real point is seldom on the line, and the gap has a name. The residual of a point is the actual value minus the predicted value. It is positive for a point above the line, negative for a point below it, and zero for a point on it, so the order of the subtraction matters. A line that fits well has small residuals of both signs. Finally, a line of fit was drawn through data with $x$ between two limits, and it knows nothing outside them. Predicting inside the limits is reasonable. Going beyond them, extrapolation, is a guess, because nothing in the data says the pattern continues: a line that rises with study time would promise a score of $155$ for twenty hours.

Example 6. Using a line of fit

Hours studiedTest score
162
264
372
473
582
684
791
894
Hours studied and test score for $8$ students. A line of fit for them is $y = 5x + 55$.

Use the line $y = 5x + 55$. Predict the score for $4.5$ hours, say what the slope means, find the residual of the student who studied $4$ hours, and count the points above the line.

  1. Prediction: $5 \cdot 4.5 + 55 = 22.5 + 55 = 77.5$. The $4.5$ lies between the smallest $x$, $1$, and the largest, $8$, so this is a prediction inside the data.
  2. Slope: the line passes through $(2, 65)$ and $(6, 85)$, and $\frac{85 - 65}{6 - 2} = 5$. Each extra hour of study goes with $5$ more points predicted.
  3. Residual at $4$ hours: the student scored $73$, the line predicts $5 \cdot 4 + 55 = 75$, and $73 - 75 = -2$. The point lies $2$ below the line.
  4. Predicted scores for $x = 1, \dots, 8$ are $60, 65, 70, 75, 80, 85, 90, 95$, and the scores $62, 64, 72, 73, 82, 84, 91, 94$ are above at $x = 1, 3, 5, 7$: $4$ points.
  5. Check: the residuals are $+2, -1, +2, -2, +2, -1, +1, -1$, four positive and four negative, which is what “about as many above as below” looks like. $\blacksquare$

At $20$ hours the line says $155$, which no test allows. Far outside the data, the line is a guess, and a poor one.

A line of fit is $y = 3x + 20$. A student with $x = 5$ has $y = 38$. What is the residual of that student?

Answer: $3$

The line predicts $3 \cdot 5 + 20 = 35$. Actual minus predicted: $38 - 35 = 3$, so the point lies $3$ above the line.

A line of fit passes through $(1, 12)$ and $(5, 22)$. By how much does the predicted $y$ increase for each one more $x$?

Answer: $2.5$

The rise is $22 - 12 = 10$ and the run is $5 - 1 = 4$, so the slope is $\frac{10}{4} = 2.5$. Check: four steps of $2.5$ make $10$ ✓.

B.4 Samples and claims

Nobody asks every student in a school, or every voter in a state. The whole group a question is about is the population; the part actually asked is the sample. A sample is worth only what its choice is worth, and that is the whole difficulty. Suppose you want to know whether students like the new cafeteria menu, and you ask the thirty students at the nearest table. They are easy to reach, and for that very reason they may not be like the rest: the same table might hold the football team.

The fair way is a random sample, in which every member of the population is equally likely to be chosen, as when names are drawn from a hat. Then the way you chose does not favor one opinion over another. A convenience sample, the people nearest to hand, has a bias built in, and a bigger one does not mend it: three hundred members of the chess club are still the chess club.

From a random sample you may estimate the population by proportional reasoning, the method of Pack A.2. If $18$ of $80$ students sampled walk to school, the sample proportion is $\frac{18}{80} = 22.5\%$, and we expect about the same proportion of the whole school to walk. In a school of $1{,}200$ that is $0.225 \cdot 1{,}200$ students. It is an estimate, not a count, and the next point says why.

Two random samples from the same population differ. Say $40\%$ of a town likes a new park, which we could only know by asking everyone. One random sample of $20$ people might give $6$ yes answers, $30\%$, and another $11$, $55\%$. Neither sample is wrong; each is a different handful. But the size of the sample matters: two random samples of $200$ might give $78$ and $84$ yes answers, $39\%$ and $42\%$, much closer to each other and to the truth. Larger samples vary less. You will meet formulas for how much, but the habit worth having now is to ask how big the sample was before believing the percent.

That is also what limits a claim. A sample speaks for the population it was drawn from and for no other: a random sample of one school's students tells us little about another school's. And a pattern in a sample, even a strong one, is an association and not a proof of cause. Students who study more may score higher, but a survey cannot tell us that studying is the reason, since something else, such as how much sleep they get, might be behind both. Only an experiment that assigns the treatment at random can speak of cause.

Example 7. Estimating a population from a sample

A school has $1{,}200$ students. A random sample of $80$ of them is asked how they get to school, and $18$ say they walk. Estimate how many students walk. A second random sample of $80$ finds $22$ walkers; by how many percentage points do the two sample percents differ?

  1. The first sample proportion is $\frac{18}{80} = 0.225 = 22.5\%$.
  2. Assume the school has the same proportion: $0.225 \cdot 1{,}200 = 270$ walkers.
  3. As a proportion, $\frac{18}{80} = \frac{x}{1{,}200}$. The $80$ was multiplied by $15$ to make $1{,}200$, so $x = 18 \cdot 15 = 270$ ✓.
  4. The second sample gives $\frac{22}{80} = 27.5\%$, which would estimate $330$ walkers. The two percents differ by $27.5 - 22.5 = 5$ percentage points.
  5. Check: $270$ and $330$ differ by $60$, which is $5\%$ of $1{,}200$ ✓. $\blacksquare$

Two fair samples, two different estimates. The truth may well lie near both, which is why one sample is never quoted as an exact count.

In a random sample of $50$ students from a school of $800$, $14$ prefer the new menu. Estimate how many of the $800$ students prefer it.

Answer: $224$ students

The sample proportion is $\frac{14}{50} = 0.28$, and $0.28 \cdot 800 = 224$. Check: $800 \div 50 = 16$, and $14 \cdot 16 = 224$ ✓.

In a random sample of $40$ voters, $26$ favor a measure. What percent of the sample favors it?

Answer: $65\%$

$\frac{26}{40} = 0.65$, which is $65\%$. Check: $65\%$ of $40$ is $0.65 \cdot 40 = 26$ ✓.

Practice

Answer each with a single number, or with two numbers separated by a comma where the question asks for two. Quartiles follow the course's rule: the middle value is left out of both halves when the count is odd. When a question asks you to compare two lists, the answer is the number that settles the comparison. A line of fit is always given, and a residual is the actual value minus the predicted one. Give a percent as a number, with or without the sign.

A student's quiz scores are $72, 85, 90, 68, 85, 80$. What is the mean score?

Answer: $80$

The total is $72 + 85 + 90 + 68 + 85 + 80 = 480$, and $480 \div 6 = 80$. Check: six scores of $80$ make $480$ ✓.

The daily high temperatures last week were $61, 58, 70, 66, 72, 59, 65, 74$ degrees. What is the median?

Answer: $65.5$ degrees

In order: $58, 59, 61, 65, 66, 70, 72, 74$. Eight values, so the median is the midpoint of the fourth and fifth, $65$ and $66$: $\frac{65 + 66}{2} = 65.5$. Four values lie on each side ✓.

A basketball team scored these points in eight games: $9, 4, 7, 9, 12, 9, 6, 11$. What is the mode?

Answer: $9$ points

In order: $4, 6, 7, 9, 9, 9, 11, 12$. The value $9$ appears three times and every other value once, so the mode is $9$.

A student's first four test scores are $78, 84, 90, 88$. What must the fifth score be for a mean of $86$ over all five?

Answer: $90$

Five scores with mean $86$ total $5 \cdot 86 = 430$. The first four total $78 + 84 + 90 + 88 = 340$, so the fifth is $430 - 340 = 90$. Check: $\frac{340 + 90}{5} = 86$ ✓.

A shop counted these customers in ten different hours: $11, 3, 17, 8, 20, 6, 14, 5, 12, 9$. What is the interquartile range?

Answer: $8$

In order: $3, 5, 6, 8, 9, 11, 12, 14, 17, 20$. The lower half is $3, 5, 6, 8, 9$, with median $Q_1 = 6$. The upper half is $11, 12, 14, 17, 20$, with median $Q_3 = 14$. The IQR is $14 - 6 = 8$.

For the list $12, 5, 18, 8, 3, 15, 9, 20, 11, 7, 14$, find the first and third quartiles. Give $Q_1$ and $Q_3$, separated by a comma.

Answer: $Q_1 = 7$ and $Q_3 = 15$

In order: $3, 5, 7, 8, 9, 11, 12, 14, 15, 18, 20$. The median, $11$, is left out. The lower half $3, 5, 7, 8, 9$ has median $7$, and the upper half $12, 14, 15, 18, 20$ has median $15$.

Five houses sold for $\$150$, $\$160$, $\$165$, $\$170$ and $\$505$ thousand. How many thousand dollars larger is the mean price than the median price?

Answer: $65$ thousand dollars

The total is $1150$, so the mean is $\frac{1150}{5} = 230$. The middle of the ordered list is $165$, so the median is $165$. The difference is $230 - 165 = 65$. One expensive house pulls the mean far above what a typical house cost.

Class A scored $70, 75, 80, 85, 90$ and Class B scored $60, 70, 80, 90, 100$. Both classes have a mean of $80$. By how many points is the range of Class B larger than the range of Class A?

Answer: $20$ points

Class A: $90 - 70 = 20$. Class B: $100 - 60 = 40$. The difference is $40 - 20 = 20$. With the same mean, Class B is the more spread out.

Cousins
1
1
2
2
2
3
3
4
5
5
6
8
Number of cousins that each of $12$ students has, one dot per student.

What is the mean number of cousins?

Answer: $3.5$ cousins

Reading the stacks: $1 + 1 + 2 + 2 + 2 + 3 + 3 + 4 + 5 + 5 + 6 + 8 = 42$ cousins among $12$ students, and $42 \div 12 = 3.5$.

Wait (minutes)
1
2
2
3
4
5
5
6
7
7
8
9
9
10
11
12
13
14
14
15
16
17
19
21
Minutes $24$ customers waited in a line, in bins of width $5$ minutes.

How many customers waited at least $5$ minutes but less than $10$?

Answer: $8$ customers

The bar for $5$ up to $10$ holds the waits $5, 5, 6, 7, 7, 8, 9, 9$: eight. The two waits of exactly $5$ are in this bin, not the one before. Check: the bars read $5, 8, 6, 4, 1$ and add to $24$ ✓.

Ride (minutes)
4
8
12
15
17
19
22
23
25
27
31
34
36
41
45
52
Length in minutes of $16$ bus rides, in bins of width $10$ minutes.

What fraction of the rides lasted $30$ minutes or more, in lowest terms?

Answer: $\dfrac38$

The bars read $2, 4, 4, 3, 2, 1$ and add to $16$. From $30$ minutes on: $3 + 2 + 1 = 6$ rides, so the fraction is $\frac{6}{16} = \frac38$.

Days to arrive
3
4
4
5
6
7
8
9
10
12
13
13
15
18
22
Days that $15$ packages took to arrive, as a box plot.

Give the first and third quartiles, $Q_1$ and $Q_3$, separated by a comma.

Answer: $Q_1 = 5$ and $Q_3 = 13$

The median, $9$, is the eighth of fifteen values and is left out. The lower seven, $3, 4, 4, 5, 6, 7, 8$, have median $5$. The upper seven, $10, 12, 13, 13, 15, 18, 22$, have median $13$.

Lunch choices of $100$ students
StudentsPackedSchool lunchTotal
Boys182745
Girls223355
Total4060100

What fraction of the students who bought school lunch are girls, in lowest terms?

Answer: $\dfrac{11}{20}$

The group is the $60$ school-lunch buyers, of whom $33$ are girls: $\frac{33}{60} = \frac{11}{20}$. The fraction of girls who bought school lunch would be $\frac{33}{55}$, a different fraction.

Pets owned by $100$ people
OwnerCatDog
Adults2436
Children1624

Each person owns one pet. What fraction of the dog owners are adults, in lowest terms?

Answer: $\dfrac35$

Dog owners: $36 + 24 = 60$. Of them, $36$ are adults: $\frac{36}{60} = \frac35$.

Temperature (°F)Cups sold
10134
15112
20105
2583
3073
3551
4038
4522
Temperature and cups of hot chocolate sold on $8$ days.

The scatterplot shows the temperature and the cups of hot chocolate sold on $8$ days. A line of fit is $y = -3x + 160$. How many of the $8$ points lie above the line?

Answer: $3$ points

The line predicts $130, 115, 100, 85, 70, 55, 40, 25$ cups. The cups sold were $134, 112, 105, 83, 73, 51, 38, 22$. The actual number is larger on the days at $10$, $20$ and $30$ degrees: $3$ points. The other five lie below the line.

A line of fit for the test score $y$ of a student who studied $x$ hours is $y = 4x + 52$. What score does the line predict for a student who studied $7$ hours?

Answer: $80$ points

$4 \cdot 7 + 52 = 28 + 52 = 80$. Check: the line predicts $52$ for no study, and each of $7$ hours adds $4$: $52 + 28 = 80$ ✓.

A line of fit for test scores against hours studied passes through $(4, 52)$ and $(10, 76)$. By how many points does the predicted score rise for each one more hour of study?

Answer: $4$ points per hour

The rise is $76 - 52 = 24$ and the run is $10 - 4 = 6$, so the slope is $\frac{24}{6} = 4$. Check: from $x = 4$ to $x = 10$ is six steps of $4$, which is $24$ ✓.

WeekHeight (cm)
116
217
323
425
526
631
732
838
938
Height of a plant at the end of each of $9$ weeks.

The scatterplot shows the height of a plant measured each week for $9$ weeks. A line of fit is $y = 3x + 12$. How many of the $9$ points lie above the line?

Answer: $5$ points

The line predicts $15, 18, 21, 24, 27, 30, 33, 36, 39$. The heights are $16, 17, 23, 25, 26, 31, 32, 38, 38$. The plant is taller than predicted in weeks $1, 3, 4, 6$ and $8$: $5$ points. Check: the residuals are $+1, -1, +2, +1, -1, +1, -1, +2, -1$, five positive and four negative ✓.

WeekHeight (cm)
116
217
323
425
526
631
732
838
938
Height of a plant at the end of each of $9$ weeks.

For the same plant data, with the line $y = 3x + 12$, what is the residual of the week $7$ point? Take actual minus predicted.

Answer: $-1$

The line predicts $3 \cdot 7 + 12 = 33$. The plant measured $32$. Actual minus predicted is $32 - 33 = -1$, so the point lies $1$ below the line.

A line of fit for a plant's height in centimeters after $x$ weeks is $y = 3x + 12$. After how many weeks does the line predict a height of $45$ centimeters?

Answer: $11$ weeks

$3x + 12 = 45$, so $3x = 33$ and $x = 11$. Check: $3 \cdot 11 + 12 = 45$ ✓. This is a prediction beyond a plant measured for $9$ weeks, so treat it as a guess.

A line of fit passes through $(2, 5)$ and $(6, 8)$. What is its slope, as a fraction in lowest terms?

Answer: $\dfrac34$

The rise is $8 - 5 = 3$ and the run is $6 - 2 = 4$, so the slope is $\frac34$: three more units of $y$ for every four more of $x$. Check: from $x = 2$ to $x = 6$ is $4$ steps, and $4 \cdot \frac34 = 3$ ✓.

A line of fit is $y = 2x + 7$. Give the values it predicts for $x = 3$ and for $x = 10$, separated by a comma.

Answer: $13$ and $27$

$2 \cdot 3 + 7 = 13$ and $2 \cdot 10 + 7 = 27$. Check: $7$ more in $x$ adds $2 \cdot 7 = 14$ to the prediction, and $13 + 14 = 27$ ✓.

In a random sample of $20$ students, $17$ say they own a bicycle. What percent of the sample owns a bicycle?

Answer: $85\%$

$\frac{17}{20} = 0.85$, which is $85\%$. Check: $85\%$ of $20$ is $0.85 \cdot 20 = 17$ ✓.

A town has $4{,}500$ residents. In a random sample of $60$ residents, $24$ favor building a new park. Estimate how many of the town's residents favor it.

Answer: $1{,}800$ residents

The sample proportion is $\frac{24}{60} = 0.4$, and $0.4 \cdot 4{,}500 = 1{,}800$. Check: $4{,}500 \div 60 = 75$, and $24 \cdot 75 = 1{,}800$ ✓.

In a random sample of $250$ shoppers, $36\%$ paid by card. How many of the shoppers in the sample paid by card?

Answer: $90$ shoppers

$0.36 \cdot 250 = 90$. Check: $\frac{90}{250} = 0.36$ ✓.

Two random samples of $40$ students are asked about the school lunch. In the first, $14$ like it; in the second, $21$ like it. By how many percentage points do the two sample percents differ?

Answer: $17.5$ percentage points

The first sample gives $\frac{14}{40} = 35\%$ and the second $\frac{21}{40} = 52.5\%$. The difference is $52.5 - 35 = 17.5$. Samples this small can differ a lot without either being wrong.

A student wants to know what percent of her school likes math best, so she asks the $30$ members of the math club, and $24$ say math. What percent of this sample said math?

Answer: $80\%$

$\frac{24}{30} = 0.8$, which is $80\%$. But the math club is a convenience sample, biased toward math: the $80\%$ describes the club and says little about the school.

A town has $12{,}000$ residents. A random sample of $100$ finds $30$ who ride the bus, and another random sample of $500$ finds $140$. Use the larger sample to estimate how many of the town's residents ride the bus.

Answer: $3{,}360$ residents

The larger sample gives $\frac{140}{500} = 0.28$, and $0.28 \cdot 12{,}000 = 3{,}360$. The smaller sample would have said $0.30 \cdot 12{,}000 = 3{,}600$; the larger one is the one to trust more. Check: $12{,}000 \div 500 = 24$ and $140 \cdot 24 = 3{,}360$ ✓.

A school has $2{,}000$ students. One random sample of $50$ finds $12$ who bike to school, and another random sample of $50$ finds $15$. Give the two estimates of how many of the $2{,}000$ bike, separated by a comma.

Answer: $480$ and $600$

$\frac{12}{50} \cdot 2{,}000 = 0.24 \cdot 2{,}000 = 480$ and $\frac{15}{50} \cdot 2{,}000 = 0.3 \cdot 2{,}000 = 600$. Check: $2{,}000 \div 50 = 40$, and $12 \cdot 40 = 480$, $15 \cdot 40 = 600$ ✓. Two fair samples, two estimates.

Recap

Back to the puzzle

The advertisement quoted the mean: $\frac{40 + 40 + 45 + 50 + 225}{5} = 80$ thousand dollars. But the one salary of $\$225{,}000$ pulls the mean up, and four of the five workers earn $\$50{,}000$ or less. The median is the middle of the ordered list, $\$45{,}000$, and it does not feel how large the largest salary is. A typical worker earns far less than the advertised $\$80{,}000$. When a number is offered as “the average”, ask which average, and ask what the extreme value is doing to it.

  • The mean is the total shared out equally, so mean times count is the total. The median is the middle of the ordered list, with about half the values on each side. The mode is the most frequent value.
  • An extreme value drags the mean but hardly moves the median or the quartiles, which is why incomes and house prices are quoted by their medians.
  • The range is the largest minus the smallest. The quartiles are the medians of the lower and upper halves, leaving out the middle value of an odd list, and the interquartile range $Q_3 - Q_1$ is the width of the middle half.
  • Of two lists with the same mean, the one whose values lie farther from it has the larger standard deviation and mean absolute deviation. Neither is computed in this course.
  • A dot plot keeps every value. A histogram groups values into half-open bins and keeps only counts, so its center is known only to a bin, and its tallest bar is the commonest range, not the largest value.
  • A box plot keeps five numbers, and each of its four pieces holds about a quarter of the values, however long it looks. It shows no counts and no mode.
  • In a two-way table, the words after “of” name the row or column whose total goes underneath. The same entry gives different fractions of different groups.
  • A scatterplot shows two measurements for each individual. Points drifting up to the right are positively associated, down to the right negatively, and a shapeless cloud has no association; look for clusters and outliers by eye.
  • A line of fit $y = mx + b$ summarizes a straight-looking pattern. Put $x$ in to predict. The slope $m$ is the change in predicted $y$ for one more $x$, the rise over the run between two points on the line. A residual is actual minus predicted, positive above the line. Beyond the range of the data the line is a guess.
  • A random sample gives every member of the population the same chance, and a convenience sample is biased whatever its size. An estimate of the population is the sample proportion times the population, by proportional reasoning.
  • Two random samples differ, and larger samples vary less. A sample speaks only for its own population, and an association in it is not a proof of cause.