Wilcoxon signed-rank test

ID: wilcoxon-signed-rank-test

For independent paired observations, form differences . Assume the differences are identically distributed, continuous and symmetric about a location . Under the zero-location null hypothesis, the signs are independent fair signs conditional on their absolute values. Rank the absolute differences and add ranks with positive signs. A negative-location alternative rejects for small . Its exact conditional distribution is that of a sum of an independently selected subset of ranks, each of the subsets equally likely. Thus its mean is and its variance is . Symmetry is essential: a zero median alone does not justify this signed-rank null law. Zero differences are omitted in the usual version, and tied absolute differences receive average ranks.

New to topics? Read the docs here!