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

Online Help

Home : Support : Online Help : transform(deprecated)/statvalue

stats[transform, statvalue]

value of each datum

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stats[transform, statvalue](data)

transform[statvalue](data)

Parameters

data

-

statistical list

Description

• 

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

• 

The statvalue function of the subpackage stats[transform, ...] replaces each data point of data by its value. In other words, it resets the weight of each data point to 1.

• 

The order of the data items is not changed.

• 

Note that repeated items will still be repeated, though each instance will have a weight of 1. If it is required that only a single instance of the items remain, use transform[tally] prior to using transform[statvalue]. Of course, the call to tally will, in general, change the order of the data.

• 

The name of this function is chosen to avoid the clash with the value() function.

Examples

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

(1)

(2)

For the data list (which has the item 3 appearing twice)

(3)

compare

(4)

with

(5)

(6)

A more general example is:

(7)

(8)

See Also

Statistics

transform(deprecated)[cumulativefrequency]

transform(deprecated)[frequency]

transform(deprecated)[tally]

value

 


Download Help Document