This site is a work in progress. New lessons are added regularly. Contact us

Data Distributions and Statistics

Learning goals

  • Show the mean minimizing total squared distance
  • Note the median minimizing total absolute distance
  • Explain why deviations sum to zero, forcing squares
  • Contrast sensitive measures with resistant ones
  • Build the five-number summary and the IQR
  • Divide by n1n - 1 for a sample variance, and say why

The data set and its two centers

Write a data set as a list of nn numbers, x1,x2,,xnx_1, x_2, \ldots, x_n. Two summaries claim to be its center.

The mean pools the values and shares the total out equally. Using the sigma notation from the sequences chapter, and writing it xˉ\bar{x} (read “x bar”),

xˉ=1ni=1nxi.\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i .

The median sorts the values and takes the middle one. With an odd count the middle value is a single data point. With an even count no single value is in the middle, so the median is the average of the two middle values. The mean does arithmetic on the sizes of the values; the median only cares about their order. That difference is the whole story of this lesson.

Compare two classes whose test scores both have a mean of 5050 and a median of 5050:

A={48,49,50,51,52},B={10,30,50,70,90}.A = \{48, 49, 50, 51, 52\}, \qquad B = \{10, 30, 50, 70, 90\}.

Every measure of center agrees on these two sets, and yet nobody would call them the same class. A center alone is not a summary of a data set. You also need its spread, and later its shape.

The mean balances the data

The deviation of a value is its signed distance from the mean, xixˉx_i - \bar{x}: positive above the mean, negative below. The mean is the one place where those pulls cancel exactly.

The deviations from the mean always add to zero#

Start from the definition of the mean. Multiplying xˉ=1nxi\bar{x} = \frac{1}{n}\sum x_i through by nn gives the fact we need, that the values add up to nxˉn\bar{x}.

Now add up all the deviations. The sum splits into two pieces, because xˉ\bar{x} is subtracted once for each of the nn values:

i=1n(xixˉ)  =  i=1nxi    nxˉ.\sum_{i=1}^{n} (x_i - \bar{x}) \;=\; \sum_{i=1}^{n} x_i \;-\; n\bar{x}.

The first piece is exactly nxˉn\bar{x}, so the whole thing is nxˉnxˉ=0n\bar{x} - n\bar{x} = 0.

This holds for every data set that has ever existed, which makes it both a beautiful fact and a useless measurement. If you tried to summarize spread by averaging the deviations, you would get 00 every single time, for tightly packed data and wildly scattered data alike. Any honest measure of spread has to defeat that cancellation first. Hold on to that; it is what forces the definition of variance later.

The mean is the least-squares center

Saying the mean “balances” the data is a picture. Here is a sharper claim: the mean is the single number that sits closest to the data, when “close” is measured by total squared distance. Pick any guess cc for the center and score it with

S(c)  =  i=1n(xic)2.S(c) \;=\; \sum_{i=1}^{n} (x_i - c)^2 .

The guess with the lowest score wins. The remarkable thing is that SS is a quadratic in cc, so you already know how to find its minimum.

The mean is the unique minimizer of the total squared distance#

Expand the square inside the sum and split it into three sums:

S(c)=i=1n(xi22cxi+c2)=i=1nxi2    2ci=1nxi  +  nc2.S(c) = \sum_{i=1}^{n}\left(x_i^2 - 2cx_i + c^2\right) = \sum_{i=1}^{n} x_i^2 \;-\; 2c\sum_{i=1}^{n} x_i \;+\; nc^2 .

Read that as a function of cc. The quantities xi2\sum x_i^2 and xi\sum x_i are fixed numbers baked into the data, so SS is a quadratic in cc whose leading coefficient is nn. Since n>0n > 0, the parabola opens upward and it has a genuine minimum at its vertex.

Substitute xi=nxˉ\sum x_i = n\bar{x} and complete the square:

S(c)=nc22nxˉc+i=1nxi2=n(cxˉ)2  +  (i=1nxi2nxˉ2).S(c) = nc^2 - 2n\bar{x}\,c + \sum_{i=1}^{n} x_i^2 = n\left(c - \bar{x}\right)^2 \;+\; \left(\sum_{i=1}^{n} x_i^2 - n\bar{x}^2\right).

