6.8.5.3.1.1.1. statsmodels.sandbox.stats.multicomp.GroupsStats.__init__

GroupsStats.__init__(x, useranks=False, uni=None, intlab=None)[source]

descriptive statistics by groups

Parameters:

x : array, 2d

first column data, second column group labels

useranks : boolean

if true, then use ranks as data corresponding to the scipy.stats.rankdata definition (start at 1, ties get mean)

uni, intlab : arrays (optional)

to avoid call to unique, these can be given as inputs