Overview of the stats[transform] Subpackage
List of stats[transform] Subpackage Commands
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The stats[transform] subpackage provides various tools for transforming lists of statistical data.
Each command in the stats[transform] 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.
extends map() to statistical data.
replace data classes by their class mark (mid-point).
count up the weights of the data items.
delete missing data from the data list.
divide the data by a number or a
descriptive statistics function.
give the weights of each data item.
compute moving averages and other moving quantities.
apply a formula across multiple data lists.
multiply the weights of the data by a given value.
split the data list into multiple lists
of the same weight.
replace each data item by its standard score
sort statistical data.
give the value of each data item. That is, set
their weight to 1.
subtract from the data a number
or a descriptive statistics function.
tally each data item.
tally each item into specified classes.
To display the help page for a particular stats[transform] command, see Getting Help with a Command in a Package.
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. See transform[standardscore] for an example.
If a particular call cannot be evaluated, for example trying to find the mode of a statistical list that contains a non-numeric 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.
Remembering that the left boundary of a class is inclusive, and the right boundary is exclusive (so the 10 above belongs to 10..15 and not 5..10, we have:
Download Help Document
What kind of issue would you like to report? (Optional)