Skip to content
tryhardprep
All lessons

One-variable data: distributions and measures of center and spread

14 minute read · 13 sections

Read first: Math: how the section works, Desmos basics for the test

0 of 13 sectionsSections

What the questions look like

Each question is about one batch of numbers, given as a list, a table, a bar graph, a dot plot, a A bar chart that shows how many values fall in each range. or a box plot. The last line usually reads like one of these:

  • “What is the mean of the data shown?”
  • “The frequency table summarizes the 5757 data values in a data set. What is the maximum data value in the data set?”
  • “Which of the following correctly compares the medians and the ranges?”
  • “Which of the following lists represents a data set with the smallest How spread out a set of numbers is around its average.?”

Others give the mean and ask for a missing value.

Mean, median, mode and range

Here's what each word means, worked on the list 2,3,3,4,132, 3, 3, 4, 13.

  1. Mean: add every value.

    2+3+3+4+13=252+3+3+4+13=25
  2. Then divide by how many values there are.

    25÷5=525\div5=5
  3. Median: the middle value once the list is in order.

    2, 3, 3, 4, 132,\ 3,\ \mathbf{3},\ 4,\ 13
  4. Mode: the value that shows up most often.

    2, 3, 3, 4, 132,\ \mathbf{3},\ \mathbf{3},\ 4,\ 13
  5. Range: the largest value minus the smallest.

    13−2=1113-2=11

The mean is the total divided by how many values there are. Every repeat counts.

Right
For 2, 3, 3, 4, 13, the mean is 25 ÷ 5 = 5.
Wrong
For 2, 3, 3, 4, 13, the mean is 3.

3 is the middle value, so it's the median. The mean uses the total of all five values.

With an even count, the median is halfway between the two middle values. Find the median of 18,44,26,40,12,3018, 44, 26, 40, 12, 30.

  1. Sort from least to greatest.

    12, 18, 26, 30, 40, 4412,\ 18,\ 26,\ 30,\ 40,\ 44
  2. Six values, so average the 3rd and 4th.

    26+302=28\frac{26+30}{2}=28

Trap: The middle of the printed list

33 is a choice because 26 and 40 sit in the middle of the list as printed, and their average is 33.

What to do: Sort first, every time, even when the list looks nearly in order.

Dot plots and bar graphs

A dot plot of fifteen values, with two dots above 20, three above 22, three above 24, five above 26, and two above 28.

Each dot is one value. The numbers along the bottom are the values, and a stack's height is how many times that value appears.

  1. Count the values: add the stack heights.

    2+3+3+5+2=152+3+3+5+2=15
  2. With 15 values, the median is the 8th.

    15+12=8\frac{15+1}{2}=8
  3. Count up from the left to the 8th place. The median is 24.

    20,20,22,22,22,24,24,2420,20,22,22,22,24,24,\mathbf{24}
  4. Range: largest value minus smallest.

    28−20=828-20=8
  5. Mode: the value under the tallest stack.

    2626

The mode, range, maximum and minimum all come from the values along the bottom.

Right
For this dot plot, the range is 28 − 20 = 8.
Wrong
For this dot plot, the range is 5, the height of the tallest stack.

A stack's height is a count. The range is measured along the bottom.

A bar graph of frequencies reads the same way.

Frequency tables

A frequency table lists each value once, with how many times it appears.

ValueFrequency
123
145
162
184
200

The maximum is the largest value with a frequency above 0.

Right
The maximum data value is 18.
Wrong
The maximum data value is 20.

A frequency of 0 means no value of 20 was recorded.

Trap: A count where a value belongs

5 is a choice because it's the biggest frequency, and 14 because it's the most common value.

What to do: Before you read a number off a table or graph, say which column or axis holds the values and which holds the counts.

For a mean, each value counts as many times as it appears. Multiply each value by its frequency and add to get the total. Then divide by the total of the frequencies. A common wrong choice divides by the number of rows instead.

Worked example
100%
Frequency table of tire shipments: 44 tires in 2 shipments, 66 in 7, 77 in 6, 89 in 8, and 113 in 2.

Ilona recorded the bike shop’s tire shipments.

What is the mean number of tires per shipment?

Show the answer

Accepted answer: 78

Solution

Multiply each tire count by its number of shipments, then add: 44(2)+66(7)+77(6)+89(8)+113(2)=1,95044(2)+66(7)+77(6)+89(8)+113(2)=1{,}950. The total number of shipments is 2+7+6+8+2=252+7+6+8+2=25, so the mean is 1,95025=78\frac{1{,}950}{25}=78.

