stats[describe]
range
Range of a Statistical List
Calling Sequence
Parameters
Description
Examples
stats[describe, range](data)
describe[range](data)
data
-
statistical list
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function range of the subpackage stats[describe, ...] finds the minimum and the maximum value of the observations in data.
The boundaries of the classes are used for grouped data. Missing data are ignored.
The range is a measure of dispersion of the data. For more information about such measures, refer to the standard deviation.
The range is useful in finding appropriate boundaries for tallying data (see transform[tallyinto] - note that the upper boundary of classes are exclusive for tallyinto), and for histograms (see statplots[histogram]). One disadvantage of using the range as a dispersion measure is that it is strongly dependent on the extreme values in the data.
The data must be numeric.
The command with(stats[describe],range) allows the use of the abbreviated form of this command.
with⁡stats:
The minimum and maximum of the numbers 5, 6, 1, 9 are 1 and 9 respectively:
describerange⁡5,6,1,9
1..9
For grouped data, it gives the minimal and maximal edge of the classes.
describerange⁡Weight⁡1..2,6,Weight⁡3..7,8
1..7
See Also
describe(deprecated)[decile]
describe(deprecated)[gaps]
describe(deprecated)[median]
describe(deprecated)[quantile]
describe(deprecated)[quartile]
describe(deprecated)[standarddeviation]
Statistics
Statistics[Range]
Download Help Document