YYNotes

Concepts and Methods

#公开示例#公式

Understanding the Weighted Mean

Understand how weights affect a result through a simple example with formulas, tables, and bilingual notes.

0 highlights0 highlights

Learning Objectives

  • Understand the difference between the arithmetic mean and the weighted mean.
  • Check the sum of weights and interpret the result.

Key Concepts

The arithmetic mean gives every value equal weight. The weighted mean allows values to have different levels of importance.

Public example: the numbers only demonstrate KaTeX formulas and tables in a note.

Main Content

From Equal to Unequal Weights

The arithmetic mean of 8080 and 9090 is:

xˉ=80+902=85.\bar{x} = \frac{80 + 90}{2} = 85.

With corresponding weights 0.40.4 and 0.60.6, the weighted mean becomes:

xˉw=0.4×80+0.6×90=86.\bar{x}_w = 0.4 \times 80 + 0.6 \times 90 = 86.
ValueWeightContribution
800.432
900.654
Total1.086

Check the General Form

If the weights have not been normalized, divide by their sum:

xˉw=∑i=1nwixi∑i=1nwi,∑i=1nwi≠0.\bar{x}_w = \frac{\sum_{i=1}^{n} w_i x_i}{\sum_{i=1}^{n} w_i}, \qquad \sum_{i=1}^{n} w_i \ne 0.

For nonnegative weights that are not all zero, the result lies between the smallest and largest input values. Here, 8686 lies between 8080 and 9090 and is closer to the more heavily weighted 9090.

Summary

Identify what each weight means, check whether normalization is needed, and interpret the result. Equal weights reduce the weighted mean to the arithmetic mean.