Computation of exact and approximate probability values for a matched pairs permutation test

Abstract
An algorithm is presented for computing the probability value associated with a recently-developed test of statistical inference for matched pairs. The exact probability value is provided for small samples; otherwise, an approximate probability value is computed.