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, scaleweight] - scale the frequencies by the given weight
Calling Sequence
stats[transform, scaleweight[factor]](data)
transform[scaleweight[factor]](data)
Parameters
factor
-
value by which the weight of the data will be multiplied
data
statistical list
Description
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function scaleweight of the subpackage stats[transform, ...] multiplies the weights of the data by the given factor.
The weights, or frequencies, of items in a statistical data list are obtained using the function transform[frequency]. The total weight can be obtained using describe[count].
The total weight of a data list is often scaled to the values 1 and 100. The value 100 is used to get percentages. The value 1 is often used to compare with theoretical probability distributions. It is also used to obtain empirical distributions.
Cumulative percentages are obtained by first scaling the weight to 100, then using the function transform[cumulativefrequency].
Examples
Divide the weight by four.
To get percentages.
To normalize to a total weight of 1.
See Also
describe(deprecated)[count], stats(deprecated)[data], stats(deprecated)[transform], transform(deprecated)[frequency]
Download Help Document