Overview of the stats[describe] Subpackage
List of stats[describe] Subpackage Commands
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The stats[describe] subpackage provides various descriptive statistical functions for the analysis of statistical data.
Each command in the stats[describe] package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
The following is a list of available commands.
To display the help page for a particular stats[describe] command, see Getting Help with a Command in a Package.
The descriptive statistics functions are used to reduce each data sets to single numbers. Measures of central tendencies, such as the mean, or the median, represent data sets by values that are considered typical. Measures of dispersion, such as the standard deviation, are used to measure the spread of the data. The skewness measures the departure from symmetry of a distribution. The kurtosis measures the flatness of a distribution.
If a particular call cannot be evaluated, for example trying to find the mode of a statistical list that contains a non numerical entry, then the call is returned unevaluated. Information is provided in the variable `stats/lasterror` as to the reason why a call was not evaluated. Also, this information is automatically given if infolevel[stats] has a value greater than or equal to one, prior to the unsuccessful call.
See stats[data] on how to represent data for the stats package. The help page describe[gaps] provides more information about gaps between classes.
Some commands either require or use parameters in addition to the data given as arguments. These parameters appear as an index to the command name. For an example, see describe[standarddeviation].
data ≔ Weight⁡3,10,missing,4,Weight⁡11..12,3
For standard deviation of a sample use
Third moment about the mean:
In floating points, this is:
A list of operations can be formed to apply on the same data
description_functions ≔ describecount,describemean,describevariance:
quartiles ≔ describequartile1,describequartile2,describequartile3:
There are various books where more details about descriptive statistics can be found. An example of an introductory text is Murray R. Spiegel, Schaum's Outline of Theory and Problems of Statistics, Second Edition, McGraw-Hill, 1988. Of particular relevance to the describe subpackage are chapters 3,4,5, and 14.
Download Help Document