The bracket on the right does not contain cc, so it is a constant as far as this comparison goes. The only term that responds to your guess is n(cxˉ)2n(c - \bar{x})^2, which is never negative and is zero exactly when c=xˉc = \bar{x}.

So S(c)S(c) is smallest precisely at c=xˉc = \bar{x}, and at no other value of cc. The mean is not merely a center of the data; it is the unique number whose total squared distance to the data is as small as it can possibly be.

Two consequences are worth naming now, because the rest of the lesson leans on them. First, the leftover constant xi2nxˉ2\sum x_i^2 - n\bar{x}^2 equals S(xˉ)=(xixˉ)2S(\bar{x}) = \sum (x_i - \bar{x})^2, the minimum possible total squared distance. That number is about to become the variance. Second, because the vertex sits at xˉ=1nxi\bar{x} = \frac{1}{n}\sum x_i, moving any one data value by an amount dd moves the mean by exactly dn\dfrac{d}{n}. Drag one value far enough and the mean follows it as far as you like.

Total squared distance to the data 2, 4, 9, as a function of the guess cAn upward parabola with vertex at c = 5 and minimum value 26, showing that the mean minimizes total squared distance.0246810your guess c26S = 26c = mean = 5S(c) = total squared distance
The total squared distance from the data 2, 4, 9 to a guess c is the parabola S(c) = 3c^2 - 30c + 101. It opens upward, so it has a lowest point, and that vertex sits at c = 5, the mean. The median, 4, scores 29, which is close but not the minimum.

The median is the least-absolute-distance center

Squaring is not the only way to measure how far your guess sits from the data. Measure it with plain absolute distance instead,

T(c)  =  i=1nxic,T(c) \;=\; \sum_{i=1}^{n} \lvert x_i - c \rvert ,

and a different champion wins. Not the mean: the median.

The median minimizes the total absolute distance#

Sort the data so that x1x2xnx_1 \le x_2 \le \cdots \le x_n, then pair the values from the outside in: the smallest with the largest, the second smallest with the second largest, and so on.

Take any one pair, a low value aa and a high value bb with aba \le b, and ask what that pair contributes to T(c)T(c). If your guess lands between them, so that acba \le c \le b, the two distances add to

ac+bc=(ca)+(bc)=ba,\lvert a - c\rvert + \lvert b - c\rvert = (c - a) + (b - c) = b - a,

the gap between the partners, no matter where between them cc sits. If instead c<ac < a, both distances grow and the sum becomes (ac)+(bc)=(ba)+2(ac)(a - c) + (b - c) = (b - a) + 2(a - c), which is strictly bigger than the gap. The same thing happens, by the mirror argument, if c>bc > b.

So each pair contributes at least its own gap bab - a, a number fixed by the data, and it contributes exactly that gap precisely when cc lies between the two partners. Adding over all the pairs, T(c)T(c) is at least the sum of the gaps, and that lower bound does not depend on cc at all. To achieve it, cc must lie inside every pair’s interval at once.

Those intervals are nested, each one sitting inside the one before it, so the only way to be inside all of them is to be inside the innermost one. If nn is odd, the innermost pair is the middle value paired with itself, and its interval is that single point. So when nn is odd, TT is smallest exactly when cc is the middle value: the median. If nn is even, the innermost pair is the two middle values, and every cc between them ties for the minimum. The median, the average of those two, is one of the winners, sitting at the center of the winning interval.

Be precise about that last sentence rather than glossing it. With an even count the minimizer is not unique: any number between the two middle values does equally well. The convention of averaging them simply picks the middle of a tied region. With an odd count the median is the one and only minimizer.

The two theorems together explain the entire personality of these two statistics. See them race on the tiny data set 2,4,92, 4, 9, whose mean is 55 and whose median is 44:

Guess ccTotal squared distance S(c)S(c)Total absolute distance T(c)T(c)
33383888
median =4= 429297\mathbf{7}
mean =5= 526\mathbf{26}88
66292999

Each center wins its own game and loses the other one. Neither is the “real” center. They optimize different things.

Check your understanding

For the data 2,4,92, 4, 9, a classmate claims the value cc that makes (xic)2\sum (x_i - c)^2 as small as possible is c=4c = 4, because 44 is the median. What is the actual minimizer?

Answer choices

Robustness, or why one bad value ruins the mean