A common wrong answer is 390390, which results from dividing 1,9501{,}950 by the 5 table rows instead of the 25 shipments. Another common wrong answer is 7777, which is the The middle value once the numbers are put in order.Read the lesson of the expanded 25-value data set, not the mean.

For a median, count up through the frequencies. Take values 20, 25 and 30 with frequencies 7, 4 and 2.

  1. Count the values.

    7+4+2=137+4+2=13
  2. With 13 values, the median is the 7th.

    13+12=7\frac{13+1}{2}=7
  3. The 20s fill places 1 to 7, so the median is 20, even though 25 is the middle row.

    2020

Some questions make a frequency the unknown. With frequencies 7, 4 and nn, what's the smallest nn that makes the median 30?

  1. The 30s start at place 12, so the middle has to be place 12 or later.

    7+4=117+4=11
  2. The median averages places 11 and 12, a 25 and a 30. That's 27.5.

    n=11: 22 valuesn=11:\ 22 \text{ values}
  3. The median is place 12, a 30. So the smallest nn is 12.

    n=12: 23 valuesn=12:\ 23 \text{ values}

Combining two groups

Group A has 12 values with a mean of 70. Group B has 3 values with a mean of 90. What's the mean of all 15?

  1. Group A's total: mean times count.

    12×70=84012\times70=840
  2. Group B's total.

    3×90=2703\times90=270
  3. Add the totals and divide by all 15 values.

    (840+270)÷15=74(840+270)\div15=74

Average the two means only when the groups are the same size.

Right
The mean of all 15 values is 74.
Wrong
The mean of all 15 values is (70 + 90) ÷ 2 = 80.

Averaging the two means counts 3 values as much as 12.

The answer lands between the two means, closer to the mean of the group with more values.

Combined mean

Combined mean=n1m1+n2m2n1+n2 \text{Combined mean}=\frac{n_1m_1+n_2m_2}{n_1+n_2}

Here n1n_1 and n2n_2 are the group sizes, and m1m_1 and m2m_2 are their means.

Histograms

A histogram is a bar graph where each bar covers an interval of values, like 100 to 120. A bar's height is how many values fall in that interval.

A histogram of twenty values in four intervals of width 20. The first three intervals hold 3, 2, and 3 values and the last one, 100 to 120, holds 12, so most of the data sits at the high end. Each bar gives a count for its whole interval and not the values inside it.
  1. Count the values: add the bar heights.

    3+2+3+12=203+2+3+12=20
  2. With 20 values, the median averages these two.

    10th and 11th10\text{th and }11\text{th}
  3. The first three bars hold only 8 values, so both middle places are in the last bar.

    3+2+3=83+2+3=8

A histogram tells you which interval holds the median. It can't give an exact mean, median or range.

Right
The median is somewhere from 100 to 120.
Wrong
The median is 110.

110 is the middle of the interval. The histogram doesn't say any value equals 110.

Box plots

A box plot shows five numbers: the minimum, the first The value a quarter of the way through sorted data, or three quarters of the way through. The box in a box plot runs between those two values. Q1Q_1, the median, the third quartile Q3Q_3, and the maximum. Q1Q_1 is the middle of the lower half of the sorted data, and Q3Q_3 is the middle of the upper half.

A box plot of one data set. The whiskers reach out to the minimum, 20, and the maximum, 50; the box runs from the first quartile, 27, to the third quartile, 44; and the line drawn inside the box marks the median, 35.
Each of the four parts holds a quarter of the values, however long or short it looks.

The The spread of the middle half of the data, found by subtracting the lower quartile from the upper quartile., or IQR, is the width of the box.

  1. Range: one whisker end to the other.

    50−20=3050-20=30
  2. IQR: Q3−Q1Q_3-Q_1.

    44−27=1744-27=17

A box plot gives no mean and no count of values.

Right
For this box plot, the median is 35.
Wrong
For this box plot, the mean is 35.

The line inside the box marks the median.

Trap: A mean read from a box plot

With two box plots side by side, a choice says the group with the higher median line also has the higher mean. The plots show medians only.

What to do: Find the mark that proves the statement. If there isn't one, the choice can't be supported.

“There is not enough information” is right only when the display lacks what you need, like a mean from a box plot. It's never right when the full lists are printed.

Comparing standard deviations

