Maths4UBETA

Maths4U · Learning together

Weighted means and combined moments

← Frequency tables, grouped estimates and median interpolationCorrected records, missing observations and reverse problems →

Notes

Objective

Combine at most two data sets through compatible totals, keeping within-group and between-group spread distinct.

Before you start

Order data, read a frequency table and retain exact fractions. Mixed-topic written tasks also use descriptive variance and SD, introduced in the first lesson.

Key ideas

Weight group means by their counts

xˉall=nAxˉA+nBxˉBnA+nB.\bar{x}_{\rm all}=\frac{n_A\bar{x}_A+n_B\bar{x}_B}{n_A+n_B}.

The unweighted average works only for equal group sizes or coincident means. For positive group sizes and distinct means, the combined mean lies strictly between them.

Group sizes determine the location of the combined mean

Combine square-sums, not SDs

Si=nixˉi,Ti=ni(σi2+xˉi 2).S_i=n_i\bar{x}_i,\qquad T_i=n_i(\sigma_i^2+\bar{x}_i^{\,2}).σall2=TA+TBnA+nB−xˉall 2.\sigma_{\rm all}^2=\frac{T_A+T_B}{n_A+n_B}-\bar{x}_{\rm all}^{\,2}.

Different group centres add between-group spread. Averaging the SDs misses it. Pooling two observed groups is not the same operation as adding two independent random variables.

A target mean can determine a group size

Keep the unknown size in the total count and the weighted sum. Verify that it is a positive integer and that the target mean is feasible.

Put both groups on a common scale first

Decode different origins or units separately, then combine original totals. Adding two differently coded sums as though they measured the same thing is invalid.

Method

  1. Identify the observation count, measurement units and requested measure.
  2. Keep exact totals and distinguish raw values from grouped estimates.
  3. Restore every original count, coding or value condition.
  4. State the complete result and justify a contextual choice separately.

Common mistakes

  • Do not average unequal-size group means without weights.
  • Never average SDs to obtain a pooled SD.
  • Between-group differences can increase pooled spread.
  • Decode both groups to compatible original units before pooling.

Worked examples

Unequal groups pull the combined mean unequally

Four observations have mean 10 and six have mean 20. Find the combined mean.

Follow the solutionxˉ=4(10)+6(20)10=16.\bar{x}=\frac{4(10)+6(20)}{10}=16.

The answer is closer to 20 because the second group is larger.

Reconstruct both moments before pooling

A group of 3 has mean 8 and population SD 2; a group of 2 has mean 13 and population SD 3. Find the combined mean and variance.

Follow the solutionS=24+26=50,T=3(64+4)+2(169+9)=560.\begin{aligned}S&=24+26=50,\\T&=3(64+4)+2(169+9)\\&=560.\end{aligned}xˉ=10,σ2=5605−102=12.\begin{aligned}\bar{x}&=10,\\\sigma^2&=\frac{560}{5}-10^2=12.\end{aligned}

Both the within-group spread and the difference of the two centres contribute.

Recover an unknown count from a target mean

Six values have mean 12. An additional group has mean 18. The combined mean is 16. How many values are in the additional group?

Follow the solution72+18n=16(6+n)⇒n=12.\begin{gathered}72+18n=16(6+n)\\\Rightarrow\quad n=12.\end{gathered}

The count is a positive integer and the target lies between 12 and 18.

Different coding origins need separate decoding

Group A has 4 values with ∑(x−10)=8\sum(x-10)=8; B has 6 values with ∑(y−20)=−12\sum(y-20)=-12. Both measure the same quantity. Find the combined mean.

Follow the solutionSA=48,SB=108,xˉall=15610=15.6.\begin{aligned}S_A&=48,\\S_B&=108,\\\bar{x}_{\rm all}&=\frac{156}{10}=15.6.\end{aligned}

The sum of the two coded totals, −4, would not be an original measurement total.

Practise this topic