Spaces:
Running
Running
Zekun Wu
commited on
Commit
·
a6c512f
1
Parent(s):
8a73f6f
update
Browse files- util/evaluation.py +1 -1
util/evaluation.py
CHANGED
@@ -100,7 +100,7 @@ def statistical_tests(data):
|
|
100 |
pair_name_score = f'{var1}{score_suffix} vs {var2}{score_suffix}'
|
101 |
|
102 |
# Bootstrapped T-test for independent samples
|
103 |
-
t_stat, t_p = bootstrap_t_test(data[f'{var1}{
|
104 |
pairwise_results['T-Test'][pair_name_score] = {"Statistic": t_stat, "p-value": t_p}
|
105 |
|
106 |
# Friedman test
|
|
|
100 |
pair_name_score = f'{var1}{score_suffix} vs {var2}{score_suffix}'
|
101 |
|
102 |
# Bootstrapped T-test for independent samples
|
103 |
+
t_stat, t_p = bootstrap_t_test(data[f'{var1}{rank_suffix}'], data[f'{var2}{rank_suffix}'])
|
104 |
pairwise_results['T-Test'][pair_name_score] = {"Statistic": t_stat, "p-value": t_p}
|
105 |
|
106 |
# Friedman test
|