Revise the key ideas
Typical values
- Arithmetic mean — Add every value then divide by the number of values. For 2, 4 and 9 minutes the mean is 5 minutes. The result need not be an observed value. Show the sum and count and keep unrounded intermediate values for further calculation.
- Median — Order the data; the median is the middle value, or mean of the two middle values for an even count. For 3, 4, 8 and 11 it is 6. Ordering is essential; the middle value in the original recording order is not generally the median.
- Mode and modal class — The mode is the most frequent value or category; there can be several tied modes or no unique mode. For equal-width classes, a modal class is the interval with greatest frequency, not its midpoint. Clothing sizes often suit a mode because a non-existent average size may be unhelpful.
- Frequency-table mean — Multiply each value x by its frequency f, sum fx and divide by total frequency: mean = Σfx / Σf. Values 2 and 5 with frequencies 3 and 2 give total 16 and count 5, so mean 3.2. Do not divide by the number of rows.
Σ means add up. Σfx adds all the value × frequency products, while Σf adds the frequencies to give the total count.
Frequency-weighted arithmetic mean. Original illustrative diagram; numerical datasets are fictional worked examples. Enlarge diagram - Grouped mean estimate — Use each class midpoint as a representative value, then calculate Σfm / Σf. Classes 0–10 and 10–20 with frequencies 2 and 3 give (2×5 + 3×15)/5 = 11. This estimates the mean because positions inside classes are unknown.
Here m is the class midpoint, halfway between its boundaries. For 10–20, m = (10 + 20) ÷ 2 = 15.
- Grouped median — Find the middle observation's cumulative position and identify its class. Estimate its position using a cumulative-frequency graph or linear interpolation (estimating a position within the class by assuming an even spread). Foundation calculations use equal-width classes. The class midpoint is not automatically the median when the cumulative position is off-centre.
- Choose an average — The median resists a few extreme observations and suits skewed income or waiting-time data; the mean uses all measurements and pairs with standard deviation (SD), a measure of spread introduced in Higher work. The mode handles categories. Explain the choice for the data and purpose instead of always claiming one average is best.
- Compare centres — Say which group has a higher typical value, quote both appropriate averages and interpret the difference with units. Use comparable definitions and collection periods. A difference between sample means is evidence to discuss, not proof that every member differs or that one factor caused it.
- Changes to data — Adding a value above the current mean raises it; removing a below-mean value also raises it. Recalculate the total and count rather than averaging old and new means equally. The median and mode may stay unchanged or change depending on positions and frequencies.
- Transformations — Adding c to every numerical observation adds c to mean and median; multiplying by positive k multiplies them by k. Numerical modes transform likewise. A unit conversion needs the same rule for all data; changing only some records creates a different dataset.
- Median interpolation — For grouped continuous data use L + ((n/2 − cumulative frequency before)/class frequency) × width. With n=40, L=10, previous total 12, class frequency 16 and width 10, the median estimate is 15. Assume an even spread within the class and state the estimate.
L is the lower boundary of the median class and n is the total count. The cumulative frequency before counts all observations in lower classes. Here the calculation is 10 + ((20 − 12) ÷ 16) × 10 = 15.
Higher — weighted and geometric averages
- Weighted mean — A weighted mean is Σwx / Σw, where weights reflect importance or group sizes. Scores 60 and 80 weighted 1 and 3 give 75. To combine group means, use group sizes as weights; an unweighted average of means only works for equally sized groups.
Multiply each score by its weight: 60 × 1 + 80 × 3 = 300. Divide by the sum of weights, 1 + 3 = 4, to get 75.
- Geometric mean — For n positive values, geometric mean = nth root of their product. For growth factors 1.10 and 1.21 it is √1.331 ≈ 1.15369, giving about 15.37% per period. Average multiplying factors, not percentage numbers; the factors' product must be preserved.
- Unequal-width grouped averages — Higher grouped mean and median calculations can use unequal class widths. Use each class's own midpoint in a mean estimate and the actual median class width for interpolation. Do not substitute one standard width for every class or use density in place of frequency in the mean formula.