TriaLab Power Studio · Method

Tukey — all pairwise comparisons among several groups

Means & continuous Validated 6 published examples

Sizes a parallel trial of k groups in which every pair of group means is compared by Tukey’s procedure. The family-wise error rate over all k(k − 1)/2 pairs is held at alpha exactly through the studentised range. Power is offered per comparison, for at least one or all of the pairs that differ (with one group apart from the rest), and as Hsu’s configuration-free bound.

Also known as: Tukey, Tukey-Kramer, honestly significant difference, HSD, all pairwise comparisons, pairwise multiple comparisons, studentised range, studentized range, post hoc, family-wise error rate, multiplicity, any-pair power, all-pairs power, MCA.

Maturity

Validated: 6 published examples from 2 independent publications (Hsu 1996; PASS) reproduce on every build (ADR-0001 §58).

What it solves for

  • Sample size: offered.
  • Power: offered.
  • Detectable effect: offered.
  • Precision: not offered — Tukey’s procedure produces a set of simultaneous confidence intervals, so sizing to a width means sizing to the width of all of them at once; Hsu’s coverage-and-narrowness definition above is the power-side of that question. No source on disk sizes to a stated width with a tolerance probability, 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 per group (all groups of equal size) (participants_per_group), 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 groups (groups): a whole number, at least 2; default 3; typically 3 to 8 (beyond about eight groups ask whether every pair is really a hypothesis) How many parallel groups the trial compares. Every pair of them is compared, so the family has k(k − 1)/2 comparisons: three groups make three, six make fifteen.
  • Standard deviation within a group (sd): a number, above 0; default 1 The anticipated standard deviation of the outcome within any one group. Assumed common to all groups, because the variance every pair is referred to is pooled across all of them.
  • Power to size against (power_definition): a choice; default per_comparison What ‘power’ should mean when every pair is compared. Per comparison is the probability that one nominated pair, differing by the entered amount, is declared different, and assumes nothing about the other groups. Any pair and all pairs assume one group sits apart from the rest by that amount and the rest are equal. Coverage and narrowness is Hsu’s bound: the chance that every simultaneous interval covers and is narrower than the entered difference, valid for any configuration of means and never above 1 − alpha.
    • per_comparison Per comparison: One nominated pair of groups is declared different.
    • any_pair Any pair (disjunctive): At least one of the pairs that differ is declared different, with one group apart from the rest.
    • all_pairs All pairs (conjunctive): Every pair that differs is declared different, with one group apart from the rest.
    • coverage_and_narrowness Coverage and narrowness (Hsu): All simultaneous intervals cover and are narrower than the difference; a bound for every configuration, at most 1 − alpha.
  • Difference between two group means (mean_difference): a number, any finite number; default 0.5 The true difference between two group means that the design must detect, in the units of the outcome. Under per-comparison power it is the difference of the one nominated pair; under any-pair and all-pairs power it is how far one group sits from the other, equal, groups; under Hsu’s definition it is the smallest difference worth declaring.
  • Standardised difference (standardised_difference): a number, any finite number; typically 0.2 to 0.8 (Cohen’s small / medium / large) The difference between the two means divided by the within-group standard deviation — Cohen’s d for the pair.

Sizes entered when another axis is solved for

  • Participants per group (all groups of equal size) (participants_per_group): a whole number, at least 1 Participants per group (all groups of equal size). 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 apart the two group means being compared are.

  • Difference between two means, the form’s default: The clinical quantity, in the units of the outcome. (fields mean_difference)
  • Standardised difference: The difference over the within-group SD. (fields standardised_difference)

Modifiers admitted

  • dropout: Dropout

Published examples it reproduces (6)

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 575, Example 1 (printed p. 575-11), after Hsu 1996 Four groups, within-group SD 5.3, minimum detectable difference 15.85, family-wise alpha 0.05, 6 per group => Hsu’s coverage-and-narrowness power 0.3171 Power alpha = 0.05; groups = 4; mean_difference = 15.85; participants_per_group = 6; power_definition = coverage_and_narrowness; sd = 5.3 power = 0.3171 ± 0.00015
PASS 2026 chapter 575, Example 1 (printed p. 575-11), after Hsu 1996 Four groups, within-group SD 5.3, minimum detectable difference 15.85, family-wise alpha 0.05, 8 per group => Hsu’s coverage-and-narrowness power 0.7371 Power alpha = 0.05; groups = 4; mean_difference = 15.85; participants_per_group = 8; power_definition = coverage_and_narrowness; sd = 5.3 power = 0.7371 ± 0.00015
PASS 2026 chapter 575, Example 1 (printed p. 575-11), after Hsu 1996 Four groups, within-group SD 5.3, minimum detectable difference 15.85, family-wise alpha 0.05, 10 per group => Hsu’s coverage-and-narrowness power 0.9301 Power alpha = 0.05; groups = 4; mean_difference = 15.85; participants_per_group = 10; power_definition = coverage_and_narrowness; sd = 5.3 power = 0.9301 ± 0.00015
Hsu 1996, Multiple Comparisons: Theory and Methods, p. 241, via PASS 2026 chapter 575 Example 4 Eight groups, minimum detectable difference 10000 psi, SD 3000 psi, family-wise alpha 0.05, Hsu’s power 0.90 => 10 per group (achieved 0.9397; nine give 0.8812) Sample size alpha = 0.05; groups = 8; mean_difference = 10000; power_definition = coverage_and_narrowness; power_target = 0.9; sd = 3000 participants_per_group = 10 ± 0
PASS 2026 chapter 580, Example 1 (printed p. 580-7), 2000 simulations Five groups, four means at 0 and one at 3, SD 3, family-wise alpha 0.05, 20 per group => simulated any-pair power 0.895, 95% interval half-width 0.0135 Power alpha = 0.05; groups = 5; mean_difference = 3; participants_per_group = 20; power_definition = any_pair; sd = 3 power = 0.895 ± 0.0135
PASS 2026 chapter 580, Example 1 (printed p. 580-7), 2000 simulations Five groups, four means at 0 and one at 3, SD 3, family-wise alpha 0.05, 20 per group => simulated all-pairs power 0.338, 95% interval half-width 0.021 Power alpha = 0.05; groups = 5; mean_difference = 3; participants_per_group = 20; power_definition = all_pairs; sd = 3 power = 0.338 ± 0.021

Sources

  1. Tukey JW. The problem of multiple comparisons. Unpublished manuscript, Princeton University; 1953. Reprinted in: Braun HI, editor. The Collected Works of John W. Tukey, Volume VIII: Multiple Comparisons 1948-1983. New York: Chapman & Hall; 1994. p. 1-300.
  2. Hsu JC. Multiple Comparisons: Theory and Methods. London: Chapman & Hall; 1996. §5.1 (Tukey’s method), p. 237 (power as coverage and narrowness), p. 241 (the sample-size example).
  3. Ramsey PH. Power differences between pairwise multiple comparisons. J Am Stat Assoc. 1978;73(363):479-485. (The any-pair and all-pairs definitions of power.).
  4. Hayter AJ. A proof of the conjecture that the Tukey-Kramer multiple comparisons procedure is conservative. Ann Stat. 1984;12(1):61-75.

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 →