>
|
|
>
|
|
The DataSummary command returns a Vector containing the summary statistics.
>
|
|
| (2) |
>
|
|
| (3) |
Consider the following Matrix data set.
>
|
|
For Matrix inputs, the DataSummary command outputs a Vector containing the corresponding summary statistics by column.
To display the summary for one of the columns:
If the input is a DataFrame object, then the result is a DataFrame that has the same column labels as the original input, and the row labels correspond to the output quantities requested.
>
|
|
>
|
|
The summarize option makes it possible to display an embedded table containing the results. Note that the embedded table is only for display and that the returned value of the DataSummary command is unchanged.
>
|
|
|
a
|
b
|
c
|
mean
|
|
|
|
standarddeviation
|
|
|
|
skewness
|
|
|
|
kurtosis
|
|
|
|
minimum
|
|
|
|
maximum
|
|
|
|
cumulativeweight
|
|
|
|
|
|
Similar to the example above, the returned value for results is the same:
The tableweights option controls the width of columns in an embedded table.
>
|
|
>
|
|
|
a
|
b
|
c
|
mean
|
|
|
|
standarddeviation
|
|
|
|
skewness
|
|
|
|
kurtosis
|
|
|
|
minimum
|
|
|
|
maximum
|
|
|
|
cumulativeweight
|
|
|
|
|
|