Computational Statistics: WIREs Reviews, Vol 5(4).
Posted: 30 May 2013 Last revised: 31 May 2013
Date Written: May 28, 2012
While permutation tests and bootstraps have very wide-ranging application, both share a common potential drawback: as data-intensive resampling methods, both can be runtime prohibitive when applied to large or even medium-sized data samples drawn from large datasets. The data explosion over the past few decades has made this a common occurrence, and it highlights the increasing need for faster, and more efficient and scalable, permutation test and bootstrap algorithms.
Seven bootstrap and six permutation test algorithms coded in SAS (the largest privately owned software firm globally) are compared. The fastest algorithms (“OPDY” for the bootstrap, “OPDN” for permutation tests) are new, use no modules beyond Base SAS, and achieve speed increases orders of magnitude faster than the relevant “built-in” SAS procedures (OPDY is over 200x faster than Proc SurveySelect; OPDN is over 240x faster than Proc SurveySelect, over 350x faster than NPAR1WAY (which crashes on datasets less than a tenth the size OPDN can handle), and over 720x faster than Proc Multtest). OPDY also is much faster than hashing, which crashes on datasets smaller – sometimes by orders of magnitude – than OPDY can handle. OPDY is easily generalizable to multivariate regression models, and OPDN, which uses an extremely efficient draw-by-draw random-sampling-without-replacement algorithm, can use virtually any permutation statistic, so both have a very wide range of application. And the time complexity of both OPDY and OPDN is sub-linear, making them not only the fastest, but also the only truly scalable bootstrap and permutation test algorithms, respectively, in SAS.
Keywords: Bootstrap, Permutation, SAS, Scalable, Hashing, With Replacement, Without Replacement, Sampling
JEL Classification: C12, C13, C14, C15, C63, C88
Suggested Citation: Suggested Citation
Opdyke, J.D., Bootstraps, Permutation Tests, and Sampling Orders of Magnitude Faster Using SAS® (May 28, 2012). Computational Statistics: WIREs Reviews, Vol 5(4).. Available at SSRN: https://ssrn.com/abstract=2271086