stats.multicomp.pairwise_tukeyhsd()

statsmodels.stats.multicomp.pairwise_tukeyhsd

statsmodels.stats.multicomp.pairwise_tukeyhsd(endog, groups, alpha=0.05) [source]

calculate all pairwise comparisons with TukeyHSD confidence intervals

this is just a wrapper around tukeyhsd method of MultiComparison

Parameters:

endog : ndarray, float, 1d

response variable

groups : ndarray, 1d

array with groups, can be string or integers

alpha : float

significance level for the test

Returns:

results : TukeyHSDResults instance

A results class containing relevant data and some post-hoc calculations

See also

MultiComparison, tukeyhsd, statsmodels.sandbox.stats.multicomp.TukeyHSDResults

© 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.stats.multicomp.pairwise_tukeyhsd.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部