TriaLab Power Studio · Method
Carryover effect in a 2 × 2 crossover with a binary outcome
Sizes the test of a treatment-by-period interaction (carryover) in a two-sequence, two-period crossover whose outcome is binary, by the z-test of Becker and Balagtas’s log-odds contrast as Chow derives it. Enter the contrast and the two sequences’ score standard deviations from a pilot.
Also known as: carryover, carry-over, treatment-by-period interaction, crossover binary, Becker Balagtas, 2x2 crossover.
Maturity
Beta: 1 published examples from Chow, Shao, Wang & Lokhnygina 2017 reproduce on every build; a second independent publication is wanted before the label becomes Validated (ADR-0001 §58). The catalogue’s row says which source is sought.
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — A confidence-interval width for the carryover contrast is not sized here: Chow’s §6.5 gives the test only.
- 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: each subject is classified once (or once before and once after), so calendar time does not enter the power function.
Size axes:
- Subjects per sequence (the two sequences equal) (
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
- Carryover contrast γ (
carryover_contrast): a number, any finite number; default 0.89; typically 0.3 to 1.5 (a log-odds contrast) The difference of the two sequences’ carryover effects on the log-odds scale: logit(p₁₁) − logit(p₁₂) − logit(p₂₁) + logit(p₂₂), with p_ij the response rate in sequence i at period j. Zero is no carryover. Chow’s pilot estimate is 0.89. - SD of the score in sequence 1 (AB) (
sd_sequence_1): a number, above 0; default 2.3; typically 1.5 to 4 (larger when response rates are near 0 or 1) The standard deviation, across subjects of sequence 1 (AB), of x₁/(p₁(1 − p₁)) + x₂/(p₂(1 − p₂)) — each subject’s two binary responses weighted by the inverse binomial variances of that sequence’s two periods. Estimated from a pilot; Chow’s are 2.3 and 2.4. - SD of the score in sequence 2 (BA) (
sd_sequence_2): a number, above 0; default 2.4; typically 1.5 to 4 (larger when response rates are near 0 or 1) The standard deviation, across subjects of sequence 2 (BA), of x₁/(p₁(1 − p₁)) + x₂/(p₂(1 − p₂)) — each subject’s two binary responses weighted by the inverse binomial variances of that sequence’s two periods. Estimated from a pilot; Chow’s are 2.3 and 2.4. - Sidedness of the equality test (
tails): a choice; defaulttwo_sidedChow tests the carryover two-sided; a one-sided test spends alpha on the anticipated sign of the contrast.two_sidedTwo-sided: Either direction rejects.one_sidedOne-sided: Only the anticipated direction rejects; alpha is spent on that tail.
Sizes entered when another axis is solved for
- Subjects per sequence (the two sequences equal) (
participants_per_sequence): a whole number, at least 1 Subjects per sequence (the two sequences equal). Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Modifiers admitted
dropout: Dropout
Published examples it reproduces (1)
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, §6.5.2 (printed p. 145) | Carryover contrast 0.89, sequence SDs 2.3 and 2.4, two-sided 0.05, 80% power => 110 per sequence (109.49; Chow’s text calls it a total, his derivation does not) | Sample size | alpha = 0.05; carryover_contrast = 0.89; power_target = 0.8; sd_sequence_1 = 2.3; sd_sequence_2 = 2.4 | participants_per_sequence = 110 ± 0 |
Sources
- Chow S-C, Shao J, Wang H, Lokhnygina Y. Sample Size Calculations in Clinical Research. 3rd ed. Boca Raton: Chapman & Hall/CRC; 2017. §6.5.
- Becker MP, Balagtas CC. Marginal modeling of binary cross-over data. Biometrics. 1993;49(4):997-1009.
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 →