Summary: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 3: | Line 3: | ||
===Synopsis=== | ===Synopsis=== | ||
:summ = sumary(x) | :summ = sumary(x) | ||
INPUTS | ====INPUTS==== | ||
* x = matrix (column vector) in which the sample data is stored. | * '''x''' = matrix (column vector) in which the sample data is stored. | ||
===Outputs:=== | ===Outputs:=== | ||
The return value is a structure with fields: | The return value is a structure with fields: | ||
* mean = mean of the sample | * '''mean''' = mean of the sample | ||
* std = standard deviation of the sample | * '''std''' = standard deviation of the sample | ||
* n = number of observations | * '''n''' = number of observations | ||
* min = minimum value in the sample | * '''min''' = minimum value in the sample | ||
* max = maximum value in the sample | * '''max''' = maximum value in the sample | ||
* p10 = tenth percentile | * '''p10''' = tenth percentile | ||
* p25 = twenty-fifth percentile (lower quartile) | * '''p25''' = twenty-fifth percentile (lower quartile) | ||
* p50 = fiftieth percentile (median) | * '''p50''' = fiftieth percentile (median) | ||
* p75 = seventy-fifth percentile (upper quartile) | * '''p75''' = seventy-fifth percentile (upper quartile) | ||
* p90 = nintieth percentile | * '''p90''' = nintieth percentile | ||
* skew = skewness | * '''skew''' = skewness | ||
* kurt = kurtosis | * '''kurt''' = kurtosis | ||
===Examples=== | ===Examples=== | ||
summ = summary(x); | summ = summary(x); | ||
===See Also=== | ===See Also=== | ||
[[means]] | [[means]] |
Revision as of 20:57, 2 September 2008
Purpose
Summarizing statistics for sample data.
Synopsis
- summ = sumary(x)
INPUTS
- x = matrix (column vector) in which the sample data is stored.
Outputs:
The return value is a structure with fields:
- mean = mean of the sample
- std = standard deviation of the sample
- n = number of observations
- min = minimum value in the sample
- max = maximum value in the sample
- p10 = tenth percentile
- p25 = twenty-fifth percentile (lower quartile)
- p50 = fiftieth percentile (median)
- p75 = seventy-fifth percentile (upper quartile)
- p90 = nintieth percentile
- skew = skewness
- kurt = kurtosis
Examples
summ = summary(x);