def get_tukeyQcrit2(k, df, alpha=0.05):
 from statsmodels.stats.libqsturng import qsturng
 return qsturng((1 - alpha), k, df)

def get_tukeyQcrit2 ( k , df , alpha = 0.05 ) : from statsmodels . stats . libqsturng import qsturng return qsturng ( ( 1 - alpha ) , k , df )
return critical values for tukeys hsd (q) parameters k : int in {2 .