Statistics

Weighted Median

Children arrange value tiles with piles of counters for their weights.

Weighted Median definition

A weighted median is a value with at most half the total weight strictly below it and at most half strictly above it.

In Spanish
mediana ponderada
Topic
Measures of center

Weighted Median in a picture

Weighted Median diagramValues 1, 3, and 8 with weights 1, 5, and 2 have weighted median 3.Values: 1, 3, 8Weights: 1, 5, 2Total weight: 8The halfway mark is 4Cumulative weights: 1, 6, 8The first passage of 4 is at 3
Values 1, 3, and 8 with weights 1, 5, and 2 have weighted median 3.

How it works

Sort the values, combine weights for ties, and accumulate the nonnegative weights. If the cumulative weight passes one half at a value, that value is the weighted median. If it lands exactly at one half between values, an interval qualifies and software may use a specific convention, such as the midpoint.

Worked examples

Find the weighted median for 2 and 9 with weights 6 and 2.

2. Its cumulative weight already exceeds half of 8.

Find it for 2, 4, 8 with weights 1, 1, 1.

4, the ordinary median.

If values 2 and 6 have equal weights, which value does the midpoint convention report?

4. Any value from 2 to 6 meets the two half-weight conditions.

Common mistake

Add the weights cumulatively. Averaging values with weights computes the weighted mean instead.

Quick check

Which quantile is the weighted median?

Can all weights be zero?

Show answer

No, the total weight must be positive.

Can one value with over half the total weight determine the median?

Show answer

Yes.

Sources

Flashcard

Weighted Median

Reveal the definition

A weighted median is a value with at most half the total weight strictly below it and at most half strictly above it.

Effortless Math. “Weighted Median.” Math Dictionary.