DESCRIPTIVE DATA CHECKS

Checking equal ranges with different interior values

The range uses only the smallest and largest values. Two lists with the same range of 10 can have population variances of 25 and 12.5, and this guide shows the interior values that cause it.

Same ends, different middles

List one is 0, 0, 10, 10 and list two is 0, 5, 5, 10. Both have a minimum of 0 and a maximum of 10, so both have a range of 10. Both have a mean of 5. If you stopped at the range and the mean, the lists would look identical. Their shapes differ. List one has all of its values at the extremes. List two has half of its values at the center. The population variance of list one is 25 and that of list two is 12.5, so list one is twice as variable by that measure. The page computes the range of list one and the variance of both lists.

How the variance sees the interior

Variance averages the squared distance of every value from the mean. List one has deviations of -5, -5, 5, 5, whose squares are 25 each, and their average is 25. List two has deviations of -5, 0, 0, 5, whose squares are 25, 0, 0 and 25, adding up to 50, and their average is 12.5. The two interior values in list two contribute nothing, because they sit at the mean. Range reads only the two end values, which are the same in both lists. Any summary that uses every observation, including variance, standard deviation and the mean absolute deviation, responds to the change in the middle.

A third list that goes the other way

Try 0, 1, 9, 10. The range is 10 again and the mean is 5. The deviations are -5, -4, 4 and 5, with squares of 25, 16, 16 and 25, which add up to 82, so the variance is 20.5. This sits between the other two. The three lists show a sequence of 12.5, 20.5 and 25, all with a range of 10. Moving a pair of interior values from 5 toward the ends raises the variance continuously while the range never moves. The range is a coarse summary, and it ignores everything between the two extreme observations. Mean and range together also fail to pin down a list: for any mean and range there are infinitely many lists with those two values, and their variances can differ by a large factor. For lists of four values with minimum 0, maximum 10 and mean 5, the variance runs from 12.5 when the interior values both equal 5 up to 25 when they sit on the endpoints.

Range grows with sample size

There is a second weakness. As a sample grows, the range can only stay the same or increase, because a new observation can be a new minimum or maximum but cannot remove an old one. Two groups with the same underlying variability can show different ranges only because one was measured more often. Variance and standard deviation do not drift upward systematically with sample size in this way. For this reason the range suits small samples and quick checks, such as quality control charts with subgroups of five or fewer, where range-based methods were developed because they were easy to compute by hand.

The range and a single outlier

One extreme value fixes the range. In the list 0, 5, 5, 10 the replacement of 10 by 100 changes the range from 10 to 100, even though three of the four values did not move. The variance responds as well, since it squares deviations, but a summary based on quartiles, the interquartile range, would respond much less. Different users want different behavior. A safety engineer concerned with the largest value ever observed wants the range, and an analyst describing typical variation usually wants a more resistant measure. State which kind of spread you are reporting.

Where range is used properly

The range has genuine uses. Specification limits and tolerances are expressed as ranges, such as a component that must measure between 9.95 and 10.05 millimeters. Temperature records report daily high and low and the difference between them. Statistical process control used the range chart, or R chart, in the early work by Walter Shewhart in the 1920s, and subgroup ranges still appear in many control charts. In these settings the extremes are the point. The caution applies when the range stands in for the overall spread of the data, which it describes poorly.

Other spread measures on the same lists

Standard deviation is the square root of the variance, so the population standard deviations are 5 for list one and about 3.5355 for list two, and the 3.5355 is the square root of 12.5. Both lists are tiny, so the numbers are easy to verify by hand. The mean absolute deviation, the average distance from the mean, is 5 for list one and 2.5 for list two. The interquartile range, using the type 7 quartiles, is 10 for list one, whose quartiles are 0 and 10, and 2.5 for list two, whose quartiles are 3.75 and 6.25. Every one of these measures separates the lists, while the range of 10 does not. Choosing among them depends on the question: standard deviation suits symmetric data and further calculations, the mean absolute deviation is easiest to explain, and the interquartile range resists extreme values. Reporting two of them next to the range already tells a reader far more than the range alone, and costs one extra line in a table.

Reading summary tables

When a table lists minimum, maximum and mean for several groups, treat equal ranges as a prompt to ask for another measure, not as evidence of equal spread. Standard deviation, interquartile range or a histogram answers the question directly. A five-number summary of minimum, first quartile, median, third quartile and maximum shows the interior as well as the ends. In the example lists, the quartiles of 0, 0, 10, 10 and 0, 5, 5, 10 differ clearly, which exposes the difference that the range hides.

What the three results establish

The cases establish that range is 10 for list one, that the population variance of list one is 25, and that the population variance of list two is 12.5. They are descriptive, they do not rank the lists for any application, and they use population denominators. A sample version would divide by n - 1 and give 33.33 and 16.67, with the same ordering. Because the lists are so short, treat the exact values as demonstrations of arithmetic, since real data sets need far more observations before any spread statistic is stable.

Reproduce the checks

First range

Open the Range Calculator and enter:

Numbers
0,0,10,10

Expected output:

Range

10

The endpoints determine this summary.

First population variance

Open the Variance Calculator and enter:

Numbers
0,0,10,10
Calculation mode
population

Expected output:

Variance

25

The repeated endpoints contribute all deviations.

Second population variance

Open the Variance Calculator and enter:

Numbers
0,5,5,10
Calculation mode
population

Expected output:

Variance

12.5

Moving interior values changes the variance.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks