describe(deprecated)/decile - Help

stats[describe]

 decile
 Deciles of a statistical list

 Calling Sequence stats[describe, decile[which]](data, gap) describe[decile[which]](data, gap)

Parameters

 data - statistical list which - decile required gap - (optional, default=false) The common size of gaps between classes.

Description

 • 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.

Examples

Important: The stats package has been deprecated. Use the superseding package Statistics instead.

 > $\mathrm{with}\left(\mathrm{stats}\right):$
 > $\mathrm{data}≔\left[\mathrm{seq}\left(5i,i=1..30\right)\right]$
 ${\mathrm{data}}{:=}\left[{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}\right]$ (1)
 > $\mathrm{describe}[\mathrm{decile}[1]]\left(\mathrm{data}\right)$
 ${15}$ (2)

to compute the deciles, all at once

 > $\mathrm{deciles}≔\left[\mathrm{seq}\left({\mathrm{describe}}_{{\mathrm{decile}}_{i}},i=1..9\right)\right]:$
 > $\mathrm{deciles}\left(\mathrm{data}\right)$
 $\left[{15}{,}{30}{,}{45}{,}{60}{,}{75}{,}{90}{,}{105}{,}{120}{,}{135}\right]$ (3)