Parallelized calculation of permutation tests
Abstract
MotivationPermutation tests offer a straight forward framework to assess the significance of differences in sample statistics. A significant advantage of permutation tests are the relatively few assumptions about the distribution of the test statistic are needed, as they rely on the assumption of exchangeability of the group labels. They have great value, as they allow a sensitivity analysis to determine the extent to which the assumed broad sample distribution of the test statistic applies. However, in this situation, permutation tests are rarely applied because the running time of naive implementations is too slow and grows exponentially with the sample size. Nevertheless, continued development in the 1980s introduced dynamic programming algorithms that compute exact permutation tests in polynomial time. Albeit this significant running time reduction, the exact test has not yet become one of the predominant statistical tests for medium sample size. Here, we propose a computational parallelization of one such dynamic programming-based permutation test, the Green algorithm, which makes the permutation test more attractive. ResultsParallelization of the Green algorithm was found possible by nontrivial rearrangement of the structure of the algorithm. A speed-up - by orders of magnitude - is achievable by executing the parallelized algorithm on a GPU. We demonstrate that the execution time essentially becomes a non-issue for sample sizes, even as high as hundreds of samples. This improvement makes our method an attractive alternative to, e.g., the widely used asymptotic Mann-Whitney U-test. AvailabilityIn Python 3 code from the GitHub repository https://github.com/statisticalbiotechnology/parallelPermutationTest under an Apache 2.0 license. Contactlukask@kth.se Supplementary informationSupplementary data are available at Bioinformatics online.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 5
- FWCI
- 0.84
- Field percentile
- top 24%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- GWA-X: An Extensible GPU Accelerated Package for Permutation Testing in Genome-Wide Association Studies
Mulya Agung, Albert Tenesa·bioRxiv·Sep 15, 2024
- Kernel-smoothed permutation for extreme P-value estimation in genetic association studies
Jiayi Bian, Jingjing Wu, … Caifeng Li·GeneticsPeer-reviewed·May 11, 2026
- FPGA Acceleration of GWAS Permutation Testing
Yaniv Swiel, Jean‐Tristan Brandenburg, … Scott Hazelhurst·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024
- permGWAS2: Enhanced and Accelerated Permutation-based Genome-Wide Association Studies
Maura John, Arthur Korte, Dominik G. Grimm·bioRxiv·Nov 28, 2023
- Permute-match tests detect significant correlations between time series despite nonstationarity and limited replicates
Alex E. Yuan, Wenying Shou·bioRxiv·Mar 13, 2023
- Enlarging the Scope of Randomization and Permutation Tests in Neuroimaging and Neuroscience
Eric Maris·bioRxiv·Feb 1, 2020