Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Methods | Statistics | Clinical | Educational | Industrial | Professional items | World psychology |
- 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
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.
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.
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.
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
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.
- Bevington, Philip. Data Reduction and Error Analysis for the Physical Sciences.
|This page uses Creative Commons Licensed content from Wikipedia (view authors).|