stats[describe]
decile
Deciles of a statistical list
Calling Sequence
Parameters
Description
Examples
stats[describe, decile[which]](data, gap)
describe[decile[which]](data, gap)
data
-
statistical list
which
decile required
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 decile of the subpackage stats[describe, ...] finds the item in data that correspond to the decile specified by which. If the requested decile falls between entries, it is interpolated.
The deciles are values that divide a data set, once sorted, into 10 equal parts.
Missing data are ignored.
For information about the parameter gap, see describe[gaps].
The data must be numeric.
The command with(stats[describe],decile) allows the use of the abbreviated form of this command.
with⁡stats:
data≔seq⁡5⁢i,i=1..30
data≔5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150
describedecile1⁡data
15
to compute the deciles, all at once
deciles≔seq⁡describedecilei,i=1..9:
deciles⁡data
15,30,45,60,75,90,105,120,135
See Also
describe(deprecated)[gaps]
describe(deprecated)[median]
describe(deprecated)[percentile]
describe(deprecated)[quantile]
describe(deprecated)[quartile]
describe(deprecated)[range]
Statistics
Statistics[Decile]
stats(deprecated)[data]
Download Help Document