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
stats[transform, subtractfrom] - subtracts from statistical data a number or the result of a descriptive statistics function
/ 1993-03-16: Created. jmlang.
Calling Sequence
stats[transform, subtractfrom[quantity]](data)
transform[subtractfrom[quantity]](data)
Parameters
quantity
-
numerical value, or descriptive statistic function
data
statistical list
Description
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function subtractfrom of the subpackage stats[transform, ...] subtracts from data the given quantity.
Missing items remain unchanged.
The requested subtraction is applied at each of the boundary points of classes.
If quantity is not numeric, a call to stats[describe, quantity](data) is made to compute it.
This function is useful for comparing the (absolute) dispersion of two lists of data. For example, removing the mean is a good first step in comparing the variation of mid-day temperatures at the North Pole and at some point on the Equator.
The function transform[apply] is more general than the function transform[subtractfrom]. The function transform[divideby] is related to transform[subtractfrom], and is often used in conjunction with it. One may also want to use transform[standardscore] which removes the mean from the given data, then performs a division by the standard deviation.
Examples
Subtract 4 from each datum.
Subtract the mean from each datum.
See Also
Statistics, transform(deprecated)[apply], transform(deprecated)[divideby], transform(deprecated)[multiapply], transform(deprecated)[standardscore]
Download Help Document