A SAS/IML algorithm for an exact permutation test

Markus Neuhäuser, Andreas Schulz & Daniel Czech
An algorithm written in SAS/IML is presented that can perform an exact permutation test for a two-sample comparison. All possible permutations are considered. The Baumgartner-Weiß-Schindler statistic is exemplarily used as the test statistic for the permutation test.