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
Data Manipulation Commands
The Statistics package provides various functions for manipulating statistical data. These include sorting, searching, and data selection routines. The following is a list of available commands.
Count
compute number/total weight of observations
CountMissing
compute number/total weight of missing values
CumulativeProduct
compute cumulative products
CumulativeSum
compute cumulative sums
EvaluateToFloat
evaluate data using floating-point arithmetic
Excise
remove data items based on density
Join
join data samples
OrderByRank
order data items according to their ranks
Rank
rank data items according to their numeric values
Remove
remove data items satisfying a condition
RemoveInRange
remove data items which belong to the given range
RemoveNonNumeric
remove non-numeric values
Select
select data items satisfying a condition
SelectInRange
select data items which belong to the given range
SelectNonNumeric
select non-numeric values
Shuffle
apply random permutation to a data sample
Sort
sort numeric data
SplitByColumn
split matrix
Tally
compute data frequencies
TallyInto
compute cumulative data frequencies
Trim
trim data set
Winsorize
winsorize data set
The ArrayTools package provides a number of useful tools for manipulating rectangular arrays. Here is the list of available commands.
AddAlongDimension
add the elements of an Array
Alias
provide different view of rectangular Matrix, Vector, or Array
AllNonZero
true when the Array has no zero entries
AnyNonZeros
check for non zero Array entries
BlockCopy
copy a block of several segments of elements from one Matrix, Vector, or Array to another
CircularShift
shift Array data
ComplexAsFloat
provide real view of a complex Matrix, Vector, or Array
Concatenate
Array concatenation
Copy
copy portion of Matrix, Vector, or Array to another
DataTranspose
perform in-place data transpose
Diagonal
extract the diagonals from a Matrix or create a diagonal Matrix
Dimensions
size of an Array in each dimension
ElementDivide
element-wise division of Array entries
ElementMultiply
element-wise multiplication of Array entries
ElementPower
element-wise power of Array entries
Fill
fill portion of Matrix, Vector, or Array with specified value
FlipDimension
reverse order of elements in an Array
HasNonZero
true when the Array has a non-zero entry
HasZero
true when the Array has a zero entry
IsEqual
compare Arrays for equality
IsZero
true when the Array has only zero entries
LowerTriangle
return the lower triangular region of a matrix
MultiplyAlongDimension
multiply rows of an array
NumElems
return the number of elements in an Array
Permute
permute dimensions of an Array
PermuteInverse
inverse permute dimensions of an Array
RandomArray
randomly generate scalars, Matrices, and Arrays of values drawn from a uniform or normal distribution
RegularArray
generate an array of numbers with specified spacing in a given range
RemoveSingletonDimensions
remove singleton Array dimensions
Replicate
Array replication
Reshape
create a reshaped copy of a Matrix, Vector, or Array
SearchArray
return the indices of nonzero elements of the given Array
Size
return the size of an Array in each dimension
UpperTriangle
compute the upper triangular Matrix
Examples
Select only values between -2 and 2;
Select only values between 5th and 95th percentiles (trim).
Replace extreme points with the values of the 5th or the 95th percentile (whichever is closer).
Sort 2-D array according to the numeric values in the second column.
Handling non-numeric data.
Join samples A, B, and C
Remove non-numeric values (keep missing values).
Count total number of values and the number of missing values in V.
The same using weights.
See Also
Statistics, Statistics[Computation], Statistics[DataSmoothing]
Download Help Document