Calculates the weighted mean as Σ(value × weight) ÷ Σweight. It is used for grades with different credits, or classes of different sizes. List the same number of values and weights.
A weighted mean is an average in which each value carries its own importance. A plain mean treats every value as equal, but in practice they rarely are.
Here is a value and is its weight. If all the weights are equal, this reduces to the ordinary mean.
Take the values 80, 70, 90 with weights 2, 3, 1 — for instance a score of 80 in a two-credit course, 70 in a three-credit course and 90 in a one-credit course.
The unweighted average would be . The heavily weighted 70 pulls the result down to 76.67.
The weights must not add up to zero, since that would leave nothing to divide by.