Now the payoff. Return to the five houses, in thousands of dollars:

220,245,260,285,990.220, \quad 245, \quad 260, \quad 285, \quad 990.

Their total is 20002000, so the mean is 400400, while the median is the third sorted value, 260260. Four of the five houses sold for less than the mean. A statistic that overstates four sales out of five is not describing this street.

The proofs above say exactly why. The mean is the vertex of a parabola whose position is 1nxi\frac{1}{n}\sum x_i, so it is built out of the sizes of the values. Squared distance punishes a far-off point brutally: the mean has to move toward the mansion to keep that penalty down. The median is the innermost point of a nest of intervals built out of the order of the values. Sliding the largest value further out to sea changes the outermost gap, but it does not change which value is in the middle. So the innermost interval, and therefore the median, does not move at all.

A value like 990990, sitting far away from the bulk of the data, is an outlier. A statistic that an outlier can drag around is called sensitive; one it cannot is called resistant or robust. The mean is sensitive, the median is resistant, and now you know it is not a coincidence but a consequence of what each one minimizes. This is why house prices and household incomes are reported as medians in the news, and it is worth being suspicious when someone reports a mean instead.

Worked example 1 Push the outlier further and watch each center respond

The five sale prices, in thousands, are 220220, 245245, 260260, 285285, 990990, with mean 400400 and median 260260. Suppose the mansion actually sold for 19901990 thousand, a full 10001000 more than recorded. What happens to each center?

The mean moves by exactly dn\frac{d}{n} when one value moves by dd, because the mean is the total divided by nn and only the total changed:

new mean=400+10005=600.\text{new mean} = 400 + \frac{1000}{5} = 600.

Check it directly. The new total is 220+245+260+285+1990=3000220 + 245 + 260 + 285 + 1990 = 3000, and 3000÷5=6003000 \div 5 = 600. The mean has climbed above every house on the street except the mansion.

The median does not move at all. Sorting the new data gives 220,245,260,285,1990220, 245, 260, 285, 1990, and the middle value is still

new median=260.\text{new median} = 260 .

Nothing about the middle of the order changed, because the mansion was already the largest value and it stayed the largest value. You could sell it for a hundred million and the median of these five sales would still be 260260 thousand. That single sentence is what “resistant” means.

Shape, and what skew does to the centers

Sort a data set into bins of equal width and draw a bar for the count in each bin, and you have a histogram. Unlike a bar graph of categories, the bars sit on a number line and their order means something, so the picture shows you the shape of the distribution.

Four shapes are worth naming. A symmetric distribution looks the same reflected about its center. A right-skewed (or positively skewed) one has a long tail of large values stretching to the right, as incomes and house prices do. A left-skewed one has a long tail to the left, as exam scores do when most of the class does well and a few people bomb it. A bimodal distribution has two separate peaks, which is almost always a sign that two different groups have been mixed together.

A right-skewed histogram, with the mean to the right of the medianBars decreasing from left to right with a long tail; a dashed line for the median and, to its right, a dashed line for the mean.value (a long right tail)medianmeanthe tail pullsthe mean this way
A right-skewed distribution. Most of the data is packed on the left and a long thin tail reaches to the right. The median sits at the middle of the counts, while the mean, which feels the size of every value in the tail, is dragged to the right of it.

For a symmetric data set the mean and the median are equal, and that one is a theorem, not a slogan. Pair each value with its mirror image about the center of symmetry, note that each pair averages to that center, and both statistics land there.

Skew is a different matter, and here you should be careful, because textbooks routinely overclaim. The useful rule of thumb is that a right-skewed distribution usually has its mean above its median, and a left-skewed one usually has its mean below. The reason is that the mean feels the size of every value in the long tail while the median only counts how many values are out there. That rule is reliable enough to be worth knowing, and it is the reason a gap between the mean and the median is a good skew detector. It is not a theorem: mathematicians have constructed data sets with a long right tail whose mean sits below the median. Treat “the mean is pulled toward the tail” as a strong hint about the data, and then go look at the histogram rather than trusting the slogan.

The bimodal case deserves a warning of its own. If a distribution has two clear peaks, both the mean and the median can land in the valley between them, at a value that describes almost none of the data. Think of commute times in a town where half the people walk to work in 1010 minutes and half drive for 5050: a center of 3030 minutes describes nobody’s morning. When you see two peaks, the right move is not to pick a better center. It is to report the two groups separately.

