sandbox.stats.runs.median_test_ksample()

statsmodels.sandbox.stats.runs.median_test_ksample

statsmodels.sandbox.stats.runs.median_test_ksample(x, groups) [source]

chisquare test for equality of median/location

This tests whether all groups have the same fraction of observations above the median.

Parameters:

x : array_like

data values stacked for all groups

groups : array_like

group labels or indicator

Returns:

stat : float

test statistic

pvalue : float

pvalue from the chisquare distribution

others ????

currently some test output, table and expected

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.sandbox.stats.runs.median_test_ksample.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部