statsmodels.sandbox.stats.multicomp.MultiComparison.tukeyhsd

MultiComparison.tukeyhsd(alpha=0.05)[source]

Tukey’s range test to compare means of all pairs of groups

Parameters:

alpha : float, optional

Value of FWER at which to calculate HSD.

Returns:

results : TukeyHSDResults instance

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