statsmodels.sandbox.stats.multicomp.distance_st_range

statsmodels.sandbox.stats.multicomp.distance_st_range(mean_all, nobs_all, var_all, df=None, triu=False)[source]

pairwise distance matrix, outsourced from tukeyhsd

CHANGED: meandiffs are with sign, studentized range uses abs

q_crit added for testing

TODO: error in variance calculation when nobs_all is scalar, missing 1/n