Mean

Numeric quantity representing the center of a collection of numbers

This article is about quantifying the concept of "typical value". For other uses, see Mean (disambiguation). For broader coverage of this topic, see Average. For the state of being mean or cruel, see Meanness.

A mean is a numeric quantity representing the center of a collection of numbers and is intermediate to the extreme values of a set of numbers.[1] There are several kinds of means (or "measures of central tendency") in mathematics, especially in statistics. Each attempts to summarize or typify a given group of data, illustrating the magnitude and sign of the data set. Which of these measures is most illuminating depends on what is being measured, and on context and purpose.[2]

The arithmetic mean, also known as "arithmetic average", is the sum of the values divided by the number of values. The arithmetic mean of a set of numbers x1, x2, ..., xn is typically denoted using an overhead bar,  x ¯ {\displaystyle {\bar {x}}} .[note 1] If the numbers are from observing a sample of a larger group, the arithmetic mean is termed the sample mean ( x ¯ {\displaystyle {\bar {x}}} ) to distinguish it from the group mean (or expected value) of the underlying distribution, denoted  μ {\displaystyle \mu } or  μ x {\displaystyle \mu _{x}} .[note 2][3]

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]

Main article: Pythagorean means

#### Arithmetic mean (AM)

[edit]

Main article: Arithmetic mean

The arithmetic mean (or simply mean or average) of a list of numbers, is the sum of all of the numbers divided by their count. Similarly, the mean of a sample  x 1 , x 2 , … , x n {\displaystyle x_{1},x_{2},\ldots ,x_{n}} , usually denoted by  x ¯ {\displaystyle {\bar {x}}} , is the sum of the sampled values divided by the number of items in the sample.

x ¯ = 1 n ( ∑ i = 1 n x i ) = x 1 + x 2 + ⋯ + x n n {\displaystyle {\bar {x}}={\frac {1}{n}}\left(\sum _{i=1}^{n}{x_{i}}\right)={\frac {x_{1}+x_{2}+\cdots +x_{n}}{n}}}

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

4 + 36 + 45 + 50 + 75 5 = 210 5 = 42. {\displaystyle {\frac {4+36+45+50+75}{5}}={\frac {210}{5}}=42.}

#### 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 (as is the case with rates of growth) and not their sum (as is the case with the arithmetic mean):

x ¯ = ( ∏ i = 1 n x i ) 1 n = ( x 1 x 2 ⋯ x n ) 1 n {\displaystyle {\bar {x}}=\left(\prod _{i=1}^{n}{x_{i}}\right)^{\frac {1}{n}}=\left(x_{1}x_{2}\cdots x_{n}\right)^{\frac {1}{n}}} [1]

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

( 4 × 36 × 45 × 50 × 75 ) 1 5 = 24 300 000 5 = 30. {\displaystyle (4\times 36\times 45\times 50\times 75)^{\frac {1}{5}}={\sqrt[{5}]{24\;300\;000}}=30.}

#### 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, as in the case of speed (i.e., distance per unit of time):

x ¯ = n ( ∑ i = 1 n 1 x i ) − 1 {\displaystyle {\bar {x}}=n\left(\sum _{i=1}^{n}{\frac {1}{x_{i}}}\right)^{-1}}

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

5 1 4 + 1 36 + 1 45 + 1 50 + 1 75 = 5 1 3 = 15. {\displaystyle {\frac {5}{{\tfrac {1}{4}}+{\tfrac {1}{36}}+{\tfrac {1}{45}}+{\tfrac {1}{50}}+{\tfrac {1}{75}}}}={\frac {5}{\;{\tfrac {1}{3}}\;}}=15.}

If we have five pumps that can empty a tank of a certain size in respectively 4, 36, 45, 50, and 75 minutes, then the harmonic mean of  15 {\displaystyle 15} tells us that these five different pumps working together will pump at the same rate as much as five pumps that can each empty the tank in  15 {\displaystyle 15} minutes.

#### Relationship between AM, GM, and HM

[edit]

Proof without words of the AM–GM inequality:
PR is the diameter of a circle centered on O; its radius AO is the arithmetic mean of a and b. Using the geometric mean theorem, triangle PGR's altitude GQ is the geometric mean. For any ratio a:b, AO ≥ GQ.

Main article: Inequality of arithmetic and geometric means

AM, GM, and HM satisfy these inequalities:

A M ≥ G M ≥ H M {\displaystyle \mathrm {AM} \geq \mathrm {GM} \geq \mathrm {HM} \,}

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

### Statistical location

[edit]

See also: Average § Statistical location

