6.8.5.3.1. statsmodels.sandbox.stats.multicomp.GroupsStats¶
-
class
statsmodels.sandbox.stats.multicomp.
GroupsStats
(x, useranks=False, uni=None, intlab=None)[source]¶ statistics by groups (another version)
groupstats as a class with lazy evaluation (not yet - decorators are still missing)
written this time as equivalent of scipy.stats.rankdata gs = GroupsStats(X, useranks=True) assert_almost_equal(gs.groupmeanfilter, stats.rankdata(X[:,0]), 15)
TODO: incomplete doc strings
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
-
__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
-
6.8.5.3.1.1. Methods¶
__init__ (x[, useranks, uni, intlab]) |
descriptive statistics by groups |
groupdemean () |
|
groupsswithin () |
|
groupvarwithin () |
|
runbasic ([useranks]) |
|
runbasic_old ([useranks]) |