Introduction to Data Transformations
Data transformations involve changing every value in a data set by applying the same operation, such as adding or multiplying by a constant. These transformations are common in statistics to adjust data for comparison or interpretation. It is important to understand how these changes affect key summary statistics like the mean and standard deviation, which describe the central tendency and spread of the data, respectively.
- Transformations apply the same operation to every data point.
- Mean and standard deviation summarize data location and spread.
- Understanding effects on these measures aids data interpretation.
Effect of Adding a Constant to Each Data Point
When a constant value is added to every data point, the entire data set shifts by that amount. This shift increases the mean by the same constant because the mean is the average of all data points. However, the standard deviation, which measures how spread out the data are, does not change because the relative distances between data points remain the same.
For example, consider the data set: 4, 6, 8. The mean is (4 + 6 + 8) / 3 = 6. If we add 3 to each data point, the new data set is 7, 9, 11. The new mean is (7 + 9 + 11) / 3 = 9, which is 3 more than the original mean. The spread of the data points remains unchanged, so the standard deviation is the same.
- Mean increases by the added constant.
- Standard deviation remains unchanged.
- Data spread is unaffected by uniform shifts.
Effect of Multiplying Each Data Point by a Constant
Multiplying every data point by a constant scales the data set. This operation affects both the mean and the standard deviation. The mean is multiplied by the constant because each data point is scaled. The standard deviation is also multiplied by the absolute value of the constant because the spread between data points is stretched or compressed accordingly.
For example, take the data set: 2, 5, 7 with mean (2 + 5 + 7) / 3 = 4.67. Multiplying each data point by 4 gives 8, 20, 28. The new mean is (8 + 20 + 28) / 3 = 18.67, which is 4 times the original mean. The standard deviation also becomes 4 times larger, reflecting the increased spread.
- Mean is multiplied by the constant.
- Standard deviation is multiplied by the absolute value of the constant.
- Data spread scales proportionally with multiplication.
Summary of Transformation Effects
To summarise, adding a constant shifts the data set without changing its spread, so only the mean changes. Multiplying by a constant scales the data set, affecting both the mean and the spread. These properties allow statisticians to predict how summary statistics change under common transformations, which is useful for data standardisation and comparison.
It is important to note that the standard deviation is always multiplied by the absolute value of the constant because spread cannot be negative.
- Adding constant: mean changes, standard deviation unchanged.
- Multiplying constant: mean and standard deviation both scale.
- Standard deviation scales by absolute value of multiplier.
Worked Example
Suppose a data set has mean 10 and standard deviation 3. If each data point is increased by 5, the new mean is 10 + 5 = 15, and the standard deviation remains 3. If instead each data point is multiplied by -2, the new mean is 10 × (-2) = -20, and the new standard deviation is 3 × 2 = 6 (note the absolute value).
- Adding 5 shifts mean to 15; standard deviation stays 3.
- Multiplying by -2 changes mean to -20; standard deviation to 6.
- Absolute value used for standard deviation scaling.
At-a-glance summary
Comparison table
| Step | Detail | Example | Exam Use |
|---|---|---|---|
| Add a constant | Increase each data point by the same number | Data: 3, 5, 7; add 4 → 7, 9, 11 | Mean increases by 4; standard deviation unchanged |
| Multiply by a constant | Multiply each data point by the same number | Data: 2, 4, 6; multiply by 3 → 6, 12, 18 | Mean and standard deviation both multiplied by 3 |
| Effect on mean | Add constant: mean + constant; multiply constant: mean × constant | Mean 5; add 2 → 7; multiply by 3 → 15 | Calculate new mean after transformation |
| Effect on standard deviation | Add constant: no change; multiply constant: standard deviation × |constant| | SD 2; add 2 → 2; multiply by -3 → 6 | Calculate new SD after transformation |
Active recall
Quick check
1. If you add 7 to every data point in a set with mean 12 and standard deviation 4, what are the new mean and standard deviation?
New mean = 12 + 7 = 19; standard deviation remains 4.
2. If you multiply every data point by -3 in a set with mean 5 and standard deviation 2, what are the new mean and standard deviation?
New mean = 5 × (-3) = -15; new standard deviation = 2 × 3 = 6.
3. Why does adding a constant not change the standard deviation?
Because standard deviation measures spread, and adding a constant shifts all data points equally without changing their relative distances.
