skewness — SciPy v1.15.3 Manual (original) (raw)

scipy.stats.Normal.

Normal.skewness(*, method=None)[source]#

Skewness (standardized third moment)

Parameters:

method{None, ‘formula’, ‘general’, ‘transform’, ‘normalize’, ‘cache’}

Method used to calculate the standardized third moment. Not all methods are available for all distributions. Seemoment for details.

References

Examples

Instantiate a distribution with the desired parameters:

from scipy import stats X = stats.Normal(mu=1., sigma=2.)

Evaluate the skewness:

X.skewness() 0.0 X.skewness() == X.moment(order=3, kind='standardized') True