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