Sample mean

The sample mean is a statistic obtained by calculating the arithmetic average of the values of a variable in a sample.

If the sample is drawn from probability distributions having a common expected value, then the sample mean is an estimator of that expected value.

Table of contents

  1. Definition
  2. The sampling distribution
  3. Population mean
  4. The sample mean as an estimator
  5. Expected value
  6. Variance
  7. Law of large numbers
  8. Consistent estimator
  9. Central limit theorem
  10. Asymptotically normal estimator
  11. Exact distribution
  12. Maximum likelihood estimator
  13. More details
  14. Keep reading the glossary

Definition

A more precise definition follows.

Definition Let be the observed values of a variable. Their sample mean, denoted by , is

The sample mean is a fundamental quantity in statistics. Its properties are discussed in the next sections.

The sampling distribution

In order to analyze the properties of the sample mean, we assume that are the realizations of random variables .

We use the term sample mean also when we refer to the random variable

In other words, before the realizations of the random variables become known, their sample mean can be regarded as a random variable.

The probability distribution of is called the sampling distribution of the sample mean.

Population mean

[eq8]

If all have the same expected value then is called the population mean.

The sample mean as an estimator

When the population mean is unknown, the realization is an estimate of , while the random variable is an estimator of (remember that an estimator is a pre-defined rule that associates an estimate to each possible sample we can observe).

Expected value

[eq9]

The first important property of the sample mean is that it is an unbiased estimator of the population mean:

Variance

[eq11]

Suppose that the random variables are independent and have a common finite variance

[eq12]

Then, the variance of the sample mean is

Law of large numbers

Under appropriate conditions, the sample mean converges (in probability or almost surely) to the population mean.

This fundamental result is known as Law of Large Numbers.

Consistent estimator

When the estimator of a parameter converges to the true value of the parameter, we say that it is consistent.

Therefore, if a law of large numbers applies, the sample mean is a consistent estimator of the population mean.

Central limit theorem

[eq13]

Under appropriate conditions, the random variable converges in distribution to a standard normal distribution (i.e., a normal distribution with zero mean and unit variance).

This is another fundamental result, known as Central Limit Theorem.

Asymptotically normal estimator

When a central limit theorem applies, and the statistic converges to a normal distribution, we say that the sample mean is asymptotically normal.

Exact distribution

If the random variables are independent normal random variables, then also the sample mean has a normal distribution.

This is discussed in the lecture on mean estimation.

Maximum likelihood estimator

In many important cases, the sample mean coincides with the maximum likelihood estimator (MLE) of the population mean. See, for example:

More details

Want to know more about the sample mean? See how it is used to:

Keep reading the glossary

How to cite

Taboga, Marco (2021). "Sample mean", Lectures on probability theory and mathematical statistics. Kindle Direct Publishing. Online appendix. https://www.statlect.com/glossary/sample-mean.

Most of the learning materials found on this website are now available in a traditional textbook format.

Featured pages Main sections Glossary entries