Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Matrix Data Sets in Statistics
Description
This help page describes how to use Statistics commands on spreadsheet-type data in matrices.
Many of the data sets you might encounter are two-dimensional in nature. They will have information about a number of items or events; for each item or event, the same properties are known. Such data sets can easily be represented in a Matrix by having each row of the Matrix correspond to an item and each column to one property of all these items. This is how you would typically store such data in a spreadsheet.
Many commands in the Statistics package can be used with this type of data:
Statistics[SplitByColumn] and Statistics[Join] split Matrices into submatrices and join them back together.
The following commands can be run on Matrix data sets; they are computed per column and the results are returned in a row Vector:
AbsoluteDeviation
CentralMoment
Count
CountMissing
Cumulant
DataSummary
Decile
ExpectedValue
FivePointSummary
GeometricMean
HarmonicMean
InterquartileRange
Kurtosis
Mean
MeanDeviation
Median
MedianDeviation
Mode
Moment
Percentile
QuadraticMean
Quantile
Quartile
Range
Skewness
StandardDeviation
StandardError
StandardizedMoment
TrimmedMean
Variance
Variation
WindsorizedMean
Examples
We construct a Matrix with housing data. The first column has number of bedrooms, the second has number of square feet, the third has price.
We can create box plots of the price for subgroups of sales defined by number of bedrooms.
We can determine the average area and price for the whole data set and for the sets with , , and bedrooms. For the latter, we use the elementwise version of Mean by appending a tilde to the command.
We can also determine the standard error for this mean.
Or the 30th percentile for each column.
Some commands have calling sequences where one of the arguments is compared to the data; this is the case for the second argument of AbsoluteDeviation and for the origin parameter of Moment. In these cases, it typically doesn't make much sense to use the same value for each column, so Maple supports using a list or Vector of values instead.
Download Help Document