describe(deprecated)/mean - 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 : describe(deprecated)/mean

stats[describe, mean]

Arithmetic Mean of a Statistical List

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stats[describe, mean](data)

describe[mean](data)

Parameters

data

-

statistical list

Description

• 

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

• 

The function mean of the subpackage stats[describe, ...] computes the arithmetic mean of the given data.

• 

The mean is defined to be the ratio of the sum of the data items (each multiplied by its weight) to the total weight.

• 

Classes are assumed to be represented by the class mark, which is the mid-point of the class. For example, the class mark of the class 10..12 has the value 11. Missing data are simply ignored.

• 

The mean is an example of a measure of central tendency of the data. Such measures are used to find a ``typical'' value for the data. Other measures of central tendency are the harmonic mean, the geometric mean, the quadratic mean, the median, and the mode.

• 

A major advantage of using the mean as a measure of the central tendency is that it has a simple relation to the weighted sum of the data. It is arguably the most familiar central tendency  measure.

• 

A disadvantage of using the mean as a measure of the central tendency is that it is strongly affected by the extreme values in the data. For example, if one wants to compute the typical salary on the payroll of a sports team that has one star player that is paid substantially more than her teammates it is more appropriate to use the median.

• 

The command with(stats[describe],mean) allows the use of the abbreviated form of this command.

Examples

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

withstats:

What is the average  of the numbers 3 and 5

describemean3,5

4

(1)

A more complicated example

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

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

(2)

describemeandata

5

(3)

103+14+311+13210+1+3

5

(4)

See Also

describe(deprecated)[geometricmean]

describe(deprecated)[harmonicmean]

describe(deprecated)[median]

describe(deprecated)[mode]

describe(deprecated)[quadraticmean]

Statistics

Statistics[Mean]

transform(deprecated)[classmark]