Skip to content

Mathematics · Ch 8 — Measures of Dispersion

Standard Deviation for Combined Data

8.3

Standard Deviation for Combined Data

When two data sets (groups) are pooled into one combined data set, the mean and standard deviation of the combined set can be computed directly from the size, mean and standard deviation of each group, without going back to the individual observations. If a first group has n1n_1 items, mean xˉ1\bar{x}_1 and standard deviation σ1\sigma_1, and a second group has n2n_2 items, mean xˉ2\bar{x}_2 and standard deviation σ2\sigma_2, the mean of the combined data of size n1+n2n_1+n_2 is the size-weighted average: xˉc=n1xˉ1+n2xˉ2n1+n2\bar{x}_c = \frac{n_1\bar{x}_1 + n_2\bar{x}_2}{n_1+n_2} The standard deviation of the combined series is σc=n1(σ12+d12)+n2(σ22+d22)n1+n2\sigma_c = \sqrt{\frac{n_1\big(\sigma_1^2+d_1^2\big) + n_2\big(\sigma_2^2+d_2^2\big)}{n_1+n_2}} where d1=xˉ1−xˉcd_1 = \bar{x}_1 - \bar{x}_c and d2=xˉ2−xˉcd_2 = \bar{x}_2 - \bar{x}_c measure how far each group's own mean is offset from the combined mean. These d2d^2 correction terms are essential: simply averaging the two variances would understate the true spread of the pooled data whenever the two groups are centred at different means, since part of the combined spread then comes from the groups' means being apart, not only from the spread within each group.

Worked Example (Ex.1): Two samples of sizes n1=10n_1=10 and n2=20n_2=20 have means xˉ1=24,xˉ2=45\bar{x}_1=24,\bar{x}_2=45 and standard deviations σ1=6,σ2=11\sigma_1=6,\sigma_2=11. Combined mean: xˉc=10(24)+20(45)30=114030=38\bar{x}_c = \frac{10(24)+20(45)}{30} = \frac{1140}{30} = 38. Then d1=24−38=−14d_1 = 24-38=-14 and d2=45−38=−7d_2=45-38=-7. Combined variance =10(62+142)+20(112+72)30=10(232)+20(170)30=2320+340030=572030≈190.67= \frac{10(6^2+14^2)+20(11^2+7^2)}{30} = \frac{10(232)+20(170)}{30} = \frac{2320+3400}{30} = \frac{5720}{30} \approx 190.67, so the combined S.D. is σc=190.67≈13.81\sigma_c = \sqrt{190.67} \approx 13.81. …

Misc Ex.1Combined S.D. of two samples (sizes 10 and 20)

Worked out. Given the sizes, means (24 and 45) and standard deviations (6 and 11) of two samples, finds the combined mean and combined standard deviation of the pooled sample of size 30. …

Misc Ex.2Finding an unknown group's mean and S.D. from combined statistics

Worked out. Given the size, mean and variance of a first group of 100 items, and the size, mean and variance of the combined group of 250 items, works backward to find the size, mean and standard deviation of the second group. …