Spread, part one: the range is fragile, the IQR is not

The crudest measure of spread is the range, maxmin\text{max} - \text{min}. Its problem is now easy to state precisely: it is computed from the two most extreme values in the data. Those are exactly the two values most likely to be outliers. The range is not merely sensitive; it is built entirely out of the data’s least trustworthy points.

The fix is to throw away the ends and measure the middle. Sort the data and cut it in half at the median. The first quartile Q1Q_1 is the median of the lower half, and the third quartile Q3Q_3 is the median of the upper half. (When the count is odd, leave the middle value out of both halves; this lesson uses that convention throughout.) Roughly a quarter of the data lies below Q1Q_1, and roughly a quarter lies above Q3Q_3, so the box between them holds the middle half of the data. Its width is the interquartile range:

IQR=Q3Q1.\text{IQR} = Q_3 - Q_1 .

The IQR is resistant for the same reason the median is. Push the largest value out to infinity and it is still just “some value in the top half”; it changes no quartile, so the IQR does not move.

That last claim needs one honest qualification, and it is the kind textbooks skip. It holds only when there is enough data for the extremes to sit outside the quartile calculation. With three values, Q3Q_3 is the largest value, and with four values it is the average of the top two. So in those cases the outlier is part of Q3Q_3, and dragging it does move the IQR. The set 1,2,3,41, 2, 3, 4 has Q3=3.5Q_3 = 3.5 and an IQR of 22, but change the 44 to a 400400 and Q3Q_3 becomes 201.5201.5. The same caveat applies to the median when there are only two values. For any data set large enough to be worth summarizing, the extremes fall outside the box and the resistance is real, which is the case worth remembering.

Taken together, the five-number summary is

min,Q1,median,Q3,max,\text{min}, \quad Q_1, \quad \text{median}, \quad Q_3, \quad \text{max},

and a box plot draws it: a box from Q1Q_1 to Q3Q_3 with a line at the median, and whiskers reaching out to the extremes.

That leaves the question of what counts as an outlier, and here honesty matters. There is no law of nature that defines one. The standard convention, due to John Tukey, is to call a value an outlier when it falls more than 1.5×IQR1.5 \times \text{IQR} beyond the nearer end of the box:

x<Q11.5IQRorx>Q3+1.5IQR.x < Q_1 - 1.5\,\text{IQR} \qquad \text{or} \qquad x > Q_3 + 1.5\,\text{IQR}.

Those two cutoffs are called the fences. The number 1.51.5 was chosen because it flags very few points in well-behaved data and plenty of points in badly behaved data. Nothing forces it, and some analysts use 33 to mark the truly extreme cases. When a data set has outliers by this rule, a box plot draws the whiskers only out to the most extreme values inside the fences. The plot also draws the outliers as separate dots, so the picture shows you the exception instead of hiding it inside a long whisker.

Worked example 2 A five-number summary, the IQR, and the outlier test

Twelve commuters report their travel times, in minutes, already sorted:

15,  17,  19,  21,  22,  24,  26,  27,  29,  31,  35,  70.15,\; 17,\; 19,\; 21,\; 22,\; 24,\; 26,\; 27,\; 29,\; 31,\; 35,\; 70 .

With n=12n = 12, an even count, the median is the average of the 66th and 77th values:

median=24+262=25.\text{median} = \frac{24 + 26}{2} = 25 .

The lower half is 15,17,19,21,22,2415, 17, 19, 21, 22, 24, and its median is the average of its two middle values:

Q1=19+212=20.Q_1 = \frac{19 + 21}{2} = 20 .

The upper half is 26,27,29,31,35,7026, 27, 29, 31, 35, 70, so in the same way

Q3=29+312=30.Q_3 = \frac{29 + 31}{2} = 30 .

The five-number summary is therefore 15,  20,  25,  30,  7015, \; 20, \; 25, \; 30, \; 70, and the interquartile range is IQR=3020=10\text{IQR} = 30 - 20 = 10. Now run the outlier test. Since 1.5×10=151.5 \times 10 = 15, the fences sit at

Q115=5andQ3+15=45.Q_1 - 15 = 5 \qquad \text{and} \qquad Q_3 + 15 = 45 .

