Combining group means requires keeping the group sizes

Group A contains ten scores with a mean of sixty. Group B contains thirty scores with a mean of eighty. What is the mean of all forty scores together?

Averaging sixty and eighty gives seventy, but that calculation treats the two groups as equally large. They are not. Group B contains three times as many scores as Group A, so its mean must have three times as much weight in the combined calculation.

Ten scores with mean sixty and thirty scores with mean eighty combine to give a weighted mean of seventy five

Recover the totals before combining the groups

The arithmetic mean equals the sum of the values divided by their number. Rearranging that relationship gives the sum as the mean multiplied by the number of values.

For Group A, the total is 10 × 60 = 600. For Group B, it is 30 × 80 = 2400. Together the groups have a total of 3000 across forty scores. Their combined mean is therefore 3000/40 = 75.

This method does not assume that every score in Group A equals sixty. The individual scores may vary. Their mean tells us their total when we also know how many scores there are. The same reasoning applies to Group B.

The groups must be non-overlapping if we intend to count every original score once. If a score appears in both groups, adding the group totals counts it twice and changes the question being answered.

The denominator is the total weight

For two groups with sizes n₁ and n₂ and means m₁ and m₂, the combined mean is (n₁m₁ + n₂m₂)/(n₁ + n₂). Each size multiplies its own group's mean.

The denominator is not two merely because there are two groups. It is the total number of original values. Dividing by two after forming the weighted total would mix a total of scores with a count of groups.

When the group sizes are equal, the formula does reduce to the ordinary mean of the two means. For example, ten scores with mean sixty and another ten with mean eighty have a combined mean of seventy. Equal weighting is valid there because the groups genuinely contain equal numbers of observations.

Relative weights give the same answer

In the original example, Group A supplies ten of the forty scores, or one quarter. Group B supplies three quarters. We can therefore calculate the result as 0.25 × 60 + 0.75 × 80 = 75.

These relative weights add to one. The counts ten and thirty do not add to one, but dividing their weighted total by forty provides the same normalization.

Multiplying every weight by the same positive number leaves a weighted mean unchanged. We could use weights one and three instead of ten and thirty: (1 × 60 + 3 × 80)/4 is still seventy-five. The ratio of the weights matters, not their common scale.

The result should fit the numbers

With positive weights, a weighted mean lies between the smallest and largest values being averaged. Here it must lie between sixty and eighty.

It should also sit closer to eighty because that value has more weight. Seventy-five is five units below eighty and fifteen units above sixty. The distances reflect the three-to-one weighting in the opposite direction.

These observations provide useful checks, but they do not replace the calculation. Many numbers lie between sixty and eighty. Only the correct weights determine the required result.

A mean does not describe every feature of the data

The combined mean alone cannot tell us the highest score, the lowest score, the median, or how widely the scores are spread. Different collections of forty scores can share the same total and therefore the same mean.

The values must also measure the same quantity on a compatible scale. Combining scores expressed out of ten with scores expressed out of one hundred requires a decision about conversion before any average has a clear meaning.

Finally, rounded group means may produce only an approximate combined mean. Keep the original precision when it is available, carry the group sizes with their means, and round the final answer only as needed.

More educational resources at academiamastertrader.com.br.

https://academiamastertrader.com.br/materiais/aprenda/