multi_perm_test¶
-
hyppo.tools.
multi_perm_test
(calc_stat, *args, reps=1000, workers=1)¶ Permutation test for the p-value of a nonparametric test with multiple variables.
- Parameters
calc_stat (
callable
) -- The method used to calculate the test statistic (must use hyppo API).*args (
ndarray
) -- Variable length input data matrices. All inputs must have the same number of samples. That is, the shapes must be(n, p)
,(n, q)
, etc., where n is the number of samples and p and q are the number of dimensions.reps (
int
, default:1000
) -- The number of replications used to estimate the null distribution when using the permutation test used to calculate the p-value.workers (
int
, default:1
) -- The number of cores to parallelize the p-value computation over. Supply-1
to use all cores available to the Process.
- Returns