**What is a mean value - all means in one place**

In introductory Stats texts, various means are scattered all over the place, and there is no indication of links between them. This is what we address here.

The population mean of a discrete random variable is the starting point. Such a variable, by definition, is a table values+probabilities, see this post, and its mean is . If that random variable is uniformly distributed, in the same post we explain that , so **the sample mean is a special case of a population mean**.

The next point is the link between the grouped data formula and sample mean. Recall the procedure for finding **absolute frequencies**. Let be the values in the sample (it is convenient to assume that they are arranged in an ascending order). Equal values are joined in groups. Let denote the distinct values in the sample and their absolute frequencies. Their total is, clearly, . The sample mean is

(sorting out 's into groups with equal values)

which is the **grouped data formula**. We have shown that **the grouped data formula obtains as a special case of the sample mean** when equal values are joined into groups.

Next, denoting the relative frequencies, we get

(dividing through by )

If we accept the relative frequencies as probabilities, then this becomes the population mean. Thus, with this convention, **the grouped data formula and population mean are the same**.

Finally, the **mean of a continuous random variable** which has a density is defined by . in Section 6.3 of my book it is shown that the **mean of a continuous random variable is a limit of grouped means**.

### Conclusion

Properties of means apply equally to all mean types.