statsmodels.stats.stattools.medcouple

statsmodels.stats.stattools.medcouple(y, axis=0)[source]

计算中位数偏度稳健度量。

Parameters:
yarray_like

用于估计器中计算的数据。

axis{int, None}

计算中位数统计量的轴。如果为None,则使用整个数组。

Returns:
mcndarray

y 形状相同的 medcouple 统计量,指定的轴已被移除。

注释

当前算法需要进行 O(N**2) 次内存分配,因此可能不适用于非常大的数组(N>10000)。


Last update: Oct 16, 2024