TriaLab Power Studio · Method

Two-sample mean, Welch–Satterthwaite

Means & continuous Validated Free 20 published examples

Compares the means of two parallel groups without assuming a common standard deviation, using the exact noncentral-t power at the Welch–Satterthwaite degrees of freedom.

Also known as: Welch t-test, unequal variances, Satterthwaite, Aspin-Welch, heteroscedastic t-test.

Maturity

Validated: 20 published examples from 2 independent publications (PASS; SAS PROC POWER test=diff_satt) reproduce on every build (ADR-0001 §58).

What it solves for

  • Sample size: offered.
  • Power: offered.
  • Detectable effect: offered.
  • Precision: offered.
  • Assurance: not offered — Switch on the assurance modifier: a prior on the effect turns the power into an expected power over the prior, and the size can then be solved for a target assurance (O’Hagan, Stevens & Campbell 2005).
  • 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 arm (control arm when allocation is unequal) (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.
  • Confidence-interval half-width (half_width_target): a number, above 0 Half the total width of the confidence interval, in the units the effect is measured in — the distance from the estimate to either limit, where the interval is symmetric about it. Used when solving for precision; ignored for every other target.

The method’s own

  • Control-group standard deviation (sd_control): a number, above 0; default 0.1 The anticipated standard deviation of the outcome in the control group. Take it from a pilot study or published data.
  • Treatment-group standard deviation (sd_treatment): a number, above 0; default 0.1 The anticipated standard deviation of the outcome in the treatment group — the reason to choose Welch over the pooled test is that it may differ from the control group’s.
  • Difference to detect (difference): a number, any finite number; default 0.05 The anticipated true difference between the group means (treatment minus control; positive favours treatment), in the units of the outcome. Under a margin frame this is the assumed true difference, which is often zero.
  • Control-group mean (mean_control): a number, any finite number The anticipated mean of the outcome in the control group.
  • Treatment-group mean (mean_treatment): a number, any finite number The anticipated mean of the outcome in the treatment group.

Sizes entered when another axis is solved for

  • Participants per arm (control arm when allocation is unequal) (participants_per_arm): a whole number, at least 1 Participants per arm (control arm when allocation is unequal). Required when solving for power or detectable effect; produced by the solver when solving for sample size.

Ways to express an input

Effect size — The difference the study should be able to detect, expressed whichever way is most natural.

  • Raw difference, the form’s default: The difference in outcome units — the clinical quantity. (fields difference)
  • Two group means: Enter both anticipated means; the difference is derived. (fields mean_control, mean_treatment)

Modifiers admitted

  • posterior_error: Bayesian error rates (posterior error approach)
  • frame: Hypothesis frame
  • multiplicity: Multiplicity (a family of tests)
  • fdr: False-discovery rate (many features tested at once)
  • allocation: Allocation
  • nonadherence: Non-adherence
  • dropout: Dropout
  • group_sequential: Group-sequential design
  • assurance: Assurance (prior on the design)

Published examples it reproduces (20)

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 chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 6 => 265 per group Precision alpha = 0.05; difference = 1; half_width_target = 6; sd_control = 32; sd_treatment = 38 participants_per_arm = 265 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 7 => 195 per group Precision alpha = 0.05; difference = 1; half_width_target = 7; sd_control = 32; sd_treatment = 38 participants_per_arm = 195 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 8 => 150 per group Precision alpha = 0.05; difference = 1; half_width_target = 8; sd_control = 32; sd_treatment = 38 participants_per_arm = 150 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 9 => 119 per group Precision alpha = 0.05; difference = 1; half_width_target = 9; sd_control = 32; sd_treatment = 38 participants_per_arm = 119 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 10 => 97 per group Precision alpha = 0.05; difference = 1; half_width_target = 10; sd_control = 32; sd_treatment = 38 participants_per_arm = 97 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 11 => 80 per group Precision alpha = 0.05; difference = 1; half_width_target = 11; sd_control = 32; sd_treatment = 38 participants_per_arm = 80 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 12 => 68 per group Precision alpha = 0.05; difference = 1; half_width_target = 12; sd_control = 32; sd_treatment = 38 participants_per_arm = 68 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 13 => 58 per group Precision alpha = 0.05; difference = 1; half_width_target = 13; sd_control = 32; sd_treatment = 38 participants_per_arm = 58 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 14 => 50 per group Precision alpha = 0.05; difference = 1; half_width_target = 14; sd_control = 32; sd_treatment = 38 participants_per_arm = 50 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.95 interval for the difference of two means, sds 32 and 38, half-width at most 15 => 44 per group Precision alpha = 0.05; difference = 1; half_width_target = 15; sd_control = 32; sd_treatment = 38 participants_per_arm = 44 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.99 interval for the difference of two means, sds 32 and 38, half-width at most 8 => 258 per group Precision alpha = 0.01; difference = 1; half_width_target = 8; sd_control = 32; sd_treatment = 38 participants_per_arm = 258 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.99 interval for the difference of two means, sds 32 and 38, half-width at most 9 => 205 per group Precision alpha = 0.01; difference = 1; half_width_target = 9; sd_control = 32; sd_treatment = 38 participants_per_arm = 205 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.99 interval for the difference of two means, sds 32 and 38, half-width at most 10 => 166 per group Precision alpha = 0.01; difference = 1; half_width_target = 10; sd_control = 32; sd_treatment = 38 participants_per_arm = 166 ± 0
PASS chapter 471, Example 1 (printed p. 471-4) two-sided 0.99 interval for the difference of two means, sds 32 and 38, half-width at most 11 => 138 per group Precision alpha = 0.01; difference = 1; half_width_target = 11; sd_control = 32; sd_treatment = 38 participants_per_arm = 138 ± 0
PASS documentation ch. 424, Two-Sample T-Tests Allowing Unequal Variance, Example 1 delta 2 (means 11 vs 9), sd treatment 1, sd control 2.5, two-sided alpha 0.05, power 0.90 => 21 per arm (printed actual power 0.90607) Sample size alpha = 0.05; difference = 2; power_target = 0.9; sd_control = 2.5; sd_treatment = 1 participants_per_arm = 21 ± 0
PASS documentation ch. 424, Two-Sample T-Tests Allowing Unequal Variance, Example 1 delta 2, sd treatment 4, sd control 2.5, two-sided alpha 0.01, power 0.90 => 85 per arm (printed actual power 0.90097) Sample size alpha = 0.01; difference = 2; power_target = 0.9; sd_control = 2.5; sd_treatment = 4 participants_per_arm = 85 ± 0
PASS documentation ch. 424, Two-Sample T-Tests Allowing Unequal Variance, Example 4 (validation using simulation) delta 3.5, sd treatment 1, sd control 3, two-sided alpha 0.05, power 0.90 => 11 per group (printed actual power 0.92066) Sample size alpha = 0.05; difference = 3.5; power_target = 0.9; sd_control = 3; sd_treatment = 1 participants_per_arm = 11 ± 0
SAS PROC POWER test=diff_satt, published run (UCLA OARC, Introduction to SAS Power and Sample Size Analysis, ex. 8) delta 0.7 (means 1.0 vs 0.3), sd treatment 1.5, sd control 0.7, 30 per arm, two-sided alpha 0.05 => power 0.619 as printed Power alpha = 0.05; difference = 0.7; participants_per_arm = 30; sd_control = 0.7; sd_treatment = 1.5 power = 0.619 ± 0.001
SAS PROC POWER test=diff_satt, published run (UCLA OARC, Introduction to SAS Power and Sample Size Analysis, ex. 9) same design, group ns 40 (treatment) and 20 (control) via allocation ratio 2 => power 0.678 as printed Power allocation_ratio = 2; alpha = 0.05; difference = 0.7; participants_per_arm = 20; sd_control = 0.7; sd_treatment = 1.5 (with allocation) power = 0.678 ± 0.001
PASS 2026 chapter 269, Example 2 (validation by hand) one-sided 0.025, 70 per arm, δ over {5, 7, 9} with {0.3, 0.4, 0.3}, σ₁ over {12, 16, 20} and σ₂ over {15, 19, 23}, each with {0.2, 0.6, 0.2} => assurance 0.63023 Power alpha = 0.025; difference = 7; effect_prior = custom; effect_prior_points = 3; effect_prior_probabilities = (0.3, 0.4, 0.3); effect_prior_values = (5, 7, 9); frame = superiority_margin; margin = 0; nuisance_a = sd_treatment; nuisance_a_prior = custom; nuisance_a_prior_points = 3; nuisance_a_prior_probabilities = (0.2, 0.6, 0.2); nuisance_a_prior_values = (12, 16, 20); nuisance_b = sd_control; nuisance_b_prior = custom; nuisance_b_prior_points = 3; nuisance_b_prior_probabilities = (0.2, 0.6, 0.2); nuisance_b_prior_values = (15, 19, 23); participants_per_arm = 70; sd_control = 19; sd_treatment = 16 (with frame, assurance) assurance = 0.63023 ± 0.00001

Sources

  1. Welch BL. The generalization of “Student’s” problem when several different population variances are involved. Biometrika. 1947;34(1-2):28-35.
  2. Satterthwaite FE. An approximate distribution of estimates of variance components. Biometrics Bull. 1946;2(6):110-114.

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 →