Coded and Combined Data
Shifting every value moves the mean but leaves the spread alone; scaling every value scales both. Knowing this, you can work with simpler "coded" numbers and translate back, and you can merge two groups using their totals.
Learning objectives
- Find the mean and standard deviation from and .
- Know the effect of on the mean and standard deviation.
- Recover and from a mean and standard deviation.
- Combine two data sets into one mean and standard deviation.
Every student's test mark is increased by . What happens to the mean? What happens to the standard deviation?
Core idea
Heights of adults are all around cm. Squaring numbers like , , for a variance is tedious. Subtract first: . The spread is unchanged and the arithmetic is easy. This is coding.
If : and . Equivalently , . Adding/subtracting shifts the mean only; multiplying scales both.
1. Shifting and scaling
- Mean shifts.
- Deviations unchanged.
- So the spread is unchanged.
2. Summary statistics in coded form
Find the mean and SD of , then and .
- Goal
- Four values.
- Strategy
- Work with .
- Add back.
- SD unchanged.
- Undo the coding.
- Rearrange .
°C has mean 20, SD 5. In °F ()?
Summary
- Shift: mean only.
- Scale by : mean and SD × .
- Coding
- Linear transformation of data.
Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.