statsmodels.stats.weightstats.DescrStatsW.get_compare

DescrStatsW.get_compare(other, weights=None)[source]

返回一个包含自身和其他对象的CompareMeans实例

Parameters:
otherarray_like or instance of DescrStatsW

如果数组形式,则这将创建一个带有给定权重的DescrStatsW实例。

weightsNone or array

仅当 other 不是 DescrStatsW 的实例时,才会使用权重

Returns:
cminstance of CompareMeans

实例已将自身附加为d1,将其他附加为d2。

另请参阅

CompareMeans

Last update: Oct 16, 2024