Course 2.3Lesson 2 of 3
Change every value in the same way and the summaries change in a simple pattern. Adding a number moves the centre and leaves the spread alone. Multiplying stretches both. This lesson gives the rules for and uses them for changes of unit and for marks. It ends with the change that gives every data set a mean of 0 and a standard deviation of 1.
Try the code and the simulations beside the lesson.
A made-up test is marked out of 40. The seven marks are and . Their mean is 26 and their population standard deviation is 6 marks. The teacher wants percentages, so she multiplies every mark by 2.5. Then she adds a bonus of 5 for a hard question. What happens to the mean and the standard deviation?
Adding 5 to every value slides the whole data set 5 to the right. Every value moves, and so does every centre: the mean, the median and the mode all go up by 5. But the distances between the values do not change. So the range, the IQR, the MAD and the standard deviation stay the same. In the picture, the bonus moves the mean from 65 to 70, and the SD stays 15.
Multiplying every value by 2.5 stretches the data. Every distance between values becomes 2.5 times as large. So the centres and the spreads are all multiplied by 2.5. The mean goes from 26 to 65, and the SD from 6 to 15 marks. The variance, which is a square, is multiplied by , from 36 to 225.
What if the multiplier is negative, such as ? The data is flipped as well as stretched. The mean is multiplied by , but the SD is multiplied by . A spread is never negative.
For a change :
The median follows the same rule as the mean, and the IQR and the range follow the rule of the SD. These rules hold for the sample SD as well.
Changing units. A temperature in degrees Fahrenheit is . A town's daily highs in spring have mean and SD . In Fahrenheit the mean is , and the SD is . The 32 moves the centre only.
You can meet more of these rules, together with combining two groups, in the Maths course on Comparing and Combining Data.
Here is a special change. Subtract the mean from every value, then divide by the standard deviation:
Subtracting the mean moves the centre to 0. Dividing by makes the spread 1. So the new values always have mean 0 and standard deviation 1, whatever the units were. These new values are called z-scores, and the next lesson puts them to work.
You should find that the slider moves the amber dots along without changing their spacing, so only the mean changes. The slider stretches or squeezes them, and with a negative their order is reversed. The SD after is always times the SD before, about .
The program changes the seven marks to percentages, adds the bonus, and prints the mean and the population SD at each step.
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Every lesson is open to read. Enrolling also lets you:
Log in to join the discussion.
Loading…
This lesson is free to read. Enroll free to keep your place and take the tests.