Course 2.3Lesson 3 of 3
A z-score says how many standard deviations a value lies above or below the mean. It has no units, so it can compare values from different scales: a mark in two subjects, or two sports. For mound-shaped data, about 68%, 95% and 99.7% of the values lie within 1, 2 and 3 standard deviations of the mean.
Try the code and the simulations beside the lesson.
Aisha scores 72 in Maths and 78 in English in a made-up school test. Her English mark is higher. Is it her better result? It depends on the other students. In Maths the mean was 60 and the SD was 8 marks. In English the mean was 74 and the SD was 5 marks.
The z-score of a value is
It counts how many standard deviations the value lies from the mean. A positive z-score is above the mean, a negative one below it, and 0 is exactly at the mean.
So, compared with the other students, Aisha did better in Maths. Her Maths mark is 1.5 SDs above the mean, while her English mark is less than 1 SD above it. Marks and minutes, metres and seconds all cancel in the division, so a z-score has no units. That is why it can compare values from different scales.
Going back. If you know the z-score, then . In Maths, a z-score of means a mark of .
When smaller is better. In a race, a time below the mean is good, so a good runner has a negative z-score. A long jump is the other way round. Compare two sports by how many SDs each athlete beat the mean, with the sign turned the right way.
Many data sets are mound-shaped: one peak in the middle, roughly symmetric, with values thinning out on both sides. Heights, many measurement errors and the masses of eggs often look like this. For such data a useful rule holds:
Let us test it. The program below makes up 400 heights at random with a fixed seed and counts them. Their mean is about 163.1 cm and their SD about 7.2 cm.
The counts are 277 heights within 1 SD, 384 within 2 SDs and all 400 within 3 SDs. That is , and , close to the rule. The exact areas behind 68, 95 and 99.7 come from the normal distribution, which you can meet in chapter 4 of this collection.
When not to use it. The rule is for mound-shaped data. For skewed data it can be badly wrong. One rule does hold for any shape: at least of the values lie within 2 SDs of the mean, and at least about within 3 SDs. It is called Chebyshev's rule. It promises less, but it never fails.
You should find that a larger SD spreads the bands apart and flattens the mound. With a mean of 163 cm and an SD of 7 cm, about of the heights lie between 149 cm and 177 cm.
The program makes the 400 made-up heights with a fixed seed, finds the z-score of each, and counts how many lie within 1, 2 and 3 standard deviations.
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.