Total = n × mean. Combined mean = (n₁x̄₁ + n₂x̄₂)/(n₁ + n₂). Corrected mean = (old total − wrong value + right value)/n.
| x | 5 | 10 | 15 | 20 | 25 |
|---|---|---|---|---|---|
| f | 2 | 4 | p | 6 | 3 |
| x | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| f | 3 | 5 | 7 | 6 | 4 | 5 |
Key takeaways. Convert every mean into a total before doing anything else. Weight combined means by group size. For a raw-data median with an even count, use both middle positions. When solving for a missing frequency in the median formula, check afterwards that the median class you assumed is correct.