Statistics Toolbox
  Go to function:
    Search    Help Desk 
skewness    Examples   See Also

Sample skewness.

Syntax

Description

skewness(X) returns the sample skewness of X. For vectors, skewness(x) is the skewness of the elements of x. For matrices, skewness(X) is a row vector containing the sample skewness of each column.

Skewness is a measure of the asymmetry of the data around the sample mean. If skewness is negative, the data are spread out more to the left of the mean than to the right. If skewness is positive, the data are spread out more to the right. The skewness of the normal distribution (or any perfectly symmetric distribution) is zero.

The skewness of a distribution is defined as:


where E(x) is the expected value of x.

Example

See Also

kurtosis, mean, moment, std, var



[ Previous | Help Desk | Next ]