Discarding zero observations and resolving ties is unnecessary with probability one under the stated independent continuous model. Rank the absolute observations from to , let be the rank of , and form the positive Wilcoxon signed-rank statistic
Reject the null hypothesis for large . Under symmetry about zero, each sign is a fair independent binary variable, independent of all the absolute values. To see this independence, for every measurable positive set , symmetry gives . Independence of observations then gives independence of the whole sign vector from the absolute-value vector. Conditional on those absolute values, relabeling by rank therefore gives
The null distribution is consequently independent of the unknown symmetric shape. Its probability generating function is , so the coefficient of gives the exact probability of . Choose an upper critical value with null tail probability at most the desired level, or randomize at the boundary to obtain that level exactly. The observed upper-tail probability is an exact one-sided p-value. A positive translation raises each Walsh average, as established below, so this upper-tail rule has the correct direction against positive centers for every fixed symmetric shape.
The independent-sign representation proves
The asymptotic null distribution, stated without proof, is
This supplies the usual upper normal distribution critical value when exact calculation is inconvenient; for the discrete upper tail , use in the continuity correction.
For exact equivalence with the proposed statistic, reorder the observations so . Partition the unordered pairs, including diagonals, by the member with larger absolute value. The block belonging to consists of the pairs with an earlier member and its diagonal pair. For an earlier member , the strict inequality means the sign of is the sign of ; the diagonal sum has that same sign. Thus the entire block supplies exactly positive averages when , and none otherwise. Summing the blocks proves
The two tests therefore have exactly the same statistic, critical values and p-values, not merely the same limiting distribution. The Walsh averages are dependent, so their positivity indicators must not instead be treated as an independent binomial sample. For a translation of any null-symmetric sample, every Walsh average increases by ; their positive count is nondecreasing, which also verifies the direction of the one-sided test.