Weighted geometric mean

In statistics, given a set of data,

X=\{x_1,x_2\dots,x_n\}

and corresponding weights,

W=\{w_1, w_2,\dots,w_n \}

the weighted geometric mean is calculated as

 \bar{x} = \left(\prod_{i=1}^n x_i^{w_i}\right)^{1 / \sum_{i=1}^n w_i} = \quad \exp \left( \frac{\sum_{i=1}^n w_i \ln x_i}{\sum_{i=1}^n w_i \quad} \right)

Note that if all the weights are equal, the weighted geometric mean is the same as the geometric mean.

Weighted versions of other means can also be calculated. Probably the best known weighted mean is the weighted arithmetic mean, usually simply called the weighted mean. Another example of a weighted mean is the weighted harmonic mean.

The second form above illustrates that the logarithm of the geometric mean is the weighted arithmetic mean of the logarithms of the individual values.

See also

This article is issued from Wikipedia - version of the 2/28/2013. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.