Zekun Wu commited on
Commit
06617c6
1 Parent(s): 693b882
Files changed (1) hide show
  1. util/evaluation.py +0 -2
util/evaluation.py CHANGED
@@ -23,7 +23,6 @@ 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)
26
- n_B = len(y)
27
 
28
  perm_test_stats = [T_obs]
29
  for _ in range(num_permutations):
@@ -42,7 +41,6 @@ def permutation_test_mean(x, y, num_permutations=10000):
42
  T_obs = test_statistic_mean_difference(x, y)
43
  pooled_data = np.concatenate([x, y])
44
  n_A = len(x)
45
- n_B = len(y)
46
 
47
  perm_test_stats = [T_obs]
48
  for _ in range(num_permutations):
 
23
  T_obs = test_statistic_variance_ratio(x, y)
24
  pooled_data = np.concatenate([x, y])
25
  n_A = len(x)
 
26
 
27
  perm_test_stats = [T_obs]
28
  for _ in range(num_permutations):
 
41
  T_obs = test_statistic_mean_difference(x, y)
42
  pooled_data = np.concatenate([x, y])
43
  n_A = len(x)
 
44
 
45
  perm_test_stats = [T_obs]
46
  for _ in range(num_permutations):