stats[describe,quartile] - Quartiles of a Statistical List
stats[describe, quartile[which]](data, gap)
(optional, default=false) The common size of gaps between classes.
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function quartile of the subpackage stats[describe, ...] finds the item in data that corresponds to the quartile specified by which. If the requested quartile falls between entries, it is interpolated.
The values given by quartile can be thought of as 3 values that partition the data set, once sorted, into 4 data sets of equal weight.
Half of the difference between the third quartile and the first quartile is a measure of the dispersion of the data. This quantity is known as the semi-interquartile range and the quartile deviation. Refer to describe[standarddeviation] for more information about measures of the dispersion of data.
Missing data are ignored.
For information about the parameter gap, see describe[gaps].
The data must be numeric.
The command with(stats[describe],quartile) allows the use of the abbreviated form of this command.
To compute the quartiles, all at once
The semi-interquartile range is given by
describe(deprecated)[decile], describe(deprecated)[gaps], describe(deprecated)[median], describe(deprecated)[percentile], describe(deprecated)[quantile], describe(deprecated)[range], describe(deprecated)[standarddeviation], Statistics, Statistics[Quartile]
Download Help Document