statsmodels.stats.weightstats.DescrStatsW.get_compare

DescrStatsW.get_compare(other, weights=None)[ソース]

return an instance of CompareMeans with self and other

Parameters:
otherarray_like or instance of DescrStatsW

If array_like then this creates an instance of DescrStatsW with the given weights.

weightsNone or array

weights are only used if other is not an instance of DescrStatsW

Returns:
cminstance of CompareMeans

the instance has self attached as d1 and other as d2.

参考

CompareMeans

最終更新日: 2025年01月28日