Consider a set of numbers having variance 4. In this set, the mean of first numbers is 6 and the mean of the remaining numbers is 3. A new set is constructed by adding 1 into each of the first numbers, and subtracting 1 from each of the remaining numbers. If the variance of the new set is , then is equal to ______.
Solution
Core idea. Unequal shifts change the variance; the sum of squares must be recomputed.
Concept refresher. For observations with mean and variance , the sum is and the sum of squares is
Picture the situation. The set has two groups, of sizes and , with different means. One group is moved up by 1 and the other down by 1, so the groups move apart and the spread changes. The variance of the new set is found from its sum and its sum of squares, each of which changes in a way that depends only on the group totals.
Approach. Find the original totals, update them for the two shifts, and compute the new variance.
Step 1: The original totals
The first numbers total and the other total , so the sum is and the mean is 5. The sum of squares is .
Step 2: The new totals
Since and , the new sum of squares is
The new sum is .
Step 3: The new variance
The new mean is , so , and .
Answer. 68
Sanity check. The two groups are pushed further apart, from means 6 and 3 to means 7 and 2, so the variance must rise above 4; it becomes about 7.6.
Common wrong answers
- 36: Treating the change as a single shift and keeping the variance at 4 gives 36; the two groups move in opposite directions, so the spread changes.
Key takeaway
The trap. Only a common shift of all the numbers leaves the variance alone.
How toppers think. They update the sum of squares with twice the group totals.
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 ›