Comparison of the arithmetic mean, median, and mode of two skewed (log-normal) distributions Geometric visualization of the mode, median and mean of an arbitrary probability density function[4]

In descriptive statistics, the mean may be confused with the median, mode or mid-range, as any of these may incorrectly 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]

Main article: Expected value

See also: Population mean

The mean of a probability distribution is the long-run arithmetic average value of a random variable having that distribution. If the random variable is denoted by  X {\displaystyle X} , then the mean is also known as the expected value of  X {\displaystyle X} (denoted  E ( X ) {\displaystyle E(X)} ). For a discrete probability distribution, the mean is given by  ∑ x P ( x ) {\displaystyle \textstyle \sum xP(x)} , where the sum is taken over all possible values of the random variable and  P ( x ) {\displaystyle P(x)} is the probability mass function. For a continuous distribution, the mean is  ∫ − ∞ ∞ x f ( x ) d x {\displaystyle \textstyle \int _{-\infty }^{\infty }xf(x)\,dx} , where  f ( x ) {\displaystyle f(x)} is the probability density function.[5] 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 for others the mean is undefined.

### 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 xi by

x ¯ ( m ) = ( 1 n ∑ i = 1 n x i m ) 1 m {\displaystyle {\bar {x}}(m)=\left({\frac {1}{n}}\sum _{i=1}^{n}x_{i}^{m}\right)^{\frac {1}{m}}} [1]

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

lim m -> ∞ {\displaystyle \lim _{m\to \infty }}
maximum of  x i {\displaystyle x_{i}}
lim m -> 2 {\displaystyle \lim _{m\to 2}}
quadratic mean
lim m -> 1 {\displaystyle \lim _{m\to 1}}
arithmetic mean
lim m -> 0 {\displaystyle \lim _{m\to 0}}
geometric mean
lim m -> − 1 {\displaystyle \lim _{m\to -1}}
harmonic mean
lim m -> − ∞ {\displaystyle \lim _{m\to -\infty }}
minimum of  x i {\displaystyle x_{i}}

#### f-mean

[edit]

This can be generalized further as the generalized f-mean

x ¯ = f − 1 ( 1 n ∑ i = 1 n f ( x i ) ) {\displaystyle {\bar {x}}=f^{-1}\left({{\frac {1}{n}}\sum _{i=1}^{n}{f\left(x_{i}\right)}}\right)}

and again a suitable choice of an invertible f will give

f ( x ) = x m {\displaystyle f(x)=x^{m}} | power mean,

|

f ( x ) = x {\displaystyle f(x)=x} | arithmetic mean,
f ( x ) = ln ⁡ ( x ) {\displaystyle f(x)=\ln(x)} | geometric mean.
f ( x ) = x − 1 = 1 x {\displaystyle f(x)=x^{-1}={\frac {1}{x}}} | harmonic mean,

### Weighted arithmetic mean

[edit]

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

x ¯ = ∑ i = 1 n w i x i ¯ ∑ i = 1 n w i . {\displaystyle {\bar {x}}={\frac {\sum _{i=1}^{n}{w_{i}{\bar {x_{i}}}}}{\sum _{i=1}^{n}w_{i}}}.} [1]

Where  x i ¯ {\displaystyle {\bar {x_{i}}}} and  w i {\displaystyle w_{i}} are the mean and size of sample  i {\displaystyle i} respectively. 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.

x ¯ = 2 n ∑ i = n 4 + 1 3 4 n x i {\displaystyle {\bar {x}}={\frac {2}{n}}\;\sum _{i={\frac {n}{4}}+1}^{{\frac {3}{4}}n}\\!\\!x_{i}}

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]

Main article: Mean of a function

In some circumstances, mathematicians may calculate a mean of an infinite (or even an uncountable) set of values. This can happen when calculating the mean value  y avg {\displaystyle y_{\text{avg}}} of a function  f ( x ) {\displaystyle f(x)} . Intuitively, a mean of a function 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:

y avg ( a , b ) = 1 b − a ∫ a b f ( x ) d x {\displaystyle y_{\text{avg}}(a,b)={\frac {1}{b-a}}\int \limits _{a}^{b}\\!f(x)\,dx}

In this case, 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).

### Triangular sets

[edit]

In geometry, there are thousands of different definitions for the center of a triangle that can all be interpreted as the mean of a triangular set of points in the plane.[6]

### Swanson's rule

[edit]

This is an approximation to the mean for a moderately skewed distribution.[7] It is used in hydrocarbon exploration and is defined as:

m = 0.3 P 10 + 0.4 P 50 + 0.3 P 90 {\displaystyle m=0.3P_{10}+0.4P_{50}+0.3P_{90}}

