scipy.stats.Mixture.

偏度#

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

偏度 (標準化三階動差)

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

用於計算標準化三階動差的方法。並非所有方法都適用於所有分佈。詳情請參閱moment

參考文獻

[1]

偏度,Wikipediahttps://en.wikipedia.org/wiki/Skewness

範例

使用所需的參數實例化分佈

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

評估偏度

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