Student[Statistics]
DataSummary
compute six summary statistics for a data sample
Calling Sequence
Parameters
Description
Computation
Examples
References
Compatibility
DataSummary(A, numeric_option, output_option, quantity_option)
DataSummary(M, numeric_option, output_option, quantity_option)
A
-
data sample
M
Matrix data sample
numeric_option
(optional) equation of the form numeric=value where value is true or false
output_option
(optional) equation of the form output=x where x is value, plot, or both
quantity_option
(optional) equation of the form quantity=y where y is one of mean, standarddeviation, skewness, kurtosis, minimum and maximum, or a list of these names
The DataSummary function computes six summary statistics for the input data set. These include the mean, standard deviation, coefficient of skewness, coefficient of kurtosis, minimum and maximum of the sample. By default the DataSummary command returns a list of equations of the form quantity=value where quantity is one of mean, standarddeviation, skewness, kurtosis, minimum, or maximum.
The first parameter can be a data sample (e.g., a Vector), or a Matrix data sample.
If the option quantity is not included, then data summary is a list of equations defining the mean, standard deviation, coefficient of skewness, coefficient of kurtosis, minimum and maximum. If quantity is one of the names mean, standarddeviation, skewness, kurtosis, minimum, or maximum, then the data summary is just that value. Finally, if quantity is a list of these names, then the data summary is a list of equations defining these quantities.
If the option output is not included or is specified to be output=value, then the function will return the value of the data summary. If output=plot is specified, then the function will return a plot of the input data set and all of its statistics. If output=both is specified, then both the value and the plot of the data summary will be returned.
If there are floating point values or the option numeric is included, then the computation is done in floating point. Otherwise the computation is exact.
If the option output is not included or is specified to be output= value, then the function will return the data summary: those statistics specified by the expect option, or all of them if the expect option is not present. If output=plot is specified, then the function will return a plot of the input data set and all selected statistics. If output=both is specified, then both the value and the plot of the data summary will be returned.
with⁡StudentStatistics:
Compute the data summary of the following data sample.
A≔−4,π,exp⁡3
A≔
DataSummary⁡A,quantity=mean
−43+π3+ⅇ33
Use numeric option.
DataSummary⁡A,numeric
mean=6.40904319225915,standarddeviation=12.3707496533778,skewness=0.368551181161869,kurtosis=0.999999999227709,minimum=−4.,maximum=20.08553692
If you specify quantity=[mean,maximum], then only the mean and the maximum will be returned.
DataSummary⁡A,quantity=mean,maximum
−43+π3+ⅇ33,ⅇ3
If output=plot is specified, then a plot will be returned.
DataSummary⁡A,output=plot
Consider the following Matrix data sample.
M≔Matrix⁡3,1130,114694,4,1527,127368,3,907,88464,2,878,96484,4,995,128007
M≔
Compute the data summary of each of the columns.
DataSummary⁡M,numeric
Specify the output=both option to obtain both the value and plot of the data summary.
datasummary,graph≔DataSummary⁡M,numeric,output=both
datasummary,graph≔?,
datasummary
graph
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
The Student[Statistics][DataSummary] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
Statistics[DataSummary]
Student[Statistics][Kurtosis]
Student[Statistics][Mean]
Student[Statistics][Skewness]
Student[Statistics][StandardDeviation]
Download Help Document