statsmodels.stats.weightstats.CompareMeans.ztost_ind¶ CompareMeans.ztost_ind(low, upp, usevar='pooled')[source]¶ test of equivalence for two independent samples, based on z-test Parameters: low, uppfloatequivalence interval low < m1 - m2 < upp usevarstr, ‘pooled’ or ‘unequal’If pooled, then the standard deviation of the samples is assumed to be the same. If unequal, then Welch ttest with Satterthwait degrees of freedom is used Returns: pvaluefloatpvalue of the non-equivalence test t1, pv1tuple of floatstest statistic and pvalue for lower threshold test t2, pv2tuple of floatstest statistic and pvalue for upper threshold test