Two classes take the same quiz. One class of 20 averages 80 points and the other class of 30 averages 70. It is tempting to say the combined average is 75, right in the middle. But the larger class pulls harder, and the true combined average is 74. Getting that right comes down to one habit, which is to think in totals and counts rather than in averages alone.
Key terms
Mean
Definition The mean of numbers is their sum divided by how many there are,
It is also called the arithmetic mean or the average.
In plain words Add everything up and share it out equally. The mean is the amount each observation would have if the total were split evenly.
Example For the five values the sum is , so the mean is .
Total
Definition The total of a data set is the sum of all its observations. From the definition of the mean, for observations,
This turns any statement about a mean into a statement about a total, which is often the easier quantity to work with.
In plain words If you know the average and the count, you know the sum. When values are added or removed, update the total and the count, then divide again.
Example A student’s five quiz scores have mean , so their total is . What sixth score would raise the mean to ? Six scores with mean need a total of , so the sixth score must be
Median
Definition The median of a data set is found by sorting the values from least to greatest. If is odd, the median is the value in position . If is even, it is the mean of the values in positions and . At least half of the values are less than or equal to the median and at least half are greater than or equal to it.
In plain words Line the values up in order and take the middle one, or the average of the middle two when there is no single middle.
Example The values must be sorted first, giving . There are six values, so the median is the mean of the third and fourth,
Taking the middle of the unsorted list would give or , both wrong.
Frequency tables
Definition In a frequency table each distinct value appears once with its frequency , the number of observations equal to . The number of observations is , and the mean is
The median is found by counting through the frequencies to the middle position.
In plain words Each value counts as many times as it occurs. Multiply each value by its frequency to get the total, and divide by the number of observations, not by the number of rows.
Example Twenty people rate a film from to .
| Rating | ||||
|---|---|---|---|---|
| Frequency |
The total is , so the mean is . For the median, positions to are ratings of , positions to are and positions to are . The tenth value is and the eleventh is , so the median is .
Weighted mean
Definition If numbers have positive weights , their weighted mean is
When groups of sizes have means , the mean of all the observations together is the weighted mean of the group means with the group sizes as weights. The plain average of the group means is correct only when every group has the same size.
In plain words Bigger groups count for more. Rebuild each group’s total, add the totals, and divide by everyone.
Example A class of has mean and a class of has mean . The totals are and , so the combined mean is
The unweighted guess of treats the two classes as if they were the same size. The true answer sits closer to because more students scored around .
Outlier
Definition An outlier is an observation that lies unusually far from the rest of the data. There is no single universal cutoff. One common rule calls a value an outlier when it is below or above , where and are the quartiles and . Because the mean uses the size of every value, an outlier can move it a lot. The median depends only on which values sit in the middle positions, so changing an extreme value does not change the median at all as long as that value stays on the same side of the middle values.
In plain words One very large or very small value drags the mean toward it, while the median barely notices. That is why the median is often preferred for data such as incomes or home prices.
Example The eight values have total , mean and median . Replace with . The total becomes and the mean becomes , higher than seven of the eight values. The middle two values are still and , so the median stays . Taking the quartiles as the medians of the lower four and upper four values of the new data gives and , so the upper cutoff is and is an outlier by the common rule.
Check yourself
- A survey of households found households owning pets, owning , owning and owning . What is the mean number of pets per household? (A) (B) (C) (D)
Show the answer
The correct choice is (B). The total number of pets is , and
Choice (A) is the median, (C) averages the values to without their frequencies, and (D) averages the frequencies.
- The mean of six numbers is . Five of the numbers are , , , and . What is the sixth number?
Show the answer
The answer is . Six numbers with mean have total . The five known numbers add to , so the sixth is .
- In a survey, adults slept a mean of hours and teenagers slept a mean of hours. What is the mean number of hours for all people? (A) (B) (C) (D)
Show the answer
The correct choice is (C). The totals are and , so the combined mean is
Choice (B) ignores the group sizes, and (A) swaps them, giving the larger weight to the adults. Choice (D) is the mean of the teenagers alone, which leaves out the adults. The answer must lie between and , closer to because there are more teenagers.