# Weighted mean

Talk0*34,141*pages on

this wiki

Assessment |
Biopsychology |
Comparative |
Cognitive |
Developmental |
Language |
Individual differences |
Personality |
Philosophy |
Social |

Methods |
Statistics |
Clinical |
Educational |
Industrial |
Professional items |
World psychology |

**Statistics:**
Scientific method ·
Research methods ·
Experimental design ·
Undergraduate statistics courses ·
Statistical tests ·
Game theory ·
Decision theory

*See weight function for the continuous case.*

The **weighted mean**, or **weighted average**, of a non-empty list of data

with corresponding non-negative weights

at least one of which is positive, is the quantity calculated by

which means:

So data elements with a high weight contribute more to the weighted mean than do elements with a low weight.

If all the weights are equal, then 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.

The notion of weighted mean plays a role in descriptive statistics and also occurs in a more general form in several other areas of mathematics.

## ExampleEdit

Let's say we had two school classes, one with 20 students, and one with 30 students. The grades in each class on a particular test were:

- Morning class = 62, 67, 71, 74, 76, 77, 78, 79, 79, 80, 80, 81, 81, 82, 83, 84, 86, 89, 93, 98

- Afternoon class = 81, 82, 83, 84, 85, 86, 87, 87, 88, 88, 89, 89, 89, 90, 90, 90, 90, 91, 91, 91, 92, 92, 93, 93, 94, 95, 96, 97, 98, 99

The straight average for the morning class is 80% and the straight average of the afternoon class is 90%. If we were to find a straight average of 80% and 90%, we would get 85% for the mean of the two class averages. However, this is not the average of all the students' grades. To find that, you would need to total all the grades and divide by the total number of students:

Or, you could find the weighted average of the two class means already calculated, using the number of students in each class as the weighting factor:

Note that if we no longer had the individual students' grades, but only had the class averages and the number of students in each class, we could still find the mean of all the students grades, in this way, by finding the weighted mean of the two class averages.

## Convex combinationEdit

Since only the *relative* weights are relevant, any weighted mean can be expressed using coefficients that sum to one. Such a linear combination is called a convex combination.

Using the previous example, we would get the following:

This simplifies to:

## Dealing with varianceEdit

For the weighted mean of a list of data for which each element comes from a different probability distribution with known variance , one possible choice for the weights is given by:

The weighted mean in this case is:

and the variance of the weighted mean is:

which reduces to , when all .

The significance of this choice is that this weighted mean is the maximum likelihood estimator of the mean of the probability distributions under the assumption that they are independent and normally distributed with the same mean.

## See alsoEdit

## ReferencesEdit

- Bevington, Philip.
*Data Reduction and Error Analysis for the Physical Sciences.*

## External linksEdit

cs:Vážený průměr es:Media ponderada eo:Vikipedio:Projekto matematiko/Pesita meznombro fr:Moyenne pondérée nl:Gewogen gemiddelderu:Среднее взвешенное fi:Painotettu keskiarvo

This page uses Creative Commons Licensed content from Wikipedia (view authors). |