stats[transform, frequency]
frequency of each data item
Calling Sequence
Parameters
Description
Examples
stats[transform, frequency](data)
transform[frequency](data)
data
-
statistical list
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function frequency of the subpackage stats[transform, ...] replaces each data point of data by its frequency or weight.
The order of the data items is not changed.
Statistical data items in a list have a weight, obtained using transform[frequency] and a value, obtained using transform[statvalue]. One can obtained the total frequency, or total weight, using describe[count]. All frequencies in a statistical data list can be changed, proportionally, using the transform[scaleweight].
with⁡stats:
transformfrequency⁡3
1
transformfrequency⁡Weight⁡3,4
4
transformfrequency⁡3..4
data≔Weight⁡3,10,missing,4,Weight⁡11..12,3,15..17
transformfrequency⁡data
10,1,1,3,1
See Also
describe(deprecated)[count]
Statistics
stats(deprecated)[data]
stats(deprecated)[transform]
transform(deprecated)[cumulativefrequency]
transform(deprecated)[scaleweight]
transform(deprecated)[statvalue]
Download Help Document