Standard deviation measures how far the values usually sit from their mean. On the test you only compare them. These two lists both have a mean of 5 and a range of 10.

  1. Distances from 5: 5, 0, 0, 5.

    0, 5, 5, 100,\ 5,\ 5,\ 10
  2. Distances from 5: 5, 5, 5, 5.

    0, 0, 10, 100,\ 0,\ 10,\ 10

The more the values bunch up near the mean, the smaller the standard deviation.

Right
0, 5, 5, 10 has a smaller standard deviation than 0, 0, 10, 10.
Wrong
0, 5, 5, 10 has the same standard deviation as 0, 0, 10, 10.

Two values in the first list sit right on the mean. Range uses only the two ends.

Trap: Spread judged from the ends

When four lists all run from 0 to 10, a list like 0, 1, 1, 9, 9, 10 looks no wider than the others, but every value sits at least 4 from its mean of 5.

What to do: Find each list's center, then ask which one has more values far from it.

If a question prints one histogram and describes another in words, sketch the second beside the first. The one with more values in the middle bars has the smaller standard deviation.

Worked example
100%
Bar graph of blast-hole spacing frequencies. For spacings 14, 16, 18, 20, and 22 feet, Line A has frequencies 1, 4, 0, 4, and 1; Line B has 3, 3, 0, 0, and 1; and Line C has 2, 1, 12, 1, and 2.

At Iker's quarry, the graph gives blast-hole spacings for lines A, B, and C. Line D's spacings are 14 and 22 feet.

Which line has the smallest standard deviation in spacing?

  1. A

    Line A

  2. B

    Line B

  3. C

    Line C

  4. D

    Line D

Show the answer
  • A

    Line A

    This choice judges spread from the endpoint frequencies while overlooking the four spacings at both 16 and 20 feet. All four lines have the same range, and Line A has substantial frequency away from its mean.

  • B

    Line B

    This choice uses Line B's smaller The middle value once the numbers are put in order.Read the lesson as evidence of a smaller How spread out a set of numbers is around its average.Read the lesson. The median describes the center, so a smaller median does not mean the data are less spread out.

  • C

    Line C

    Correct answer

    Line C is centered at 18 feet, and 12 of its 18 spacings equal 18. Its variance is 44, which is smaller than the variances for lines A, B, and D, so it has the smallest How spread out a set of numbers is around its average.Read the lesson.

  • D

    Line D

    This choice treats having only two observations as a guarantee of less spread. The observations 14 and 22 are each 4 feet from their mean, producing a larger How spread out a set of numbers is around its average.Read the lesson than Line C's.

Solution

Compute each line's variance, since the line with the smallest variance also has the smallest How spread out a set of numbers is around its average.Read the lesson.

Line A is symmetric about 18, so its mean is 18. Its squared deviations from the mean sum to 1(14−18)2+4(16−18)2+4(20−18)2+1(22−18)2=641(14-18)^2+4(16-18)^2+4(20-18)^2+1(22-18)^2=64, and there are 10 values, so its variance is 6410=6.4\frac{64}{10}=6.4.

Line B has mean 3(14)+3(16)+1(22)7=16\frac{3(14)+3(16)+1(22)}{7}=16. Its squared deviations sum to 3(14−16)2+3(16−16)2+(22−16)2=483(14-16)^2+3(16-16)^2+(22-16)^2=48, and there are 7 values, so its variance is 487\frac{48}{7}.

Line C is symmetric about 18, so its mean is 18. Its squared deviations sum to 2(14−18)2+(16−18)2+12(18−18)2+(20−18)2+2(22−18)2=722(14-18)^2+(16-18)^2+12(18-18)^2+(20-18)^2+2(22-18)^2=72, and there are 18 values, so its variance is 7218=4\frac{72}{18}=4.

Line D has mean 14+222=18\frac{14+22}{2}=18, and its variance is (14−18)2+(22−18)22=16\frac{(14-18)^2+(22-18)^2}{2}=16. Since 44 is the smallest variance, Line C has the smallest standard deviation.

Adding or removing one value

The values 23,28,32,37,4523, 28, 32, 37, 45 have a mean of 33. Add one more value, 9.

  1. Old total: mean times count.

    33×5=16533\times5=165
  2. Add the new value.

    165+9=174165+9=174
  3. Divide by the new count, 6.

    174÷6=29174\div6=29

A new value below the old mean pulls the mean down, and one above it pulls the mean up.

