01 · Shift a mean
A dataset has mean 18 and SD 4. Add 7 to every observation. Give the new mean and SD.
Hint
Only the centre changes.
Worked solution
New mean = 25; SD = 4.
Understand · explore · practise
Transform means, variances and standard deviations under shifts and signed scales, then decode coded summaries. Explore fifteen transformations and original worked practice.
Before you startMeans, variance, standard deviation and solving linear equations.
01 / Transform every observation
If y = ax + b, then mean(y) = a mean(x) + b.
Variance(y) = a² variance(x); SD(y) = |a| SD(x).
The added constant shifts all values equally, so it changes the centre without changing distances between observations. Multiplication changes distances by its absolute magnitude. A negative multiplier also reverses their order.
Original values: 2, 4, 6. Mean 4; descriptive variance 8/3.
y = x; values: 2, 4, 6.
Mean = 4.
Variance = 8/3; SD ≈ 1.632993.
A positive multiplier preserves order.
02 / Add or subtract a constant
New mean = old mean − 2
The centre shifts with every observation.
(x − 2) − (x̄ − 2) = x − x̄
The deviation from the mean is unchanged.
Variance and SD are unchanged
The same squared deviations are being averaged.
A dataset has mean 18 and SD 4. Add 7 to every observation. Give the new mean and SD.
Only the centre changes.
New mean = 25; SD = 4.
Subtract 100 from every value in a dataset with variance 9. Find the new variance.
The subtraction cancels in each deviation.
The variance remains 9; it is not 9 − 100.
03 / Multiply distances
Pause, replay or seek freely. The notes explain the same idea and stay in view.
If every observation doubles, its deviation from the new mean doubles. Its squared deviation is multiplied by four. Thus SD doubles while variance quadruples.
A dataset has mean 5, variance 9 and SD 3. Multiply every value by 4. Give all three summaries.
Mean and SD multiply by four; variance by sixteen.
Mean = 20; variance = 144; SD = 12.
A duration dataset in hours has mean 1.5 and SD 0.2. Convert the mean, SD and variance to minutes.
Multiply observations by 60.
Mean = 90 minutes; SD = 12 minutes; variance = 144 minutes². The original variance 0.04 hours² is multiplied by 60².
04 / Handle negative and zero multipliers
Mean(x) = 6 and SD(x) = 2. For y = 10 − 3x, find mean(y), variance(y) and SD(y).
The multiplier is −3.
Mean(y) = 10 − 18 = −8. SD(y) = 3×2 = 6; variance(y) = 36.
For y = 0x + 7, find the mean and SD of y for any non-empty dataset x. Can you recover x?
Every transformed observation is seven.
Mean(y) = 7 and SD(y) = 0. No: the transformation discards all information about individual x values.
05 / Invert the coding equation
x = 5y + 100
Rearrange before translating summaries.
Mean(x) = 5×2 + 100 = 110
Restore both scale and location.
SD(x) = 5×3 = 15; variance(x) = 225
No 100 is added to the spread.
y = (x − 50)/10 has mean(y) = −0.4 and variance(y) = 2. Find mean(x), variance(x) and SD(x).
x = 10y + 50.
Mean(x) = 46; variance(x) = 100×2 = 200; SD(x) = 10√2 ≈ 14.142.
y = (20 − x)/4 has mean(y) = 3 and SD(y) = 1.5. Find mean(x) and SD(x).
x = 20 − 4y.
Mean(x) = 8; SD(x) = 4×1.5 = 6. The negative multiplier does not make the SD negative.
06 / Use coded sums
Ten coded values y = (x − 80)/4 have Σy = 15 and Σy² = 45. Find the original mean and descriptive variance.
Mean(y) = 1.5; variance(y) = 45/10 − 1.5².
Coded variance = 2.25. Mean(x) = 4×1.5 + 80 = 86. Variance(x) = 16×2.25 = 36, so SD(x) = 6.
For the same ten observations, find Σx directly from Σy.
Sum x = 4y + 80 across ten observations.
Σx = 4Σy + 10×80 = 60 + 800 = 860. Add the offset once per observation, not once for the whole sum.
07 / Track order as well as scale
For a positive multiplier, quartile values transform with the same formula as observations under the stated rank convention. For a negative multiplier, ordering reverses: the new lower quartile comes from the old upper quartile. Range and IQR scale by |a|; adding b does not change them.
Using the same quartile convention, Q₁(x) = 4 and Q₃(x) = 10. For y = 20 − 2x, find the new quartiles and IQR.
The largest original values become the smallest transformed values.
Q₁(y) = 20 − 2×10 = 0; Q₃(y) = 20 − 2×4 = 12; IQR(y) = 12 = 2×(10 − 4).
A learner uses SD(3x + 5) = 3 SD(x) + 5. Explain the error.
An equal shift cannot change distances.
Only the scale affects SD. The correct result is 3 SD(x); adding five shifts the mean and each observation equally.
08 / Decode centre and spread separately
Means transform with both scale and offset. Standard deviations use the absolute scale alone; variances use its square. Keep track of units and do not use an inverse transformation when the multiplier is zero.
Section 1 of 8 · Transform every observation