Weighted median
A weighted median divides the ordered weight of observations into two halves. It is useful when observations represent unequal numbers of items or people.
Remembering
Weights are nonnegative and their total must be positive. Cumulative weight is the running total after the observations have been sorted by value.
Understanding
A weighted median leaves at most half the total weight strictly below it and at most half strictly above. When exactly half falls on either side of an interval, a convention can select a particular reported value.
Applying
Values 10, 20 and 30 have weights 1, 5 and 2. Cumulative weights are 1, 6 and 8. The middle weight falls at 20, so 20 is the weighted median.
Analyzing
The weighted mean of the same observations is 170/8 = 21.25. It uses the numerical distances between values in addition to their ordering and weights.
Evaluating
Check what each weight stands for. A population weight and a subjective importance score can generate the same calculation but answer different questions.
Creating
Design a three-location example in which the ordinary and weighted medians differ. Show the sorted cumulative weights and state the convention for an exact half.
Related study: Average.
Further reading from NIST/SEMATECH, Measures of Scale and R statistics, Sample Quantiles. Explanations and examples by BloomWiki.