TriaLab Power Studio · Method
van Elteren stratified Wilcoxon–Mann–Whitney test — common treatment fraction
Sizes a two-arm trial randomised and analysed within strata by the van Elteren test, using Zhao’s Method B: Noether’s formula on the stratum-weighted probability that a treated observation exceeds a control one, with the same allocation ratio in every stratum. The probability can be entered directly or as a common shift under an assumed shape of the population.
Also known as: van Elteren, stratified Wilcoxon, stratified Mann-Whitney, stratified rank-sum, stratified nonparametric, blocked Wilcoxon.
Maturity
Validated: 5 published examples from 2 independent publications (PASS; Zhao 2006) reproduce on every build (ADR-0001 §58).
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — A stratified confidence interval for the probability of superiority 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:
- Control participants across all strata (the treatment arm follows the allocation ratio) (
participants_per_arm), 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
- Number of strata (
strata): a whole number, at least 1; default 2 How many strata randomisation and analysis are stratified by. Recorded for the protocol: under a common treatment fraction the sample size depends on the strata only through the weighted probability below, not on their number. One stratum is the ordinary Mann–Whitney design. - 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).
- Stratum-weighted probability that a treated observation exceeds a control one (
p_exceed_weighted): a number, above 0 and below 1; default 0.64; entered as proportion (0-1) or percent Σ_k t_k π_k: within each stratum k, the probability π_k that a random treated observation exceeds a random control one, weighted by the stratum’s share t_k of the total sample. One half means no effect. Zhao’s duloxetine example has π = 0.583 in a mild stratum of 35% and 0.660 in a severe stratum of 65%, so 0.633. - Common shift between the arms (
difference): a number, any finite number A location shift (treatment minus control) assumed the same in every stratum, in the units of the outcome. Translated to the exceedance probability under the assumed population shape. - Standard deviation within a stratum and arm (
sd): a number, above 0 The anticipated standard deviation of the outcome within one stratum and arm, assumed common. The assumed population shape is scaled to it.
Sizes entered when another axis is solved for
- Control participants across all strata (the treatment arm follows the allocation ratio) (
participants_per_arm): a whole number, at least 1 Control participants across all strata (the treatment arm follows the allocation ratio). Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Ways to express an input
Effect — How far treatment sits above control, as the stratum-weighted probability of superiority or as a common shift.
- Weighted probability of superiority, the form’s default: The canonical form: Σ_k t_k π_k. (fields
p_exceed_weighted) - Common shift and SD: A location shift assumed the same in every stratum, translated under the assumed population shape. (fields
difference,sd)
Modifiers admitted
allocation: Allocationdropout: Dropout
Published examples it reproduces (5)
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 |
|---|---|---|---|---|
| Zhao 2006, Stat Med 25:2675-2687, §4 and Table III (printed p. 2682), Method B | Two severity strata (35% and 65%), 1:1 within each, π = 0.583 and 0.660 => π̄ = 0.6334; two-sided alpha 0.05, power 0.80 => 150 in total as printed (75 per arm); the stated asymptotic formula gives 147 (74 per arm) | Sample size | alpha = 0.05; p_exceed_weighted = 0.6334; power_target = 0.8; strata = 2 | participants_per_arm = 74.5 ± 0.5 |
| PASS 2026 chapter 257, Example 1 (printed p. 257-4), as the one-stratum case | With one stratum the van Elteren test is the Mann–Whitney test: P = 0.58, two-sided alpha 0.05, power 0.90 => 274 per arm | Sample size | alpha = 0.05; p_exceed_weighted = 0.58; power_target = 0.9; strata = 1 | participants_per_arm = 274 ± 0 |
| PASS 2026 chapter 254, Example 1 (printed p. 254-5) | Three equal strata, common P(Y1 >= Y2) 0.60, 132 per arm, two-sided 0.05 => power 0.80353 | Power | alpha = 0.05; p_exceed_weighted = 0.6; participants_per_arm = 132; strata = 3 | power = 0.80353 ± 0.000005 |
| PASS 2026 chapter 254, Example 2 (printed p. 254-8), validating Zhao et al. 2006 | Two equal strata, P 0.602 and 0.600 (weighted 0.601), two-sided 0.05, power 0.80 => 258 in all (PASS: 130 and 128, 129 per stratum) | Sample size | alpha = 0.05; p_exceed_weighted = 0.601; power_target = 0.8; strata = 2 | participants_per_arm = 129 ± 0 |
| PASS 2026 chapter 254, Example 2 (printed p. 254-8), validating Zhao et al. 2006 | The same at 129 per arm => power 0.8023 (PASS’s power is at 130 and 128, about 1e-5 away) | Power | alpha = 0.05; p_exceed_weighted = 0.601; participants_per_arm = 129; strata = 2 | power = 0.8023 ± 0.00005 |
Sources
- van Elteren PH. On the combination of independent two sample tests of Wilcoxon. Bull Int Stat Inst. 1960;37:351-361.
- Zhao YD. Sample size estimation for the van Elteren test - a stratified Wilcoxon-Mann-Whitney test. Stat Med. 2006;25(15):2675-2687.
- Noether GE. Sample size determination for some common nonparametric tests. J Am Stat Assoc. 1987;82(398):645-647.
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 →