Contents Previous Next Subchapters

Computing The Skewness of Each Column
Syntax skewness(X)
See Also kurtosis , colrange , colmedian , colmean , sort

Description
Returns a row vector containing the skewness of each column of X, where X is a real, or double-precision matrix. The return value has the same type and column dimension as x.

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.

Example
     X = normrnd(0., 1., 10000, 3)
     skewness(X)
returns
     [ 0.0146647 , -0.00473214 , 0.00667061 ]