# Mean

There are several kinds of **mean** in mathematics, especially in statistics.

For a data set, the arithmetic mean, also called the expected value or average, is the central value of a discrete set of numbers: specifically, the sum of the values divided by the number of values. The arithmetic mean of a set of numbers *x*_{1}, *x*_{2}, ..., x* _{n}* is typically denoted by

^{[note 1]}. If the data set were based on a series of observations obtained by sampling from a statistical population, the arithmetic mean is the

**sample mean**(denoted ) to distinguish it from the mean of the underlying distribution, the

**population mean**(denoted

**or**

^{[note 2]}).

^{[1]}

In probability and statistics, the **population mean**, or expected value, is a measure of the central tendency either of a probability distribution or of the random variable characterized by that distribution.^{[2]} In a discrete probability distribution of a random variable *X*, the mean is equal to the sum over every possible value weighted by the probability of that value; that is, it is computed by taking the product of each possible value *x* of *X* and its probability *p*(*x*), and then adding all these products together, giving .^{[3]} An analogous formula applies to the case of a continuous probability distribution. Not every probability distribution has a defined mean; see the Cauchy distribution for an example. Moreover, for some distributions the mean is infinite.

For a finite population, the **population mean** of a property is equal to the arithmetic mean of the given property while considering every member of the population. For example, the population mean height is equal to the sum of the heights of every individual divided by the total number of individuals. The sample mean may differ from the population mean, especially for small samples. The law of large numbers dictates that the larger the size of the sample, the more likely it is that the sample mean will be close to the population mean.^{[4]}

Outside probability and statistics, a wide range of other notions of mean are often used in geometry and mathematical analysis; examples are given below.

## Types of means[edit]

### Pythagorean Means[edit]

#### Arithmetic Mean (AM)[edit]

The *arithmetic mean* (or simply *mean*) of a sample , usually denoted by , is the sum of the sampled values divided by the number of items in the sample

For example, the arithmetic mean of five values: 4, 36, 45, 50, 75 is:

#### Geometric Mean (GM)[edit]

The geometric mean is an average that is useful for sets of positive numbers that are interpreted according to their product and not their sum (as is the case with the arithmetic mean); e.g., rates of growth.

For example, the geometric mean of five values: 4, 36, 45, 50, 75 is:

#### Harmonic Mean (HM)[edit]

The harmonic mean is an average which is useful for sets of numbers which are defined in relation to some unit, for example speed (distance per unit of time).

For example, the harmonic mean of the five values: 4, 36, 45, 50, 75 is

#### Relationship between AM, GM, and HM[edit]

AM, GM, and HM satisfy these inequalities:

Equality holds if and only if all the elements of the given sample are equal.

### Statistical location[edit]

In descriptive statistics, the mean may be confused with the median, mode or mid-range, as any of these may be called an "average" (more formally, a measure of central tendency). The mean of a set of observations is the arithmetic average of the values; however, for skewed distributions, the mean is not necessarily the same as the middle value (median), or the most likely value (mode). For example, mean income is typically skewed upwards by a small number of people with very large incomes, so that the majority have an income lower than the mean. By contrast, the median income is the level at which half the population is below and half is above. The mode income is the most likely income and favors the larger number of people with lower incomes. While the median and mode are often more intuitive measures for such skewed data, many skewed distributions are in fact best described by their mean, including the exponential and Poisson distributions.

### Mean of a probability distribution[edit]

The mean of a probability distribution is the long-run arithmetic average value of a random variable having that distribution. In this context, it is also known as the expected value. For a discrete probability distribution, the mean is given by , where the sum is taken over all possible values of the random variable and is the probability mass function. For a continuous distribution,the mean is , where is the probability density function. In all cases, including those in which the distribution is neither discrete nor continuous, the mean is the Lebesgue integral of the random variable with respect to its probability measure. The mean need not exist or be finite; for some probability distributions the mean is infinite (+∞ or −∞), while others have no mean.

### Generalized means[edit]

#### Power mean[edit]

The generalized mean, also known as the power mean or Hölder mean, is an abstraction of the quadratic, arithmetic, geometric and harmonic means. It is defined for a set of *n* positive numbers *x*_{i} by

By choosing different values for the parameter *m*, the following types of means are obtained:

*f*-mean[edit]

This can be generalized further as the generalized f-mean

and again a suitable choice of an invertible f will give

### Weighted arithmetic mean[edit]

