Zekun Wu commited on
Commit
775d0e1
1 Parent(s): 06617c6
Files changed (1) hide show
  1. util/evaluation.py +2 -2
util/evaluation.py CHANGED
@@ -19,7 +19,7 @@ def test_statistic_mean_difference(x, y):
19
  return np.mean(x) - np.mean(y)
20
 
21
 
22
- def permutation_test_variance(x, y, num_permutations=10000):
23
  T_obs = test_statistic_variance_ratio(x, y)
24
  pooled_data = np.concatenate([x, y])
25
  n_A = len(x)
@@ -37,7 +37,7 @@ def permutation_test_variance(x, y, num_permutations=10000):
37
  return T_obs, p_value
38
 
39
 
40
- def permutation_test_mean(x, y, num_permutations=10000):
41
  T_obs = test_statistic_mean_difference(x, y)
42
  pooled_data = np.concatenate([x, y])
43
  n_A = len(x)
 
19
  return np.mean(x) - np.mean(y)
20
 
21
 
22
+ def permutation_test_variance(x, y, num_permutations=100000):
23
  T_obs = test_statistic_variance_ratio(x, y)
24
  pooled_data = np.concatenate([x, y])
25
  n_A = len(x)
 
37
  return T_obs, p_value
38
 
39
 
40
+ def permutation_test_mean(x, y, num_permutations=100000):
41
  T_obs = test_statistic_mean_difference(x, y)
42
  pooled_data = np.concatenate([x, y])
43
  n_A = len(x)