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
Statistics[Trim] - trim data set
Statistics[Winsorize] - winsorize data set
Calling Sequence
Trim(X, l, u)
Winsorize(X, l, u)
Parameters
X
-
rtable; data sample
l
numeric; lower percentile
u
numeric; upper percentile
Description
The Trim and Winsorize commands can be used to eliminate extreme points in a data set.
The Trim command return all points from X between lth and uth percentiles.
The Winsorize command is similar to Trim except that the extreme points in X are replaced with the values of the lth or the uth percentile (whichever is closer).
The first parameter X is the data set, which must be a one-dimensional rtable (e.g. Array or Vector).
The second parameter l is the lower percentile, the third parameter u is the upper percentile. Note, that both l and u must be numeric constants between 0 and 100. A common choice for l and u is 5 and 95 respectively.
Examples
See Also
Statistics, Statistics[DataManipulation]
Download Help Document