where  P 10 {\textstyle P_{10}} ,  P 50 {\textstyle P_{50}} and  P 90 {\textstyle P_{90}} are the 10th, 50th and 90th percentiles of the distribution, respctively.

### Other means

[edit]

Main category: Means

* 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
* Quasi-arithmetic mean
* Root mean square (quadratic mean)
* Rényi's entropy (a generalized f-mean)
* Spherical mean
* Stolarsky mean
* Weighted geometric mean
* Weighted harmonic mean

## See also

[edit]

* Mathematics portal

* Statistical dispersion
* Central tendency
* Median
* Mode
* Descriptive statistics
* Kurtosis
* Law of averages
* Mean value theorem
* Moment (mathematics)
* Summary statistics
* Taylor's law

## Notes

[edit]

1. ^ Pronounced "x bar".
2. ^ Greek letter μ, pronounced /'mjuː/.

## References

[edit]

1. ^ a b c d "Mean | mathematics". Encyclopedia Britannica. Retrieved 2020-08-21.
2. ^ Why Few Math Students Actually Understand the Meaning of Means (YouTube video). Math The World. 2024-08-27. Retrieved 2024-09-10.
3. ^ Underhill, L.G.; Bradfield d. (1998) Introstat, Juta and Company Ltd. ISBN 0-7021-3838-X p. 181
4. ^ "AP Statistics Review - Density Curves and the Normal Distributions". Archived from the original on 2 April 2015. Retrieved 16 March 2015.
5. ^ Weisstein, Eric W. "Population Mean". mathworld.wolfram.com. Retrieved 2020-08-21.
6. ^ Narboux, Julien; Braun, David (2016). "Towards a certified version of the encyclopedia of triangle centers". Mathematics in Computer Science. 10 (1): 57–73. doi:10.1007/s11786-016-0254-4. MR 3483261. "under the guidance of Clark Kimberling, an electronic encyclopedia of triangle centers (ETC) has been developed, it contains more than 7000 centers and many properties of these points"
7. ^ Hurst A, Brown GC, Swanson RI (2000) Swanson's 30-40-30 Rule. American Association of Petroleum Geologists Bulletin 84(12) 1883-1891

* v
* t
* e

Statistics

* Outline
* Index

Descriptive statistics

| Continuous data|

| Center|

* Mean
* Arithmetic
* Arithmetic-Geometric
* Contraharmonic
* Cubic
* Generalized/power
* Geometric
* Harmonic
* Heronian
* Heinz
* Lehmer
* Median
* Mode

|

Dispersion|

* Average absolute deviation
* Coefficient of variation
* Interquartile range
* Percentile
* Range
* Standard deviation
* Variance

Shape|

* Central limit theorem
* Moments
* Kurtosis
* L-moments
* Skewness

Count data|

* Index of dispersion

Summary tables|

* Contingency table
* Frequency distribution
* Grouped data

Dependence|

* Partial correlation
* Pearson product-moment correlation
* Rank correlation
* Kendall's τ
* Spearman's ρ
* Scatter plot

Graphics|

* Bar chart
* Biplot
* Box plot
* Control chart
* Correlogram
* Fan chart
* Forest plot
* Histogram
* Pie chart
* Q–Q plot
* Radar chart
* Run chart
* Scatter plot
* Stem-and-leaf display
* Violin plot

Data collection

| Study design|

* Effect size
* Missing data
* Optimal design
* Population
* Replication
* Sample size determination
* Statistic
* Statistical power

|

Survey methodology|

* Sampling
* Cluster
* Stratified
* Opinion poll
* Questionnaire
* Standard error

Controlled experiments|

* Blocking
* Factorial experiment
* Interaction
* Random assignment
* Randomized controlled trial
* Randomized experiment
* Scientific control

Adaptive designs|

* Adaptive clinical trial
* Stochastic approximation
* Up-and-down designs

Observational studies|

* Cohort study
* Cross-sectional study
* Natural experiment
* Quasi-experiment

Statistical inference

| Statistical theory|

* Population
* Statistic
* Probability distribution
* Sampling distribution
* Order statistic
* Empirical distribution
* Density estimation
* Statistical model
* Model specification
* Lp space
* Parameter
* location
* scale
* shape
* Parametric family
* Likelihood (monotone)
* Location–scale family
* Exponential family
* Completeness
* Sufficiency
* Statistical functional
* Bootstrap
* U
* V
* Optimal decision
* loss function
* Efficiency
* Statistical distance
* divergence
* Asymptotics
* Robustness

|

Frequentist inference|

| Point estimation|

