DataSummary - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Statistics]

  

DataSummary

  

compute six summary statistics for a data sample

 

Calling Sequence

Parameters

Description

Computation

Examples

References

Compatibility

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.

• 

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.

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

withStudentStatistics:

Compute the data summary of the following data sample.

A4,π,exp3

A

(1)

DataSummaryA,quantity=mean

43+π3+ⅇ33

(2)

Use numeric option.

DataSummaryA,numeric

mean=6.40904319225915,standarddeviation=12.3707496533778,skewness=0.368551181161869,kurtosis=0.999999999227709,minimum=−4.,maximum=20.08553692

(3)

If you specify quantity=[mean,maximum], then only the mean and the maximum will be returned.

DataSummaryA,quantity=mean,maximum

43+π3+ⅇ33,ⅇ3

(4)

If output=plot is specified, then a plot will be returned.

DataSummaryA,output=plot

Consider the following Matrix data sample.

MMatrix3,1130,114694,4,1527,127368,3,907,88464,2,878,96484,4,995,128007

M

(5)

Compute the data summary of each of the columns.

DataSummaryM,numeric

(6)

Specify the output=both option to obtain both the value and plot of the data summary.

datasummary,graphDataSummaryM,numeric,output=both

datasummary,graph?,

(7)

datasummary

(8)

graph

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.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Statistics[DataSummary]

Student[Statistics]

Student[Statistics][Kurtosis]

Student[Statistics][Mean]

Student[Statistics][Skewness]

Student[Statistics][StandardDeviation]