Where the Middle Sits
Mean, median, and mode each name a different notion of a typical value, and a skewed distribution is exactly what makes them disagree. · 12 min
Ask for the typical value of a dataset and you have asked an ambiguous question. There are three precise answers, and they usually differ. The mean is the balance point: add every value, divide by how many. The median is the middle by position: line the values up and take the one in the center. The mode is the most frequent value. On a tidy, balanced dataset the three nearly coincide, so the ambiguity hides. This folio is about the case where it does not — and about choosing the answer that tells the truth.
Guess before you learn
A small street has nine households. Eight earn modest, similar incomes; the ninth is a family whose income is twenty times the rest. Which single number better describes a typical income on the street?
The median. One enormous income drags the mean far above what any of the eight ordinary households actually earns, while the median stays with the middle house. If you expected the two to agree, keep the pencil mark — the whole point of a skew is that they part ways, sometimes by a lot.
9–12
3–5
There are three ways to say what is typical. The average: pour everyone's counters into one pile, then share them out evenly. The middle: line the numbers up and point to the one in the center. The most common: the number that shows up the most times.
Usually these three land close together. But one giant number can pull the average up while the middle barely moves — the average feels one huge value, and the middle does not.
6–8
The mean adds all values and divides by the count — the fair-share figure. The median is the middle value once the data are sorted; with an even count, average the two middle values. The mode is simply the value that occurs most often, and it is the only center that works on categories.
Because the mean uses every value's exact size, it is sensitive: a single very large or very small value shifts it. The median uses only position, so it hardly notices one extreme value. That difference is the heart of the next section.
9–12
The three centers answer different questions. The mean, x̄ = (Σx)/n, is the balance point of the data — the value about which the deviations sum to zero. The median is the 50th percentile, the value with half the data on each side. The mode is the most frequent value, the peak of the distribution. On a symmetric single-peaked shape all three coincide; asymmetry pulls them apart in a predictable order.
The mean is not resistant: because it weighs every value by its actual magnitude, a lone outlier or a long tail drags it toward the extreme. The median depends only on rank, so it is resistant — an outlier can grow without bound and the median stays put. This is why a right-skewed variable like income is almost always reported by its median: the mean would describe a household that scarcely exists.
K–2
Five friends line up by height. The one right in the middle shows the middle height. That is one way to say typical.
Another way: share all the sweets equally so everyone has the same number. That equal share is the average. And the flavour the most friends picked is the most common one.
Undergrad
Each center minimises a different loss. The mean minimises squared error, argmin Σ(x − c)², which is why it is the L² center and why it inherits the fragility of squared distance. The median minimises absolute error, argmin Σ|x − c|, an L¹ center whose optimality is flat across the middle, giving its celebrated robustness. The mode maximises density. The choice of center is, quietly, a choice of loss function.
Robustness has a precise currency: the breakdown point, the fraction of the data you may corrupt before the estimate can be driven to infinity. For the mean it is 0 — one bad value suffices. For the median it is 1/2, the highest possible. For a unimodal continuous distribution the empirical ordering mode, median, mean tracks the direction of skew, a rule of thumb (Pearson) that fails for some engineered distributions but holds across most real data.
Postgrad
As functionals on a distribution F, the mean is ∫x dF, the median is F⁻¹(1/2), and the mode is argmax of the density. Their influence functions expose the robustness gap: the mean's is unbounded and linear in x, so a single far observation exerts arbitrary leverage; the median's is bounded, a sign function scaled by 1/(2f(m)), so influence saturates. The asymptotic variance of the median, 1/(4 n f(m)²), depends on the density at the center rather than on the tails.
This trade is not free. At the normal model the median's efficiency relative to the mean is 2/π ≈ 0.64 — a third more variance, the price of robustness. The craft is matching estimator to contamination: under heavy tails a median or trimmed mean wins on mean squared error; under a clean Gaussian the mean is optimal. Reporting a center assumes a model of how the data can fail.
median
The middle value of a sorted dataset — half the data lies below it, half above. With an even number of values, it is the average of the two in the middle. It is resistant: outliers barely move it.
Find the median of 4, 9, 6, 2, 8 — the steps fade as you master them
2, 4, 6, 8, 9
5 values → the 3rd is the middle
median = 6
Now watch the disagreement appear. When a distribution is skewed — stretched into one long tail — the mean is pulled toward the tail while the median stays near the bulk of the data. In a right skew (a tail of large values, like incomes or house prices) the mean sits above the median. In a left skew (a tail of small values, like exam scores near a ceiling) the mean sits below it. Before the ink draws it, place the two centers yourself.
Why is this true?
Why does the mean, and not the median, chase the tail of a skewed distribution?
Because the mean multiplies each value by its actual size before averaging, so a value far out in the tail contributes far out of proportion to its count. The median only asks which value sits in the middle position, and a single distant value cannot change who stands in the middle.
A center alone still hides half the story. Two datasets can share a mean of 50 and yet be nothing alike — one clustered tight, one flung wide. Next folio measures that width: the spread, and how differently its three rulers react to a single wild value.
Practice — new ink and old, interleaved
1.Before averaging any column, which must you check first?
2.A survey records each respondent's blood type (A, B, AB, O). What kind of variable is blood type?
3.Reaction times in an experiment are right-skewed by a few very slow trials. Which center should the report headline?
4.Without looking back: name the four levels in order, and give the lowest level on which a mean becomes legal.
Nominal, ordinal, interval, ratio; the mean first becomes legal at interval and stays legal at ratio.
How close were you? Grade yourself honestly — it sets your review date.
5.Find the mean of 12, 15, 18, 21, 24.
6.Put these variables in order of measurement level, from lowest to highest.
- Team name
- Class rank
- Calendar year
- Height in centimetres
7.A form asks for your number of siblings. What is this variable?
8.Without looking back: state how to find a median, and why it beats the mean for skewed data.
Sort the values and take the middle one; it beats the mean under skew because it depends only on position, so a long tail or outlier cannot pull it.
How close were you? Grade yourself honestly — it sets your review date.
9.A survey answer runs from strongly disagree to strongly agree — an ordinal variable. Which measure of center is defensible?