Every value from 1515 to 3535 lies between the fences, but 70>4570 > 45, so the 7070-minute commute is an outlier by Tukey’s convention. The box plot’s right whisker therefore stops at 3535, the largest ordinary value, and the 7070 is drawn as its own point.

Notice what this data set does to the two centers. Its mean is 33612=28\frac{336}{12} = 28 and its median is 2525, so the mean sits above the median. That is exactly what the skew rule of thumb suggests for data with one long right tail.

Box plot of the twelve commute times, with one outlierA box from 20 to 30 with a median at 25, whiskers to 15 and 35, an upper fence at 45, and an outlier plotted at 70.Q1 = 20Q3 = 30outliermin = 15median = 25fence = 4501020304050607080commute time (minutes)
The box plot of the twelve commute times. The box spans the middle half of the data, from Q1 = 20 to Q3 = 30, and the line inside it is the median, 25. The right whisker stops at 35, the largest value inside the fence at 45, and the 70-minute commute is plotted separately as an outlier.

Check your understanding

For the eight sorted values 3,5,6,8,11,14,15,223, 5, 6, 8, 11, 14, 15, 22, find the interquartile range.

Answer choices

Spread, part two: variance and standard deviation

The IQR is the spread that belongs to the median: both are built from order, and both are resistant. Now build the spread that belongs to the mean, from squared distance.

You cannot simply average the deviations, because the first proof in this lesson showed that they always add to zero. Two repairs are available. You can take absolute values, which gives an honest measure called the mean absolute deviation. (Take those absolute deviations from the median instead, and you get the spread that genuinely belongs to it, by the second theorem above.) Or you can square the deviations, which kills the signs just as effectively and punishes a far-off value much harder than a near one. A deviation of 1010 contributes 100100 times what a deviation of 11 contributes. Most importantly, squaring gives the very quantity the mean already minimizes. Squaring keeps you inside the world where the mean is the champion, and it keeps the algebra smooth, because x2x^2 has no corner in it.

Average the squared deviations and you get the variance. If your list is the entire group you care about, the group is called a population, its mean is written μ\mu, and

σ2  =  1Ni=1N(xiμ)2.\sigma^2 \;=\; \frac{1}{N}\sum_{i=1}^{N}(x_i - \mu)^2 .

The variance is in squared units, which is nonsense to report (squared minutes, squared dollars), so take the square root to come home to the original units. That is the standard deviation σ\sigma, and it is the honest headline number: roughly, how far a typical value sits from the mean.

The divisor: why nn sometimes becomes n1n - 1

Here is the question every textbook fudges, so let us do it properly. Suppose your nn numbers are not the whole group but a sample drawn from a much larger population whose true mean μ\mu you do not know. You want the population’s spread, but you cannot measure deviations from μ\mu, because you do not have μ\mu. All you can do is measure deviations from the sample’s own mean xˉ\bar{x}.

That substitution is not innocent, and the least-squares theorem tells you exactly how it fails. That theorem says (xic)2\sum (x_i - c)^2 is smallest at c=xˉc = \bar{x}, so plugging the true mean μ\mu into that sum can only give something at least as big:

i=1n(xixˉ)2    i=1n(xiμ)2,\sum_{i=1}^{n} (x_i - \bar{x})^2 \;\le\; \sum_{i=1}^{n} (x_i - \mu)^2 ,

with equality in exactly one case, the coincidence xˉ=μ\bar{x} = \mu, where the sample mean happens to land precisely on the population mean.

Read that inequality carefully, because it is the whole point. The spread you want is the one measured from the true center, on the right. The spread you can compute is the one on the left, and it can never come out too big. It comes out too small in every sample except that one lucky coincidence, and it does so not by bad luck but by construction. That is because xˉ\bar{x} is the value that makes that sum as small as it can possibly be. The sample measures its deviations from a center it fitted to itself, so it looks a little tighter than the population it came from. An estimate that misses in the same direction nearly every time, rather than erring evenly on both sides, is called biased, and this one is biased downward.

The repair is to divide by something smaller than nn, which inflates the answer. The sample variance divides by n1n - 1:

s2  =  1n1i=1n(xixˉ)2,s=s2.s^2 \;=\; \frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2 , \qquad s = \sqrt{s^2}.

