def TestStatistic(self, data):
        group1, group2 = data
        test_stat = abs(group1.mean() - group2.mean())
        return test_stat
Computes the test statistic.
dataset/ETHPy150Open AllenDowney/CompStats/hypothesis.py/DiffMeansPermute.TestStatistic