Right
The new mean is 174 ÷ 6 = 29.
Wrong
The new mean is (33 + 9) ÷ 2 = 21.

The old mean stands for five values. The 9 is one value out of six.

Trap: The old count

34.8 is a choice because it divides 174 by the old count, 5.

What to do: Write the new count beside the new total before you divide.

Mean after adding one value

New mean=old mean+new value−old meannew count \text{New mean}=\text{old mean}+\frac{\text{new value}-\text{old mean}}{\text{new count}}

Here that's 33+9−336=33−4=2933+\frac{9-33}{6}=33-4=29.

  1. For the median, the 9 goes first and the old values move up one place.

    9, 23, 28, 32, 37, 459,\ 23,\ 28,\ 32,\ 37,\ 45
  2. Six values, so average the 3rd and 4th.

    28+322=30\frac{28+32}{2}=30

The mean fell 4, but the median went only from 32 to 30. The median moves one place at most, however far away the new value is.

Trap: One far value moves everything equally

A choice says the mean and the median both fell by 4. Another says the mean rose, though 9 is below 33.

What to do: Let the new value set the mean's direction, then find the new middle places for the median.

To remove a value, take it out of the total and divide by one fewer. The middle places shift back by one.

Worked example
100%
Dot plot of weekly new subscribers: one week at 400, two at 420, four at 440, one at 460, four at 480, two at 500, and one at 520.

The dot plot summarizes weekly new-subscriber counts for a streaming service over 15 weeks. Data set P consists of these counts. Data set Q contains these same counts plus 1,420 new subscribers recorded during a promotional week.

Which of the following correctly compares the means and the medians of data sets P and Q?

  1. A

    From P to Q, both the mean and the median increase, but the mean increases more.

  2. B

    From P to Q, the mean and the median increase by the same amount.

  3. C

    From P to Q, the mean increases, while the median remains unchanged.

  4. D

    From P to Q, the mean remains unchanged, while the median increases.

Show the answer
  • A

    From P to Q, both the mean and the median increase, but the mean increases more.

    Correct answer

    The mean increases from 460460 to 520520, a gain of 6060. The The middle value once the numbers are put in order.Read the lesson increases from the eighth value, 460460, to the average of the eighth and ninth values, (460+480)/2=470(460+480)/2=470, a gain of 1010. Both increase, and the mean increases more.

  • B

    From P to Q, the mean and the median increase by the same amount.

    This assumes the high added count increases the The middle value once the numbers are put in order.Read the lesson by the same amount as the mean. The mean increases by 6060, while the change in the middle positions increases the median by only 1010.

  • C

    From P to Q, the mean increases, while the median remains unchanged.

    This assumes an added extreme value cannot change the The middle value once the numbers are put in order.Read the lesson. Adding a sixteenth value makes the median the average of the eighth and ninth values, 460460 and 480480, so it rises to 470470.

  • D

    From P to Q, the mean remains unchanged, while the median increases.

    This swaps the roles of the two measures, treating the mean as the one an extreme value cannot move. The added week raises the total to 8,3208{,}320 across 1616 weeks, so the mean rises from 460460 to 8,320/16=5208{,}320/16=520. That is a larger gain than the The middle value once the numbers are put in order.Read the lesson’s rise from 460460 to 470470.

Solution

For data set P, the total is 400+2(420)+4(440)+460+4(480)+2(500)+520=6,900400+2(420)+4(440)+460+4(480)+2(500)+520=6{,}900. Its mean is 6,900/15=4606{,}900/15=460. With 1515 values in order, the The middle value once the numbers are put in order.Read the lesson is the eighth value, 460460.

Adding the promotional week gives data set Q a total of 6,900+1,420=8,3206{,}900+1{,}420=8{,}320 across 1616 weeks. Its mean is 8,320/16=5208{,}320/16=520. The added value goes at the end of the ordered list, so the eighth and ninth values remain 460460 and 480480. The new median is (460+480)/2=470(460+480)/2=470.

The mean increases by 520−460=60520-460=60, and the median increases by 470−460=10470-460=10. Both increase, but the mean increases more.

Some questions describe a set without listing it. Data set M has 40 whole numbers, each between 300 and 400. Data set N is M plus the number 25. Must the mean be less for N? Must the median?

  1. 25 is below every value in M, so N's mean must be less.

    25<30025\lt300
  2. M's median averages its 20th and 21st values.

    40 values40 \text{ values}
  3. N's median is its 21st value. The 25 comes first and pushes M's values up one place, so that's M's 20th.

    41+12=21\frac{41+1}{2}=21

