The Mean of the Mean is the Mean
Join the DZone community and get the full member experience.Join For Free
there’s a theorem in statistics that says
you could read this aloud as “the mean of the mean is the mean.” more explicitly, it says that the expected value of the average of some number of samples from some distribution is equal to the expected value of the distribution itself. the shorter reading is confusing since “mean” refers to three different things in the same sentence. in reverse order, these are:
- the mean of the distribution, defined by an integral.
- the sample mean, calculated by averaging samples from the distribution.
- the mean of the sample mean as a random variable.
the hypothesis of this theorem is that the underlying distribution has a mean. lets see where things break down if the distribution does not have a mean.
it’s tempting to say that the cauchy distribution has mean 0. or some might want to say that the mean is infinite. but if we take any value to be the mean of a cauchy distribution — 0, ∞, 42, etc. — then the theorem above would be false. the mean of n samples from a cauchy has the same distribution as the original cauchy! the variability does not decrease with n , as it would with samples from a normal, for example. the sample mean doesn’t converge to any value as n increases. it just keeps wandering around with the same distribution, no matter how large the sample. that’s because the mean of the cauchy distribution simply doesn’t exist.
Published at DZone with permission of John Cook, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.