

@statistic('p_value', pairwise=True, is_distribution=False, is_estimate=True)
def get_p_value(self, key):
    '"Return P(Key2 > Key1 | Observed Data)'
    return (self.get_diff_means(key) > 0).mean()

dataset/ETHPy150Open HHammond/kcbo/kcbo/statistical_tests/t_test.py TTest.get_p_value/original