statsmodels.sandbox.stats.multicomp.MultiComparison¶
-
class statsmodels.sandbox.stats.multicomp.MultiComparison(data, groups, group_order=
None
)[source]¶ Tests for multiple comparisons
- Parameters:¶
- data
ndarray
independent data samples
- groups
ndarray
group labels corresponding to each data point
- group_order
list
[str
],optional
the desired order for the group mean results to be reported in. If not specified, results are reported in increasing order. If group_order does not contain all labels that are in groups, then only those observations are kept that have a label in group_order.
- data
Methods
allpairtest
(testfunc[, alpha, method, pvalidx])run a pairwise test on all pairs with multiple test correction
getranks
()convert data to rankdata and attach
kruskal
([pairs, multimethod])pairwise comparison for kruskal-wallis test
tukeyhsd
([alpha])Tukey's range test to compare means of all pairs of groups
Last update:
Dec 23, 2024