Now the honest part. This argument proves that dividing by nn understates the spread, and it makes the n1n - 1 correction reasonable. But it does not prove that n1n - 1 is the exactly right amount to correct by rather than, say, n0.5n - 0.5 or n2n - 2. Showing that requires the expected value of a random variable, which is machinery you do not have yet. Take it as a debt this lesson leaves open, and take the rule with it:

The divisor is a statement about what you are claiming, not about the arithmetic. Any question that asks for “the variance” without telling you which one is ambiguous and has two right answers, so expect every question here to say which one it wants.

Worked example 3 Both divisors on the same five numbers

Take the data 2,4,5,6,82, 4, 5, 6, 8. The mean is

xˉ=2+4+5+6+85=255=5.\bar{x} = \frac{2 + 4 + 5 + 6 + 8}{5} = \frac{25}{5} = 5 .

The deviations from 55 are 3,1,0,1,3-3, -1, 0, 1, 3, which sum to 00, as they must. Square them and add:

(xixˉ)2=9+1+0+1+9=20.\sum (x_i - \bar{x})^2 = 9 + 1 + 0 + 1 + 9 = 20 .

That sum of 2020 is all the raw material either formula uses. If these five numbers are the whole population, divide by N=5N = 5:

σ2=205=4,σ=4=2.\sigma^2 = \frac{20}{5} = 4, \qquad \sigma = \sqrt{4} = 2 .

If instead they are a sample from a bigger group, divide by n1=4n - 1 = 4:

s2=204=5,s=52.24.s^2 = \frac{20}{4} = 5, \qquad s = \sqrt{5} \approx 2.24 .

Same data, same deviations, two different answers, because the two formulas answer two different questions. The sample version is larger, which is the correction doing its job. That correction compensates for the fact that the deviations were measured from xˉ\bar{x}, the center that makes them as small as possible.

One more property to file away: the standard deviation inherits the mean’s fragility. Squaring a large deviation makes it enormous, so a single outlier can dominate the whole sum. In the commute data, the 7070-minute value alone contributes (7028)2=1764(70 - 28)^2 = 1764 of the total 23002300, which is more than three quarters of it. The IQR ignores that value completely. So the pairing is clean: report the mean with the standard deviation, and the median with the IQR, and never mix a resistant center with a sensitive spread.

Check your understanding

The four values 6,8,10,126, 8, 10, 12 are a sample from a larger population. What is the sample standard deviation ss?

Answer choices

Choosing a summary

Every statistic in this lesson belongs to one of two families, and the families do not mix.

Squared worldOrder world
Centermean xˉ\bar{x}median
What the center minimizestotal squared distancetotal absolute distance
Spreadstandard deviationIQR
Effect of one wild outlierdrags bothmoves neither, once there is enough data for the extremes to sit outside the box
Report it whenthe data is roughly symmetric, or you genuinely need the totalthe data is skewed or has outliers

The mean is not a worse statistic than the median. It is the right one whenever the total is what you actually care about, since nxˉn\bar{x} is the total. To work out a per-person share of a bill, the mean is the only correct answer and the median is useless. The failure mode is not using the mean; it is using the mean to describe a typical value in data that is skewed. Look at the shape first, then choose.

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Free Response Questions (FRQ)

Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its own so you can check yourself and try again, then the full worked solution, plus a rubric to mark your own work against.

Free response Work it out on paper 5 questions Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (Optional)

Statistics began as a servant of astronomy, and its central habit came from there. Measure the same star a hundred times and average the readings, because the errors cancel out. That habit worked well on stars. Turned on human beings, by the thousand, it kept betraying the people using it. One freakish record, or one clerk copying a number wrong, dragged the average somewhere nobody lived.

Francis Galton, an English gentleman scientist of the 1880s, measured heights and fingerprints instead of planets. He did not abandon the mean, and used it all his life. He added a second habit. He would also summarize a population by the middle value of its sorted list, and describe spread with the quartiles. Those are the marks a quarter of the way in from each end. His reason was practical: such summaries survive the wild values a real population throws at you.

That survival is the property you proved here, with the nested intervals. Push the largest value further out to sea and only the outermost gap changes. The middle of the order never notices. So the median and the quartiles hold still while the mean chases the runaway. Galton had no proof of that. He had watched enough stray records drag an average off course, and the arithmetic caught up later.