Back to Scientific Computing (SciPy)
sp.stats.skew
Compute the sample skewness of a data set.
Syntax
sp.stats.skew(a, axis?, bias?)
Description
Compute the sample skewness of a data set. For normally distributed data, the skewness should be about zero. For unimodal continuous distributions, a negative skew indicates the tail on the left side is longer, while a positive skew indicates the right side. Uses Fisher-Pearson coefficient of skewness: m3 / m2^(3/2).
Parameters
| Name | Description |
|---|---|
| a | - Input array |
| axis(optional) | - Axis along which skewness is calculated. Default: 0 |
| bias(optional) | - If false, apply bias correction for statistical bias. Default: true |
Returns
Promise<NDArray | number>