Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Overview of the stats[transform] Subpackage
Calling Sequence
stats[transform]command](arguments)
command(arguments)
Description
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.
List of stats[transform] Subpackage Commands
The following is a list of available commands.
apply
extends map() to statistical data.
classmark
replace data classes by their class mark (mid-point).
cumulativefrequency
count up the weights of the data items.
deletemissing
delete missing data from the data list.
divideby
divide the data by a number or a
descriptive statistics function.
frequency
give the weights of each data item.
moving
compute moving averages and other moving quantities.
multiapply
apply a formula across multiple data lists.
scaleweight
multiply the weights of the data by a given value.
split
split the data list into multiple lists
of the same weight.
standardscore
replace each data item by its standard score
(z-value).
statsort
sort statistical data.
statvalue
give the value of each data item. That is, set
their weight to 1.
subtractfrom
subtract from the data a number
or a descriptive statistics function.
tally
tally each data item.
tallyinto
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.
Examples
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:
See Also
Statistics, Statistics[DataManipulation], stats(deprecated)
Download Help Document