If M's 20th and 21st values are equal, the medians are equal. Only the mean must be less.

Changing every value

Adding the same number to every value slides the list along. Add 10 to each value in 2,5,92, 5, 9.

  1. Median 5, range 7.

    2, 5, 92,\ 5,\ 9
  2. Median 15, range still 7.

    12, 15, 1912,\ 15,\ 19

Adding kk to every value adds kk to the mean, median and mode. The range, IQR and standard deviation stay the same.

Right
After 10 is added to every value, the range is still 7.
Wrong
After 10 is added to every value, the range is 17.

Both ends moved up 10, so the distance between them didn't change.

Multiplying every value spreads the list out. Multiply each value in 2,5,92, 5, 9 by 3.

  1. Median 15, range 27−6=2127-6=21.

    6, 15, 276,\ 15,\ 27
  2. The range tripled too.

    21=3×721=3\times7

Multiplying every value by a positive kk multiplies the mean, median, range, IQR and standard deviation by kk.

Right
After every value is multiplied by 3, the range is 21.
Wrong
After every value is multiplied by 3, the range is still 7.

Multiplying triples every gap between two values.

Trap: A shift mixed up with a stretch

A choice says the range grew after 10 was added to every value, or stayed the same after every value was tripled.

What to do: Check whether the question adds or multiplies, and if you're unsure about the spread, try two numbers.

Some questions add a twist:

  • Medians and ranges compared together. Settle the medians first, then the ranges.
  • A hidden multiplier. If every value was multiplied by the same number and the mean went from 12 to 48, the number is 48÷12=448\div12=4. A range of 9 becomes 36.
  • A correction in words. If every value in a table is 4 less than the real amount, add 4 to every value, or add 4 once to the table's mean.
  • Two dot plots with the same shape, one farther along the axis, are a shift, so their standard deviations are equal.

Finding a missing value

Seven values add to 300. With an eighth value, the mean of all eight is 45. What's the eighth?

  1. Total for all eight: mean times count.

    45×8=36045\times8=360
  2. Take away the seven you have.

    360−300=60360-300=60

The total is the mean times the count. Subtract the values you know.

Right
The total is 45 × 8 = 360, so the eighth value is 60.
Wrong
The total is 45 × 7 = 315, so the eighth value is 15.

The mean of 45 is for all eight values.

Eleven values add to 560. A 12th value, a whole number strictly between 60 and 75, makes the mean of all 12 a whole number. What's the 12th value?

  1. Add 60 and 75 to 560.

    620<total<635620\lt\text{total}\lt635
  2. The total must divide evenly by 12. 612 is too small and 636 too big.

    624=12×52624=12\times52
  3. Take away the 11 values you know.

    624−560=64624-560=64

Some questions put letters in the list. a,14,b,22,ca, 14, b, 22, c is in order from least to greatest, with median 18, range 30 and mean 20. Find aa and cc.

  1. The median is the middle value, and bb is in the middle.

    b=18b=18
  2. The range is largest minus smallest.

    c−a=30c-a=30
  3. The total is mean times count.

    a+14+18+22+c=20×5a+14+18+22+c=20\times5
  4. Work out 20×5=10020\times5=100, then subtract 14+18+22=5414+18+22=54.

    a+c=46a+c=46
  5. Add this to c−a=30c-a=30. The aa terms cancel.

    2c=762c=76
  6. Divide by 2, then a=46−38a=46-38.

    c=38, a=8c=38,\ a=8

Start with the median, since it hands you a letter for free.

If the letters sit in a frequency table, write the full list with every repeat before you look for the middle place.

When Desmos helps

Desmos helps with a short printed list. In Bluebook the graph is on top and the lines you type on are below it.

Statistics of a short list

  1. Type mean([2,3,3,4,13]) on a line. It prints 5.
  2. Type median([2,3,3,4,13]) on the next line. It prints 3.
  3. For a frequency table or dot plot, type every repeat, like 30,30,30,30.
  4. To compare spreads, type stdev([0,5,5,10]) and stdev([0,0,10,10]) on separate lines and compare the results.

Typing repeats pays for about 20 values or fewer. Skip Desmos for box plots, histograms and sets described in words, and for questions that change every value. The Desmos data and regression lesson goes further.

Practice

If two data sets are compared, say in one line what changed.

Try it

5 questions on this skill, with every choice explained.

Start the drill

Next steps