SciPy

This is documentation for an old release of SciPy (version 0.19.0). Read this page in the documentation of the latest stable release (version 1.14.1).

scipy.stats.mstats.skew

scipy.stats.mstats.skew(a, axis=0, bias=True)[source]

Computes the skewness of a data set.

Parameters:

a : ndarray

data

axis : int or None, optional

Axis along which skewness is calculated. Default is 0. If None, compute over the whole array a.

bias : bool, optional

If False, then the calculations are corrected for statistical bias.

Returns:

skewness : ndarray

The skewness of values along an axis, returning 0 where all values are equal.

Notes

For more details about skew, see stats.skew.