scipy.stats.Binomial.

偏度#

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

偏度(标准化三阶矩)

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

用于计算标准化三阶矩的方法。并非所有方法都适用于所有分布。有关详细信息,请参阅moment

参考文献

[1]

Skewness, Wikipedia, https://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