The one-sample Wilcoxon signed-rank test compares a sample against a hypothesised median — the non-parametric alternative to a one-sample t-test.
Subtract the null median μ₀ from each observation; rank the absolute differences; sum the ranks of the positive differences (V). Under H₀ (median = μ₀ and symmetric distribution), V is symmetric around n(n+1)/4.
Drop pairs where x = μ₀ exactly. Symmetry around the median is the key assumption — for skewed differences, the sign test is the simpler robust alternative (no symmetry needed).
One numeric column + hypothesised median μ₀.
V statistic + p + Hodges-Lehmann pseudo-median with CI.
The Hodges-Lehmann pseudo-median is the natural effect estimate — robust and on the original scale. Report it alongside the p.