Math Lab
Home/Class XI/Ch 13/Combined mean and SD; effect of transformations

Combined mean and SD; effect of transformations

When two datasets are joined into one, we need formulas for the combined mean and combined variance. We also need to know how the mean and SD change when each observation undergoes a linear transformation.

Effect of a linear transformation y=a+bxy = a + b x

If yi=a+bxiy_i = a + b x_i for i=1,,ni = 1, \dots, n, then:

  • Mean. yˉ=a+bxˉ\bar{y} = a + b \bar{x}.
  • Variance. σy2=b2σx2\sigma_y^2 = b^2 \sigma_x^2.
  • Standard deviation. σy=bσx\sigma_y = |b| \sigma_x.

In words: the mean shifts by aa and scales by bb; the SD only scales by b|b| (it ignores the shift).

Combined mean

Suppose dataset 1 has n1n_1 observations with mean xˉ1\bar{x}_1 and dataset 2 has n2n_2 observations with mean xˉ2\bar{x}_2. The combined mean of all n1+n2n_1 + n_2 observations is the weighted average: xˉ12=n1xˉ1+n2xˉ2n1+n2.\bar{x}_{12} = \frac{n_1 \bar{x}_1 + n_2 \bar{x}_2}{n_1 + n_2}.

Combined variance

The combined variance is more involved. With di=xˉixˉ12d_i = \bar{x}_i - \bar{x}_{12}: σ122=n1(σ12+d12)+n2(σ22+d22)n1+n2.\sigma_{12}^2 = \frac{n_1 (\sigma_1^2 + d_1^2) + n_2 (\sigma_2^2 + d_2^2)}{n_1 + n_2}.

The terms di2d_i^2 account for the deviation of each subgroup's mean from the combined mean. If both subgroups have the same mean, the formula reduces to a straightforward weighted average of variances.

Why combined variance contains di2d_i^2 terms

In each subgroup, σi2\sigma_i^2 measures spread around xˉi\bar{x}_i , not around the combined mean. To get spread around the combined mean, we add the "between-group" contribution di2d_i^2.

Worked examples

Example 1. Mean of 2020 items is 5050, SD is 55. Each is multiplied by 33 and then 44 is added (so yi=4+3xiy_i = 4 + 3 x_i). Find new mean and SD.

yˉ=4+350=154\bar{y} = 4 + 3 \cdot 50 = 154. σy=35=15\sigma_y = 3 \cdot 5 = 15.

Example 2. Group A: 5050 items, mean 2020, SD 44. Group B: 4040 items, mean 3030, SD 55. Find combined mean and SD.

xˉ12=(5020+4030)/90=(1000+1200)/90=24.44\bar{x}_{12} = (50 \cdot 20 + 40 \cdot 30)/90 = (1000 + 1200)/90 = 24.44.

d1=2024.44=4.44d_1 = 20 - 24.44 = -4.44, d2=3024.44=5.56d_2 = 30 - 24.44 = 5.56.

σ122=(50(16+19.75)+40(25+30.86))/90=(5035.75+4055.86)/90=(1787.5+2234.4)/90=4021.9/9044.69\sigma_{12}^2 = (50(16 + 19.75) + 40(25 + 30.86))/90 = (50 \cdot 35.75 + 40 \cdot 55.86)/90 = (1787.5 + 2234.4)/90 = 4021.9/90 \approx 44.69.

σ126.68\sigma_{12} \approx 6.68.

Example 3. A group of 2525 students has mean weight 4040 kg and SD 33. Another group of 3030 has mean 4545 and SD 44. Find the combined SD.

xˉ12=(2540+3045)/55=(1000+1350)/55=42.73\bar{x}_{12} = (25 \cdot 40 + 30 \cdot 45)/55 = (1000 + 1350)/55 = 42.73.

d1=2.73d_1 = -2.73, d2=2.27d_2 = 2.27.

σ122=(25(9+7.45)+30(16+5.15))/55=(411.25+634.55)/55=19.01\sigma_{12}^2 = (25(9 + 7.45) + 30(16 + 5.15))/55 = (411.25 + 634.55)/55 = 19.01.

σ124.36\sigma_{12} \approx 4.36.

Example 4. If y=(x50)/4y = (x - 50)/4 and yˉ=2,σy=3\bar{y} = 2, \sigma_y = 3, find xˉ\bar{x} and σx\sigma_x.

x=50+4yx = 50 + 4 y. xˉ=50+42=58\bar{x} = 50 + 4 \cdot 2 = 58. σx=43=12\sigma_x = 4 \cdot 3 = 12.

Example 5. The mean and SD of 1010 observations are 3030 and 55. By mistake one observation was recorded as 2020 instead of 4040. Find the corrected mean and SD.

Original x=300\sum x = 300. Corrected x=30020+40=320\sum x = 300 - 20 + 40 = 320. Corrected mean =32= 32.

Original σ2=25x2/10900=25x2=9250\sigma^2 = 25 \Rightarrow \sum x^2 / 10 - 900 = 25 \Rightarrow \sum x^2 = 9250.

Corrected x2=9250400+1600=10450\sum x^2 = 9250 - 400 + 1600 = 10450.

New σ2=10450/10322=10451024=21\sigma^2 = 10450/10 - 32^2 = 1045 - 1024 = 21. σ=214.58\sigma = \sqrt{21} \approx 4.58.

Try it yourself

  1. Mean of 5050 items is 3030, SD is 44. Find the new mean and SD if each is multiplied by 22.
  2. Mean of 2525 items is 2020, SD 44. A new item 8080 is added. Find new mean and SD.
  3. Two groups: n1=100,xˉ1=50,σ1=5n_1 = 100, \bar{x}_1 = 50, \sigma_1 = 5; n2=200,xˉ2=55,σ2=6n_2 = 200, \bar{x}_2 = 55, \sigma_2 = 6. Combined mean and SD.
  4. SD of nn observations is kk. What is the SD of these observations plus 77?
  5. If xˉ=35,σ=8\bar{x} = 35, \sigma = 8, and y=5(x30)y = 5(x - 30), find yˉ,σy\bar{y}, \sigma_y.
  6. The SD of 55 numbers 4,5,6,7,84, 5, 6, 7, 8 is , compute. If each is multiplied by 33, find new SD.
  7. Combined mean of two sets is 5050. First set: 2020 items mean 4545. If second set has 3030 items, find its mean.
  8. The mean of 2020 items is 4040. After deleting one item the new mean of 1919 items becomes 4242. Find the deleted item.
  9. Mean and SD of 100100 observations were 5050 and 88. Two items recorded 3030 and 7070 should be 3535 and 7575. Find corrected mean and SD.
  10. For n1=60,xˉ1=25,n2=40,xˉ2=30n_1 = 60, \bar{x}_1 = 25, n_2 = 40, \bar{x}_2 = 30, find combined mean.
  11. If σy\sigma_y is the SD when yi=a+bxiy_i = a + b x_i, prove σy=bσx\sigma_y = |b| \sigma_x.
  12. SD of a,b,ca, b, c is σ\sigma. Find SD of 5a,5b,5c5a, 5b, 5c.

Pitfalls / Tricks

  • Always use the weighted-average formula for combined means.
  • For combined variance, do not just average σ12\sigma_1^2 and σ22\sigma_2^2 , add the between-group d2d^2 terms.
  • Shifts (+a+a) don't affect SD; scales (×b\times b) do, by b|b|.
  • Insight. Variance decomposes into within-group and between-group parts , a foundational idea in statistics that returns in Class XII probability and beyond.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Combined statistics
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6