|
Calling Sequence
|
|
DataSummary(A, numeric_option, output_option, quantity_option)
DataSummary(M, numeric_option, output_option, quantity_option)
|
|
Parameters
|
|
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
|
|
|
|
|
Description
|
|
•
|
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.
|
•
|
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.
|
|
|
Computation
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
Compute the data summary of the following data sample.
>
|
|
>
|
|
| (2) |
Use numeric option.
>
|
|
| (3) |
If you specify quantity=[mean,maximum], then only the mean and the maximum will be returned.
>
|
|
| (4) |
If output=plot is specified, then a plot will be returned.
>
|
|
Consider the following Matrix data sample.
>
|
|
Compute the data summary of each of the columns.
>
|
|
Specify the output=both option to obtain both the value and plot of the data summary.
>
|
|
|
|
References
|
|
|
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
|
|
|
Compatibility
|
|
•
|
The Student[Statistics][DataSummary] command was introduced in Maple 18.
|
|
|
|