TriaLab Power Studio · Method

Two proportions in a 2×2 crossover

Proportions & binary Validated 9 published examples

Compares the response rates of two treatments given to every subject in a two-sequence crossover, on the within-subject difference in rates, by the normal approximation. The trial pays for the standard deviation of that difference, not for the rates themselves.

Also known as: crossover, cross-over, binary crossover, replicated crossover, within-subject, adverse event rate, two-period.

Maturity

Validated: 9 published examples from 2 independent publications (Chow, Shao, Wang & Lokhnygina 2017; PASS) reproduce on every build (ADR-0001 §58).

What it solves for

  • Sample size: offered.
  • Power: offered.
  • Detectable effect: offered.
  • Precision: not offered — Sizing to a confidence-interval width is defined for this method, but no source on disk works an example of it, 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: the periods are fixed by the protocol, so calendar time does not enter the power function.

Size axes:

  • Subjects per sequence (participants_per_sequence), 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

  • SD of a subject’s within-subject difference in rate (σ_d) (sd_difference): a number, above 0 and at most 1; default 0.5; entered as proportion (0-1) or percent How much the difference between a subject’s response rate under test and under reference varies from subject to subject. Bounded by 1; usually taken from a pilot or an earlier crossover. Chow’s example takes 50%.
  • Difference in response rates to detect (p_T − p_R) (difference): a number, above -1 and below 1; default 0.2; entered as proportion (0-1) or percent The anticipated true difference between the two treatments’ response rates, test minus reference; positive favours test. Under a margin frame this is the assumed true difference, which is often zero.

Sizes entered when another axis is solved for

  • Subjects per sequence (participants_per_sequence): a whole number, at least 1 Subjects per sequence. 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 in response rates the crossover should be able to detect.

  • Difference in rates, the form’s default: p_T − p_R, in proportion units — the quantity a margin is stated on. (fields difference)

Modifiers admitted

  • frame: Hypothesis frame
  • dropout: Dropout

Published examples it reproduces (9)

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
Chow, Shao, Wang & Lokhnygina 2017, §4.3.4.1 (Equation 4.11) σ_d 0.50, a 20% difference in adverse-event rate, two-sided alpha 0.05, power 0.80 => 24.5, 25 per sequence Sample size alpha = 0.05; difference = 0.2; power_target = 0.8; sd_difference = 0.5 participants_per_sequence = 25 ± 0
Chow, Shao, Wang & Lokhnygina 2017, §4.3.4.2 (Equation 4.12) σ_d 0.50, no true difference, non-inferiority margin 0.20, one-sided alpha 0.05, power 0.80 => 19.2, 20 per sequence Sample size alpha = 0.05; difference = 0; frame = non_inferiority; margin = 0.2; power_target = 0.8; sd_difference = 0.5 (with frame) participants_per_sequence = 20 ± 0
Chow, Shao, Wang & Lokhnygina 2017, §4.3.4.3 (Equation 4.13) σ_d 0.50, no true difference, equivalence limit 0.20, alpha 0.05, power 0.80 => 26.6, 27 per sequence Sample size alpha = 0.05; difference = 0; frame = equivalence; margin = 0.2; power_target = 0.8; sd_difference = 0.5 (with frame) participants_per_sequence = 27 ± 0
PASS 2026 chapter 174, Example 1 (printed p. 174-5) Difference 0.2, SD of the paired differences 1, two-sided 0.05, 50 per sequence => power 0.51597 (0.51601 here: PASS omits the far tail, 3.8e-5) Power alpha = 0.05; difference = 0.2; participants_per_sequence = 50; sd_difference = 1 power = 0.51597 ± 0.00004
PASS 2026 chapter 174, Example 1 (printed p. 174-5) Difference 0.2, SD of the paired differences 1, two-sided 0.05, 100 per sequence => power 0.80743 Power alpha = 0.05; difference = 0.2; participants_per_sequence = 100; sd_difference = 1 power = 0.80743 ± 0.000005
PASS 2026 chapter 174, Example 1 (printed p. 174-5) Difference 0.2, SD of the paired differences 1, two-sided 0.05, 150 per sequence => power 0.93373 Power alpha = 0.05; difference = 0.2; participants_per_sequence = 150; sd_difference = 1 power = 0.93373 ± 0.000005
PASS 2026 chapter 174, Example 1 (printed p. 174-5) Difference 0.2, SD of the paired differences 1, two-sided 0.05, 200 per sequence => power 0.97933 Power alpha = 0.05; difference = 0.2; participants_per_sequence = 200; sd_difference = 1 power = 0.97933 ± 0.000005
PASS 2026 chapter 174, Example 2 (printed p. 174-9) Difference -0.15, SD of the paired differences 0.5917 (estimated from a previous study’s cells), two-sided 0.05, power 0.90 => 82 per sequence (power 0.90087) Sample size alpha = 0.05; difference = -0.15; power_target = 0.9; sd_difference = 0.5917 participants_per_sequence = 82 ± 0
PASS 2026 chapter 174, Example 3 (printed p. 174-11), validating Chow et al. 2018 p. 85 Difference 0.2, SD 0.5, two-sided 0.05, power 0.80 => 25 per sequence (power 0.80743) Sample size alpha = 0.05; difference = 0.2; power_target = 0.8; sd_difference = 0.5 participants_per_sequence = 25 ± 0

Sources

  1. Chow S-C, Shao J, Wang H, Lokhnygina Y. Sample Size Calculations in Clinical Research. 3rd ed. Boca Raton: Chapman & Hall/CRC; 2017. §4.3, Equations 4.11-4.13.
  2. Chow S-C, Liu J-P. Design and Analysis of Bioavailability and Bioequivalence Studies. 2nd ed. New York: Marcel Dekker; 2000. The crossover model the section builds on.

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 →