Consider the statistics of two sets of observations as follows:
Observation I: size 10, mean 2, variance 2
Observation II: size , mean 3, variance 1
If the variance of the combined set of these two observations is , then the value of is equal to ______.
Solution
Core idea. A combined variance includes the gap between the group means.
Concept refresher. For two groups of sizes , with variances , , whose means lie at distances , from the combined mean, the combined variance is
Picture the situation. Two sets of observations with different means are pooled. The combined mean lies between the two means, closer to the mean of the larger set. The combined variance has two parts: the weighted average of the two variances, and a part that comes from the gap between the two means.
Approach. Express the combined variance in terms of the unknown size and solve.
Step 1: The combined mean
The combined set has observations. The means 2 and 3 differ by 1, and the combined mean divides this gap in the ratio of the sizes: it is above 2 and below 3.
Step 2: The combined variance
The combined variance is the weighted average of the variances plus the weighted average of the squared distances, which simplifies to .
Step 3: Solve
Setting this equal to and multiplying by gives
so , that is . The positive root is .
Answer. 5
Sanity check. For this value the combined variance is .
Common wrong answers
- 1: Leaving out the gap term gives and , which rounds to 1 but is not a whole number of observations.
Key takeaway
The trap. The gap term depends on both sizes, not just on the difference of the means.
How toppers think. They substitute the answer back to confirm the given variance.
Remember.
More on Variance & Standard Deviation
- A set of four observations has mean 1 and variance 13. Another set of six observations has mean 2 and…
- Let the mean and the variance of seven observations 2, 4, α, 8, β, 12, 14, α < β, be 8 and 16 respectively…
- A data consists of 20 observations x₁, x₂, …, x₂₀. If Σi=1²⁰(xi + 5)² = 2500 and Σi=1²⁰(xi - 5)² = 100, then…
- All 93 on Variance & Standard Deviation ›