Compute center, spread, the five-number summary and outliers by hand for small datasets, one step at a time
A white Casio calculator
Credit: Photo by Annie Spratt on Unsplash
The last three readings gave you the formulas. This lesson puts them to work on small datasets you can handle with pencil, paper and a basic calculator. Try each one before reading the solution.
Seven students scored 6, 9, 4, 10, 8, 9 and 3 on a 10-point quiz. Find the mean, median and mode.
Step 1 — Mean. Add the values: . Divide by :
Step 2 — Median. Sort first: 3, 4, 6, 8, 9, 9, 10. With 7 values the median is the 4th one: 8.
Step 3 — Mode. The value 9 appears twice and every other value once, so the mode is 9.
Check: The two low scores (3 and 4) pull the mean below the median, which is what a left tail does.
A student timed six commutes in minutes: 12, 15, 9, 18, 21, 15. Find the sample variance and standard deviation.
Step 1 — Mean. , so .
Step 2 — Deviation table.
| 12 | 9 | |
| 15 | 0 | 0 |
| 9 | 36 | |
| 18 | 3 | 9 |
| 21 | 6 | 36 |
| 15 | 0 | 0 |
| Sum | 0 | 90 |
Step 3 — Divide by : .
Step 4 — Square root: minutes.
Check: The deviations must add to 0. They do, so the mean was right.
Trap: Dividing by instead gives and . That is the POPULATION formula. These six commutes are a sample of all the student's commutes, so divide by .
Ten daily step counts (in thousands), sorted: 4, 7, 8, 10, 11, 12, 13, 15, 16, 31. Find the five-number summary and test for outliers with the 1.5 × IQR rule.
Step 1 — Quartiles, using the position rule with :
Step 2 — Summary: min 4, , median 11.5, , max 31.
Step 3 — Fences. and . Lower fence ; upper fence . Only 31 lies outside, so it is the one outlier.
Step 4 — What the outlier does. The values sum to 127, so the mean is . Drop the 31: the sum is 96 over 9 values, a mean of about , while the median moves only from 11.5 to 11 (the 5th of 9 values).
Check: One extreme value moved the mean by about 2 and the median by 0.5, which is why the median is called resistant.
Return to the commutes from Problem 2 (mean 15, minutes).
(a) Road work adds 5 minutes to every commute. Every value and the mean go up by 5, so each deviation is unchanged: new mean 20, SD still 4.24 minutes.
(b) The original times are converted to seconds (multiply by 60). Every deviation is multiplied by 60, so the mean becomes seconds and the SD becomes seconds. The variance is multiplied by : .
Check: , which matches the SD.
2 quick checks in this lesson
Check 1 of 2
Find the sample standard deviation of 3, 5, 7, 9.
Check 2 of 2
Sorted data: 2, 5, 6, 7, 8, 9, 10, 22. Using the lesson's position rule and the 1.5 × IQR rule, what is the upper fence?