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, split] - split one data list into several
Calling Sequence
stats[transform, split[n]](data)
transform[split[n]](data)
Parameters
n
-
positive integer
data
statistical list
Description
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function split of the subpackage stats[transform, ...] splits the data list, data, into n data lists of same weight.
Missing items are taken into account.
This function is useful in constructing histograms where each bar has the same area.
Examples
The following is an extended example where a list of numbers will be randomly generated, used in a histogram which will be compared to the theoretical distribution. Generate 300 numbers (reduce this number for faster results), randomly generated with a normal distribution
Sort the data.
Number of lists is set to 5 (increase it for a better resolution, but ensure there are enough points in the list).
Split into lists of equal weight.
Obtain classes of equal weight from those lists. Make the total weight equal to 1.
Construct histogram:
Create a theoretical curve
Display both the theoretical curve and the histogram.
See Also
Statistics, statplots(deprecated)[histogram], stats(deprecated)[data], stats(deprecated)[transform]
Download Help Document