Weighted mean

From Exampleproblems

Jump to: navigation, search
See weight function for the continous case.

In statistics, given a set of data,

X = { x1, x2, ..., xn}

and corresponding weights,

W = { w1, w2, ..., wn}

the weighted mean is calculated as


\bar{x} = \frac{ \sum_{i=1}^n w_i \cdot x_i}{\sum_{i=1}^n w_i}.

Note that if all the weights are equal, the weighted mean is the same as the arithmetic mean. While weighted means generally behave in a similar fashion to arithmetic means, they do have a few counter-intuitive properties, as captured for instance in Simpson's paradox.

Weighted versions of other means can also be calculated. Examples of such weighted means include the weighted geometric mean and the weighted harmonic mean.

See also

es:Media ponderada ru:Среднее взвешенное

visitor stats