Statistics
🔒 Log in to trackMedian and mode of raw data
🔒 Log in to trackThe median is the middle value after you sort the list: half the values sit below it, half above.
The mode is the value that appears most often. A list has one middle and one most-frequent value, and exam questions mostly test how each behaves when the list changes.
Median: the middle seat
Sort the values. The median is the middle one.
- Odd count: the value at position .
- Even count: the average of the two middle values, positions and .
List 12, 5, 9, 17, 3, 11, 7 sorts to 3, 5, 7, 9, 11, 12, 17. Seven values, so the median is the 4th: 9.
List 4, 8, 15, 16, 23, 42 has six values. Median .
Rule: Sort first, always. The median of an unsorted list is the most common wrong answer in this chapter.
Mode: the crowd favourite
The mode is the value with the highest count. No sorting needed, just tally.
4, 7, 9, 7, 11, 4, 7, 2: the count of 7 is three, every other value appears at most twice. Mode = 7.
A list can have two modes (7 and 4 each appearing three times) or no mode at all (every value once).
Tip: Mode is the only average that must be a value from the list. Mean and median can be numbers that are not in the list.
The empirical relation
For data that is mildly lopsided (like marks or incomes), the three averages follow one rough rule:
Mean 30, median 32: mode . It also rearranges: median .
Watch: This is an estimate, not an identity. Use it only when two of the three averages are given and the third is asked.
The relation, rearranged
Any one of the three can be the unknown.
Mean 27, mode 45: median .
Sanity check: mean 27 < median 33 < mode 45 rises steadily, the shape the formula assumes.
Tip: After solving, place the three values in order. If they do not rise or fall together, redo the arithmetic.
When every value is transformed
Add the same number to every value: mean, median and mode all shift by that number.
Multiply every value by : all three get multiplied by .
Median 15, then every value is doubled and 1 is added: new median .
Rule: The median follows the same shift and scale as the values themselves.
A missing value from the median
The median pins one value of the sorted list, so it can pin an unknown.
Seven values: 10, 12, 13, , 20, 22, 25. With seven entries the median is the 4th, which is itself:
Example: With an even count the two middle entries average to the median, so their sum is median.
Question types you will see
Each type: how to recognise it, the method step by step, and one question to try.
Median of a raw list
A jumbled list of values is given; the middle value is asked.
Sort the values in rising order.
Find the middle position: .
Even count: average the two middle values.
Sorting places half the values on each side of the answer.
Find the median of 12, 5, 9, 17, 3, 11 and 7.
Show solutionHide solution
Sorted: 3, 5, 7, 9, 11, 12, 17.
, so the median is the 4th value.
4th value .
9
Mode of a raw list
A list with repeats is given; the most frequent value is asked.
Tally how often each value appears.
Pick the value with the highest count.
Two ties means two modes; all equal means no mode.
The mode counts frequency only; size and order do not matter.
Find the mode of 4, 7, 9, 7, 11, 4, 7, 2.
Show solutionHide solution
Counts: 7 appears 3 times, 4 appears twice.
All other values appear once.
Highest count is 7.
7
Empirical relation
Two of mean, median, mode are given; the third is asked.
Write the relation.
Substitute the two known averages.
Solve for the third.
The three averages keep a fixed rough spacing in mildly skewed data.
For a distribution, the mean is 30 and the median is 32. Using the empirical relation, the mode is:
Show solutionHide solution
.
.
36
Median under a shift or scale
Every value of a list is doubled, halved or shifted; the new median is asked.
Find (or note) the median of the original list.
Apply the same multiply and add to that median.
Order of operations: scale first, then shift.
The middle position does not move when all values move together.
The median of a list is 15. Each value is doubled and then 1 is added to it. The new median is:
Show solutionHide solution
New median .
.
31
A missing value fixed by the median
A list contains x or an expression in x; the median is given.
Sort so the unknown's slot is clear.
Set the middle entry (or the middle pair's average) equal to the median.
Solve for x.
The median names one exact entry of the sorted list when n is odd.
The median of 10, 12, 13, , 20, 22, 25 is 15. Find x.
Show solutionHide solution
Seven values, so the 4th value is the median.
The 4th value is .
.
x = 11
Formula sheet
Position in the sorted list.
Rough rule for mildly skewed data; rearrange for any missing one.
Shortcuts that save time
For odd n, the median sits at position (n+1)/2 of the sorted list. Count to that position instead of scanning for the middle by eye.
Find the median of 3, 5, 7, 9, 11, 12, 17.
Show solutionHide solution
, position .
4th value of the sorted list is 9.
9
You only need the middle order statistics. In a long list, quickly bucket values as low or high; full sorting wastes time.
Find the median of 4, 8, 15, 16, 23, 42.
Show solutionHide solution
Six values: average the 3rd and 4th.
Here 15 and 16 are already the middle pair: .
15.5
Mistakes to avoid
Where most students lose marks on this subtopic.
Taking the middle of the list as given, without sorting.
Sort first; the given order is usually shuffled on purpose.
Reporting the lower of the two middle values when n is even.
Average the two middle values.
Using the empirical relation on very lopsided data and expecting exactness.
Treat it as an estimate; it fits mildly skewed data.
Forgetting that a new value can change the count from odd to even.
Recheck parity after any value is added or removed.
Calling the tallest bar's value the median in a table.
That value is the mode; the median needs cumulative counting.
Quick revision
Read this the night before the exam.
Median: sort, then middle value; even averages the middle pair.
Mode: highest frequency; it must be a value from the list.
Mode Median Mean (estimate).
Median .
Shift by : all averages shift by ; scale by : all scale by .
A missing middle entry equals the median itself (odd n).
Practice: 14 questions
Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.
Topic test · 10 questions
Suggested time 5 min · wrong answers go to your mistake notebook automatically.