The weighted arithmetic mean (or weighted average) is used if one wants to combine average values from samples of the same population with different sample sizes:

The weights represent the sizes of the different samples. In other applications, they represent a measure for the reliability of the influence upon the mean by the respective values.

### Truncated mean[edit]

Sometimes a set of numbers might contain outliers, i.e., data values which are much lower or much higher than the others. Often, outliers are erroneous data caused by artifacts. In this case, one can use a truncated mean. It involves discarding given parts of the data at the top or the bottom end, typically an equal amount at each end and then taking the arithmetic mean of the remaining data. The number of values removed is indicated as a percentage of the total number of values.

### Interquartile mean[edit]

The interquartile mean is a specific example of a truncated mean. It is simply the arithmetic mean after removing the lowest and the highest quarter of values.

assuming the values have been ordered, so is simply a specific example of a weighted mean for a specific set of weights.

### Mean of a function[edit]

In some circumstances mathematicians may calculate a mean of an infinite (even an uncountable) set of values. This can happen when calculating the mean value of a function . Intuitively this can be thought of as calculating the area under a section of a curve and then dividing by the length of that section. This can be done crudely by counting squares on graph paper or more precisely by integration. The integration formula is written as:

Care must be taken to make sure that the integral converges. But the mean may be finite even if the function itself tends to infinity at some points.

### Mean of angles and cyclical quantities[edit]

Angles, times of day, and other cyclical quantities require modular arithmetic to add and otherwise combine numbers. In all these situations, there will not be a unique mean. For example, the times an hour before and after midnight are equidistant to both midnight and noon. It is also possible that no mean exists. Consider a color wheel—there is no mean to the set of all colors. In these situations, you must decide which mean is most useful. You can do this by adjusting the values before averaging, or by using a specialized approach for the mean of circular quantities.

### Fréchet mean[edit]

The Fréchet mean gives a manner for determining the "center" of a mass distribution on a surface or, more generally, Riemannian manifold. Unlike many other means, the Fréchet mean is defined on a space whose elements cannot necessarily be added together or multiplied by scalars.
It is sometimes also known as the **Karcher mean** (named after Hermann Karcher).

### Other means[edit]

- Arithmetic-geometric mean
- Arithmetic-harmonic mean
- Cesàro mean
- Chisini mean
- Contraharmonic mean
- Elementary symmetric mean
- Geometric-harmonic mean
- Grand mean
- Heinz mean
- Heronian mean
- Identric mean
- Lehmer mean
- Logarithmic mean
- Moving average
- Neuman–Sándor mean
- Root mean square (quadratic mean)
- Rényi's entropy (a generalized f-mean)
- Spherical mean
- Stolarsky mean
- Weighted geometric mean
- Weighted harmonic mean

## Distribution of the sample mean[edit]

The arithmetic mean of a population, or population mean, is often denoted *μ*. The sample mean (the arithmetic mean of a sample of values drawn from the population) makes a good estimator of the population mean, as its expected value is equal to the population mean (that is, it is an unbiased estimator). The sample mean is a random variable, not a constant, since its calculated value will randomly differ depending on which members of the population are sampled, and consequently it will have its own distribution. For a random sample of *n* independent observations, the expected value of the sample mean is

and the variance of the sample mean is

If the population is normally distributed, then the sample mean is normally distributed:

If the population is not normally distributed, the sample mean is nonetheless approximately normally distributed if *n* is large and *σ*^{2}/*n* < +∞. This follows from the central limit theorem.

The mean of a list is all of the numbers added together and divided by the amount of numbers

## See also[edit]

- Central tendency
- Descriptive statistics
- Kurtosis
- Law of averages
- Mean value theorem
- Summary statistics
- Taylor's law

## Notes[edit]

## References[edit]

**^**Underhill, L.G.; Bradfield d. (1998)*Introstat*, Juta and Company Ltd. ISBN 0-7021-3838-X p. 181**^**Feller, William (1950).*Introduction to Probability Theory and its Applications, Vol I*. Wiley. p. 221. ISBN 0471257087.**^**Elementary Statistics by Robert R. Johnson and Patricia J. Kuby, p. 279**^**Schaum's Outline of Theory and Problems of Probability by Seymour Lipschutz and Marc Lipson, p. 141**^**"AP Statistics Review - Density Curves and the Normal Distributions". Archived from the original on 2 April 2015. Retrieved 16 March 2015.