* Estimating equations
* Maximum likelihood
* Method of moments
* M-estimator
* Minimum distance
* Unbiased estimators
* Mean-unbiased minimum-variance
* Rao–Blackwellization
* Lehmann–Scheffé theorem
* Median unbiased
* Plug-in

|

Interval estimation|

* Confidence interval
* Pivot
* Likelihood interval
* Prediction interval
* Tolerance interval
* Resampling
* Bootstrap
* Jackknife

Testing hypotheses|

* 1- & 2-tails
* Power
* Uniformly most powerful test
* Permutation test
* Randomization test
* Multiple comparisons

Parametric tests|

* Likelihood-ratio
* Score/Lagrange multiplier
* Wald

Specific tests|

* Z-test (normal)
* Student's t-test
* F-test

Goodness of fit|

* Chi-squared
* G-test
* Kolmogorov–Smirnov
* Anderson–Darling
* Lilliefors
* Jarque–Bera
* Normality (Shapiro–Wilk)
* Likelihood-ratio test
* Model selection
* Cross validation
* AIC
* BIC

Rank statistics|

* Sign
* Sample median
* Signed rank (Wilcoxon)
* Hodges–Lehmann estimator
* Rank sum (Mann–Whitney)
* Nonparametric anova
* 1-way (Kruskal–Wallis)
* 2-way (Friedman)
* Ordered alternative (Jonckheere–Terpstra)
* Van der Waerden test

Bayesian inference|

* Bayesian probability
* prior
* posterior
* Credible interval
* Bayes factor
* Bayesian estimator
* Maximum posterior estimator

* Correlation
* Regression analysis

| Correlation|

* Pearson product-moment
* Partial correlation
* Confounding variable
* Coefficient of determination

|

Regression analysis|

* Errors and residuals
* Regression validation
* Mixed effects models
* Simultaneous equations models
* Multivariate adaptive regression splines (MARS)

Linear regression|

* Simple linear regression
* Ordinary least squares
* General linear model
* Bayesian regression

Non-standard predictors|

* Nonlinear regression
* Nonparametric
* Semiparametric
* Isotonic
* Robust
* Heteroscedasticity
* Homoscedasticity

Generalized linear model|

* Exponential families
* Logistic (Bernoulli) / Binomial / Poisson regressions

Partition of variance|

* Analysis of variance (ANOVA, anova)
* Analysis of covariance
* Multivariate ANOVA
* Degrees of freedom

Categorical / Multivariate / Time-series / Survival analysis

| Categorical|

* Cohen's kappa
* Contingency table
* Graphical model
* Log-linear model
* McNemar's test
* Cochran–Mantel–Haenszel statistics

|

Multivariate|

* Regression
* Manova
* Principal components
* Canonical correlation
* Discriminant analysis
* Cluster analysis
* Classification
* Structural equation model
* Factor analysis
* Multivariate distributions
* Elliptical distributions
* Normal

Time-series|

| General|

* Decomposition
* Trend
* Stationarity
* Seasonal adjustment
* Exponential smoothing
* Cointegration
* Structural break
* Granger causality

|

Specific tests|

* Dickey–Fuller
* Johansen
* Q-statistic (Ljung–Box)
* Durbin–Watson
* Breusch–Godfrey

Time domain|

* Autocorrelation (ACF)
* partial (PACF)
* Cross-correlation (XCF)
* ARMA model
* ARIMA model (Box–Jenkins)
* Autoregressive conditional heteroskedasticity (ARCH)
* Vector autoregression (VAR)

Frequency domain|

* Spectral density estimation
* Fourier analysis
* Least-squares spectral analysis
* Wavelet
* Whittle likelihood

Survival|

| Survival function|

* Kaplan–Meier estimator (product limit)
* Proportional hazards models
* Accelerated failure time (AFT) model
* First hitting time

|

Hazard function|

* Nelson–Aalen estimator

Test|

* Log-rank test

Applications

| Biostatistics|

* Bioinformatics
* Clinical trials / studies
* Epidemiology
* Medical statistics

|

Engineering statistics|

* Chemometrics
* Methods engineering
* Probabilistic design
* Process / quality control
* Reliability
* System identification

Social statistics|

* Actuarial science
* Census
* Crime statistics
* Demography
* Econometrics
* Jurimetrics
* National accounts
* Official statistics
* Population statistics
* Psychometrics

Spatial statistics|

* Cartography
* Environmental statistics
* Geographic information system
* Geostatistics
* Kriging

* Category
* Mathematics portal
* Commons
* WikiProject

Authority control databases: National |

* Germany
* United States
* Israel

|

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template