Course 2.3Lesson 3 of 3
Two data sets can have the same mean and a very different spread. Use the standard deviation with the mean when the data is fairly even, and the IQR with the median when there are outliers. Adding the same number to every value leaves the spread unchanged. Multiplying every value by k multiplies the spread by k. The mean and the median change along with the values.
This lesson is free to read. Enroll free to keep your place and take the tests.
Try the code and the simulations beside the lesson.
Two classes both have a mean mark of . Class A has the marks . Class B has the marks .
The mean says that the two classes are the same. But in class B nearly everyone got about , while in class A the marks are far apart. A single average hides this. We need a number for the spread.
| Situation | Best choice | Why |
|---|---|---|
| The data is fairly even, and you use the mean | Standard deviation | It uses every value. |
| The data has outliers, and you use the median | IQR | The extreme values are not in the middle half. |
| You want a quick look | Range | Two values are enough, but watch for outliers. |
A pair that goes together: the mean with the standard deviation, and the median with the IQR. A report that says "the median is " should add "and the IQR is ".
Look at the last two lines of the program.
The mean and the median move with every change: they go up by when we add , and they double when we multiply by .
You should find that the slider for a moves the dots without changing the range or the standard deviation. The slider for k pulls the dots apart, and both measures of spread grow k times.
A real example: temperatures in degrees Celsius have a mean of and a standard deviation of . In kelvin we add , so the mean becomes , and the standard deviation is still . In degrees Fahrenheit, , the standard deviation becomes degrees Fahrenheit, because the scale is stretched by .
A small spread means that the data is consistent, and the mean is a good guide to a single value. A large spread means that the mean is a poor guide. A bus that comes on average every minutes, with a spread of minute, is a good bus. With a spread of minutes, you may wait minutes, or see two buses together.
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…