stats(deprecated)/describe - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : stats(deprecated)/describe

Overview of the stats[describe] Subpackage

 

Calling Sequence

Description

List of stats[describe] Subpackage Commands

Examples

References

Calling Sequence

stats[describe][command](arguments)

command(arguments)

Description

• 

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.

List of stats[describe] Subpackage Commands

• 

The following is a list of available commands.

coefficientofvariation

count

countmissing

covariance

decile

geometricmean

gaps

harmonicmean

kurtosis

linearcorrelation

mean

meandeviation

median

mode

moment

percentile

quadraticmean

quantile

quartile

range

skewness

standarddeviation

sumdata

variance

  

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

Examples

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

withstats:

dataWeight3,10,missing,4,Weight11..12,3

dataWeight3,10,missing,4,Weight11..12,3

(1)

describemeandata

13728

(2)

describestandarddeviationdata

938528

(3)

For standard deviation of a sample use

describestandarddeviation1data

1708070364

(4)

Third moment about the mean:

describemoment3,meandata

1561652744

(5)

In floating points, this is:

evalf

56.91144315

(6)

A list of operations can be formed to apply on the same data

description_functionsdescribecount,describemean,describevariance:

description_functionsdata

14,13728,9385784

(7)

quartilesdescribequartile1,describequartile2,describequartile3:

quartilesdata

3,3,72

(8)

References

  

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.

See Also

Statistics[DescriptiveStatistics]

stats(deprecated)