The signed rank statistic is computed as
![]() |
where is the rank of
after discarding values of
, and
is the number of
values not equal to
. Average ranks are used for tied values.
If , the significance of
is computed from the exact distribution of
, where the distribution is a convolution of scaled binomial distributions. When
, the significance of
is computed by treating
![]() |
as a Student variate with
degrees of freedom. V is computed as
![]() |
where the sum is over groups tied in absolute value and where is the number of values in the
th group (Iman 1974, Conover 1980). The null hypothesis tested is that the mean (or median) is
, assuming that the distribution is symmetric. Refer to Lehmann (1998).