Math · Problem Solving and Data Analysis

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

Explanation

One-variable data analysis looks at a single set of numbers to find the average, see how spread out the values are, and understand the overall shape of the data.

Basic Measures of Center and Spread

  • Mean: The total sum of all numbers divided by how many numbers there are (the average).

    Example: For {2,4,6,8,10}\{2, 4, 6, 8, 10\}

    Mean =305=6= \frac{30}{5} = 6.


  • Median: The middle number when all values are listed in order from smallest to largest.

    Example: For {3,5,8,12,14}\{3, 5, 8, 12, 14\}, the middle number is 88.


  • Mode: The number that shows up most often in the dataset.

    Example: For {2,3,3,5,7}\{2, 3, 3, 5, 7\}, the mode is 33.


  • Range: The difference between the highest value and the lowest value.

    Example: For {4,7,10,25}\{4, 7, 10, 25\}, Range =25−4=21= 25 - 4 = 21.


  • Standard Deviation: A measure of how close or far the numbers are spread out from the mean.

    Example: {10,10,10}\{10, 10, 10\} has a standard deviation of 00 (no spread), while {2,10,18}\{2, 10, 18\} has a large standard deviation (widely spread).


The Effect of Outliers

An outlier is an extreme value that is much higher or much lower than the rest of the numbers in a dataset.

  • Effect on the Mean: Heavily affected. Outliers pull the mean toward the extreme value, making it less representative of the typical data.

    Example: For dataset {10,12,14,14,15}\{10, 12, 14, 14, 15\}, mean =13= 13. Adding an outlier of 100100 gives {10,12,14,14,15,100}\{10, 12, 14, 14, 15, 100\}, spiking the new mean to 27.527.5.

  • Effect on the Median: Barely affected. Because the median only looks at the middle position, extreme values at the ends do not change it much.

    Example: For {10,12,14,14,15}\{10, 12, 14, 14, 15\}, median =14= 14. With the outlier 100100, the set becomes {10,12,14,14,15,100}\{10, 12, 14, 14, 15, 100\}, making the new median 14+142=14\frac{14 + 14}{2} = 14.

  • Effect on the Range: Heavily affected. Since range depends directly on the maximum and minimum values, an extreme outlier increases the range dramatically.

    Example: Original range for {10,12,14,14,15}\{10, 12, 14, 14, 15\} is 15−10=515 - 10 = 5. With the outlier 100100, the new range becomes 100−10=90100 - 10 = 90.

Example 1

A vending machine technician records the number of bags of pretzels sold from a machine on 9 different days: 14, 18, 9, 22, 18, 15, 30, 18, 20. What is the median number of bags sold on these 9 days?
A
15
B
18
C
20
D
22
Choice B is correct. Ordering the 9 values from least to greatest gives 9, 14, 15, 18, 18, 18, 20, 22, 30. Since there is an odd number of values, the median is the middle (5th) value in this ordered list, which is 18. Choice A is incorrect; 15 is the 3rd value in the ordered list, not the middle value. Choice C is incorrect; 20 is the 7th value in the ordered list, not the middle value. Choice D is incorrect; 22 is the 8th value in the ordered list, not the middle value.

Example 2

Effect of the transformation on spread around the medianOriginal datamedian = mean = 5013 values below13 values abovesubtract 6 from values below the median; add 6 to values above the medianNew datamedian still 50, but values now farther spread out
A data set of 27 different numbers has a mean of 50 and a median of 50. A new data set is created by adding 6 to each number in the original data set that is greater than the median and subtracting 6 from each number that is less than the median. Which measure does NOT have the same value in both the original and new data sets?
A
Median
B
Mean
C
Sum of the numbers
D
Standard deviation
Choice D is correct. With 27 different numbers, 13 values lie below the median, one value equals the median exactly, and 13 values lie above the median. Subtracting 6 from each of the 13 lower values and adding 6 to each of the 13 upper values pushes every non-median value farther from the median (and therefore farther from the mean, since the mean equals the median here). Since standard deviation measures the typical distance of values from the mean, this increased spread means the standard deviation is different in the new data set. Choice A is incorrect; every value below the median decreases and every value above increases, but the middle value itself is untouched, so the median stays 50. Choice B is incorrect; subtracting 6 from 13 values and adding 6 to 13 other values produces a net change of 0, so the sum, and therefore the mean, is unchanged. Choice C is incorrect for the same reason as Choice B: the net change in the sum of all values is 0.

Tips for solving

  1. Pick the median when a dataset has extreme outliers.

    Example: House prices in a neighborhood are $200k,$210k,$220k\$200\text{k}, \$210\text{k}, \$220\text{k}, and one mansion worth $2,000k\$2,000\text{k}.

    • The mansion pulls the mean up to $657.5k\$657.5\text{k}, which is misleading.

    • The median ($215k\$215\text{k}) accurately represents typical home prices.

  2. Understand how adding or multiplying values changes center and spread.

    Example: Adding $5\$5 to every item price vs. doubling every item price.

    • Adding $5\$5: Mean and median increase by $5\$5, but range and standard deviation stay the same.

    • Doubling prices: Both center (mean/median) and spread (range/standard deviation) double.

  3. Compare standard deviation by looking at how far numbers sit from the center.

    Example: Set A={4,5,5,6}A = \{4, 5, 5, 6\} vs. Set B={1,5,5,9}B = \{1, 5, 5, 9\}.

    • Both sets have a mean of 55.

    • Set BB has a larger standard deviation because 11 and 99 sit much farther from 55 than 44 and 66.

Practice questions

00:00
Question 1 · easy
What is the median of the data set 3,5,5,7,9,10,123, 5, 5, 7, 9, 10, 12?
Question 2 · easy
What is the mean of the data set 4,6,8,10,124, 6, 8, 10, 12?
Question 3 · easy
What is the mode of the data set 2,3,3,5,5,5,72, 3, 3, 5, 5, 5, 7?
Question 4 · easy
Shoe sizeFrequency
72
85
93
101
The frequency table shows the shoe sizes of 1111 customers at a shoe store. What is the mode of the shoe sizes?
Question 5 · easy
Daily battery charge over 16 days0123456089111623Number of daysCharge (kWh)
The bar graph summarizes the charge, in kilowatt-hours, a battery received each day for 1616 days. For how many of these days did the battery receive a charge of 2323 kilowatt-hours?
Question 6 · easy
What is the range of the data set 12,4,18,9,712, 4, 18, 9, 7?
Question 7 · easy
Each of the following frequency tables summarizes a data set of 88 values. Which table represents a data set with a mean of 66?
Question 8 · easy
Wingspans of two groups of hawks (cm)0510152025303540Group 1Group 2
The box plots summarize the wingspans, in centimeters, of two groups of hawks. Based on the box plots, which of the following is true?
Question 9 · easy
Three numbers have a mean of 1212. Two of the numbers are 1010 and 1414. What is the third number?
Question 10 · easy
Data set P has a standard deviation of 33, and data set Q has a standard deviation of 99. Both data sets have the same mean. Which statement is true?