TriaLab Power Studio · Method
Wilcoxon signed-rank test — one sample or paired differences
Sizes a one-sample or paired design analysed by the Wilcoxon signed-rank test, by the efficiency adjustment of the one-sample t-test (what PASS computes) or by Noether’s formula on the probability that the sum of two observations exceeds the reference. The effect can be entered as a difference, a standardised difference, or that probability, under an assumed shape of the population.
Also known as: Wilcoxon signed rank, signed-rank test, paired Wilcoxon, nonparametric paired test, nonparametric one-sample test, rank test, Noether, asymptotic relative efficiency, skewed paired data.
Maturity
Validated: 8 published examples from 3 independent publications (Chow, Shao, Wang & Lokhnygina 2017; PASS; Zar 1999) reproduce on every build (ADR-0001 §58).
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — A confidence interval for the Hodges–Lehmann estimate of the centre is well defined, but no source on disk sizes to its width, so it is not offered rather than offered unchecked.
- Assurance: not offered — No source on disk states a prior on this design’s effect, so the assurance modifier is not admitted here.
- Duration: not offered — This design has no time axis: participants are assessed at a fixed follow-up, so calendar time does not enter the power function.
Size axes:
- Participants (pairs, for a paired design) (
participants), Count
Inputs
Every field as the form shows it, with its help. A field marked advanced sits behind Expert mode.
Common to every method
- Significance level (alpha) (
alpha): a number, above 0 and below 1; default 0.05; typically 0.01 to 0.05 (0.05 in most trials; 0.01 for confirmatory claims); entered as proportion (0-1) or percent The type I error rate. Interpreted as two-sided when testing plain equality and one-sided when a margin frame is active, following the usual convention. - Target power (
power_target): a number, above 0 and below 1; default 0.8; typically 0.8 to 0.9 (0.80 is conventional; 0.90 for definitive trials); entered as proportion (0-1) or percent The chance of a significant result if the assumed effect is real. Used when solving for sample size or detectable effect; ignored when solving for power.
The method’s own
- Route (
method): a choice; defaultnoetherWhich published sizing method to use. Both are approximations — there is no exact closed form for a rank test’s power at a finite size — and the cross-check log records how far each sits from a simulation of the actual test (ADR-0001 §22). Noether’s formula, the default, was never optimistic in that simulation: it sat within 0.02 of the true power at the sizes trials run and up to 0.07 below it under fifty participants. The efficiency adjustment is what PASS computes; it is accurate under the normal and optimistic under the other shapes — by up to 0.17 in power for the signed-rank test under the double exponential at small sizes.noetherNoether’s formula: Noether (1987): N = (z_alpha + z_beta)^2 / (3 (p’ − 1/2)^2) on the probability p’ that the sum of two observations exceeds twice the reference; equality frame only.efficiencyEfficiency adjustment: The one-sample t-test’s power at the adjusted size n/W, following Al-Sunduqchi & Guenther (1990); takes every frame the t-test takes.
- Assumed shape of the population (
family): a choice; defaultnormalThe distribution the observations are assumed to follow, standardised to the standard deviation entered. It sets two things: the efficiency factor W of the efficiency route — 1 for the uniform, 1.047 for the normal, 0.912 for the logistic, 0.667 for the double exponential — and the translation between a shift in outcome units and the probability that one observation exceeds another. If the shape is unknown, the normal is the conventional assumption and the one PASS’s examples use.normalNormal: The rank test needs 4.7% more participants than the t-test (W = π/3).uniformUniform: Short tails; the rank test and the t-test need the same size (W = 1).logisticLogistic: Slightly heavy tails; the rank test needs 8.8% fewer (W = 9/π²).double_exponentialDouble exponential (Laplace): Heavy tails; the rank test needs a third fewer (W = 2/3).
- Standard deviation (
sd): a number, above 0; default 1 The anticipated standard deviation of the outcome — for a paired design, of the within-pair differences. The assumed population shape is scaled to it. - Difference from the reference (
difference): a number, any finite number; default 0.5 The anticipated true difference between the population centre and the reference value — for a paired design, the mean within-pair change — in the units of the outcome. Under a margin frame this is the assumed true difference, which is often zero. - Standardised difference (
standardised_difference): a number, any finite number; typically 0.2 to 0.8 (Cohen’s small / medium / large) The difference from the reference divided by the standard deviation. - Probability that two observations sum above twice the reference (
p_sum_positive): a number, above 0 and below 1; entered as proportion (0-1) or percent Noether’s p’: for two independent observations X and X’, the probability that X + X’ exceeds twice the reference value. One half means no effect. Translated to a difference under the assumed population shape — under the normal, p’ = 0.64 is a standardised difference of about 0.25.
Sizes entered when another axis is solved for
- Participants (pairs, for a paired design) (
participants): a whole number, at least 1 Participants (pairs, for a paired design). Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Ways to express an input
Effect size — How far the population centre sits from the reference. Three spellings of one quantity under the assumed population shape.
- Difference from the reference, the form’s default: The clinical quantity, in the units of the outcome. (fields
difference) - Standardised difference: The difference over the standard deviation. (fields
standardised_difference) - Noether’s probability p’: P(X + X’ > twice the reference), translated under the assumed population shape. (fields
p_sum_positive)
Modifiers admitted
frame: Hypothesis framemultiplicity: Multiplicity (a family of tests)fdr: False-discovery rate (many features tested at once)dropout: Dropout
Published examples it reproduces (8)
Each is a worked example: the inputs as a user enters them, and the number the source prints, which the engine reproduces within the tolerance on every build (the Validation screen runs them on your machine).
| Source | Example | Solves for | Inputs | Published |
|---|---|---|---|---|
| PASS 2026 chapter 411, Example 4 (printed p. 411-12), after Chow 2017 §3.1 | Difference 0.5, SD 1, two-sided alpha 0.05, power 0.80 under the uniform (W = 1) => 34, Chow’s one-sample t answer | Sample size | alpha = 0.05; difference = 0.5; family = uniform; method = efficiency; power_target = 0.8; sd = 1 |
participants = 34 ± 0 |
| PASS 2026 chapter 411, Example 4 (printed p. 411-13), after Chow 2017 §3.1, under the normal | The same design under the normal (W = π/3): 34 × π/3 = 35.6. PASS truncates n/W and prints 36; the fractional adjustment gives 35 | Sample size | alpha = 0.05; difference = 0.5; family = normal; method = efficiency; power_target = 0.8; sd = 1 |
participants = 35.5 ± 0.5 |
| PASS 2026 chapter 411, Example 5 (printed p. 411-14), after Zar 1984 pp. 111-112 | Difference 1, SD 1.25, two-sided alpha 0.05, 12 participants under the uniform => power 0.71366 (Zar’s 0.72 is a noncentral-t approximation) | Power | alpha = 0.05; difference = 1; family = uniform; method = efficiency; participants = 12; sd = 1.25 |
power = 0.71366 ± 0.000005 |
| PASS 2026 chapter 411, Example 5 (printed p. 411-15), after Zar 1984, under the double exponential | The same design with 8 participants under the double exponential (W = 2/3): the adjusted size is exactly 12 and the power 0.71366 again | Power | alpha = 0.05; difference = 1; family = double_exponential; method = efficiency; participants = 8; sd = 1.25 |
power = 0.71366 ± 0.000005 |
| PASS 2026 chapter 411, Example 6 (printed p. 411-16), after Machin, Campbell, Fayers & Pinol 1997 p. 37 | Difference 0.2, SD 1, two-sided alpha 0.05, power 0.80 under the uniform => 199 | Sample size | alpha = 0.05; difference = 0.2; family = uniform; method = efficiency; power_target = 0.8; sd = 1 |
participants = 199 ± 0 |
| PASS 2026 chapter 411, Example 6 (printed p. 411-17), after Machin et al. 1997, under the double exponential | The same design under the double exponential (W = 2/3): 199 × 2/3 = 132.7 => 133, by truncation or by the fractional adjustment alike | Sample size | alpha = 0.05; difference = 0.2; family = double_exponential; method = efficiency; power_target = 0.8; sd = 1 |
participants = 133 ± 0 |
| Chow, Shao, Wang & Lokhnygina 2017, §3.1.4.1 and Table 3.1 (printed p. 46) | Bone density 0.5 SD after treatment against before, SD 1, two-sided alpha 0.05, power 0.80 under the uniform (W = 1) => 34, the one-sample t answer of Table 3.1 | Sample size | alpha = 0.05; difference = 0.5; family = uniform; method = efficiency; power_target = 0.8; sd = 1 |
participants = 34 ± 0 |
| Zar 1999, Biostatistical Analysis 4e, Example 7.9 (printed p. 108) | A difference of 1.0 g with s² 1.5682 g² at n = 12, two-sided 0.05, under the uniform (W = 1) => power 0.71 (Zar’s exact value; 0.72 by his normal-deviate approximation) | Power | alpha = 0.05; difference = 1; family = uniform; method = efficiency; participants = 12; sd = 1.252278 |
power = 0.71 ± 0.005 |
Sources
- Noether GE. Sample size determination for some common nonparametric tests. J Am Stat Assoc. 1987;82(398):645-647.
- Al-Sunduqchi MS. Determining the appropriate sample size for inferences based on the Wilcoxon statistics [PhD dissertation]. Laramie (WY): University of Wyoming; 1990.
- Chow S-C, Shao J, Wang H, Lokhnygina Y. Sample Size Calculations in Clinical Research. 3rd ed. Boca Raton: Chapman & Hall/CRC; 2017. §14.2.
This page was generated from TriaLab Power Studio 2.0.1's engine, as the method is built, and is published in English only. All methods →