Arithmetic Mean

DOWNLOAD Mathematica Notebook EXPLORE THIS TOPIC IN the MathWorld Classroom

The arithmetic mean of a set of values is the quantity commonly called "the" mean or the average. Given a set of samples {x_i}, the arithmetic mean is

 x^_=1/Nsum_(i=1)^Nx_i.
(1)

It can be computed in the Wolfram Language using Mean[list].

The arithmetic mean is the special case M_1 of the power mean and is one of the Pythagorean means.

When viewed as an estimator for the mean of the underlying distribution (known as the population mean), the arithmetic mean of a sample is called the sample mean.

For a continuous distribution function, the arithmetic mean of the population, denoted mu, x^_, <x>, or A(x) and called the population mean of the distribution, is given by

 mu=int_(-infty)^inftyP(x)f(x)dx,
(2)

where <x> is the expectation value. Similarly, for a discrete distribution,

 mu=sum_(n=1)^NP(x_n)f(x_n).
(3)

The arithmetic mean satisfies

 <f(x)+g(x)>=<f(x)>+<g(x)>
(4)
 <cf(x)>=c<f(x)>,
(5)

and

 <f(x)g(y)>=<f(x)><g(y)>
(6)

if x and y are independent statistics. The "sample mean," which is the mean estimated from a statistical sample, is an unbiased estimator for the population mean.

Hoehn and Niven (1985) show that

 A(a_1+c,a_2+c,...,a_n+c)=c+A(a_1,a_2,...,a_n)
(7)

for any constant c. For positive arguments, the arithmetic mean satisfies

 A>=G>=H,
(8)

where G is the geometric mean and H is the harmonic mean (Hardy et al. 1952, Mitrinović 1970, Beckenbach and Bellman 1983, Bullen et al. 1988, Mitrinović et al. 1993, Alzer 1996). This can be shown as follows. For a,b>0,

 (1/(sqrt(a))-1/(sqrt(b)))^2>=0
(9)
 1/a-2/(sqrt(ab))+1/b>=0
(10)
 1/a+1/b>=2/(sqrt(ab))
(11)
 sqrt(ab)>=2/(1/a+1/b)
(12)
 G>=H,
(13)

with equality iff b=a. To show the second part of the inequality,

 (sqrt(a)-sqrt(b))^2=a-2sqrt(ab)+b>=0
(14)
 (a+b)/2>=sqrt(ab)
(15)
 A>=G,
(16)

with equality iff a=b. Combining (◇) and (◇) then gives (◇).

Given n independent random normally distributed variates X_i, each with population mean mu_i=mu and variance sigma_i^2=sigma^2,

 x^_=1/Nsum_(i=1)^Nx_i
(17)
<x^_>=1/N<sum_(i=1)^(N)x_i>
(18)
=1/Nsum_(i=1)^(N)<x_i>
(19)
=1/Nsum_(i=1)^(N)mu
(20)
=1/N(Nmu)
(21)
=mu,
(22)

so the sample mean is an unbiased estimator of the population mean. However, the distribution of x^_ depends on the sample size. For large samples, x^_ is approximately normal. For small samples, Student's t-distribution should be used.

The variance of the sample mean is independent of the distribution, and is given by

var(x^_)=var(1/nsum_(i=1)^(N)x_i)
(23)
=1/(N^2)var(sum_(i=1)^(N)x_i)
(24)
=1/(N^2)sum_(i=1)^(n)var(x_i)
(25)
=(1/(N^2))sum_(i=1)^(N)sigma^2
(26)
=(sigma^2)/N.
(27)

For small samples, the sample mean is a more efficient estimator of the population mean than the statistical median, and approximately pi/2 less (Kenney and Keeping 1962, p. 211). Here, an estimator of a parameter of a probability distribution is said to be more efficient than another one if it has a smaller variance. In this case, the variance of the sample mean is generally less than the variance of the sample median. The relative efficiency of two estimators is the ratio of this variance.

A general expression that often holds approximately is

 mean-mode approx 3(mean-median)
(28)

(Kenney and Keeping 1962).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.