TriaLab Power Studio · Method

Log-rank / Cox proportional hazards (Schoenfeld)

Time-to-event Validated Free 22 published examples

Sizes a two-arm time-to-event trial on the number of events by Schoenfeld’s formula for the log-rank test or the Cox model’s treatment coefficient, then on the participants that yield them from the probability of an event. Carries a margin on the log hazard ratio.

Also known as: log-rank, logrank, Cox, proportional hazards, hazard ratio, Schoenfeld, number of events, survival, time to event.

Maturity

Validated: 22 published examples from 2 independent publications (Chow et al. 2017; PASS) reproduce on every build (ADR-0001 §58).

What it solves for

  • Sample size: offered.
  • Power: offered.
  • Detectable effect: not offered — The proportion of participants with an event is derived from the hazard ratio under the proportion-event-free and exponential spellings, so a hazard ratio solved at a fixed event probability would contradict its own table. Enter the hazard ratio and solve for the sample size or the power; for a detectable hazard ratio under the exponential model use the Lachin & Foulkes kernel.
  • Precision: not offered — The interval for the hazard ratio is stated on the log scale, ±z(1 + φ)/√(φD) from the number of events D (Jennison and Turnbull, equation 17.16), but no source on disk works an example of sizing 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 — Solving for the accrual or follow-up period that yields the required events is the event-driven projection row of M5, not yet built; here the event probability is entered.

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.

The method’s own

  • Hazard ratio to detect (λ_T / λ_C) (hazard_ratio): a number, above 0; default 0.7 Treatment hazard over control hazard; below 1 favours the treatment. Under proportional hazards it is the same at every time.
  • Log hazard reduction, ln(λ_C / λ_T) = −ln HR (log_hazard_reduction): a number, any finite number; default 0.356675 Positive favours the treatment. The scale Schoenfeld’s test and a margin live on (Chow §7.3).
  • Control median time to event (M_C) (median_control): a number, above 0; default 12 Any time unit, the same for both medians; only their ratio is used (HR = M_C / M_T, Machin Equation 7.3).
  • Treatment median time to event (M_T) (median_treatment): a number, above 0; default 17.142857 In the same unit as the control median; longer favours the treatment.
  • Treatment proportion event-free at the end of the study (S_T) (survival_treatment): a number, above 0 and below 1; default 0.615572; entered as proportion (0-1) or percent Beside the control arm’s proportion from the events group’s ‘proportion event-free’ spelling, which this spelling needs: HR = ln S_T / ln S_C (Machin Equation 7.3; PASS 702’s S1 and S2).
  • Probability of an event during the study, pooled over arms (Ψ) (event_probability): a number, above 0 and at most 1; default 0.442214; entered as proportion (0-1) or percent The anticipated proportion of all participants who have the event before the study ends — Machin’s Ψ, Chow’s d. Events = participants × Ψ.
  • Control proportion event-free at the end of the study (S_C) (survival_control): a number, above 0 and below 1; default 0.5; entered as proportion (0-1) or percent The treatment arm’s proportion follows from the hazard ratio as S_T = S_C^HR (Machin Equation 7.4). Planning at the control median makes this 0.5.
  • Probability of an event, control arm (p_C) (event_probability_control): a number, above 0 and at most 1; default 0.5; entered as proportion (0-1) or percent The proportion of the control arm expected to have the event during the study (PASS 730’s Pev1).
  • Probability of an event, treatment arm (p_T) (event_probability_treatment): a number, above 0 and at most 1; default 0.384428; entered as proportion (0-1) or percent The proportion of the treatment arm expected to have the event during the study (PASS 730’s Pev2); entered independently of the hazard ratio.
  • Control hazard rate (λ_C) (hazard_control): a number, above 0; default 0.057762 The constant event rate per unit time on the control arm: ln 2 / median, or −ln S(τ) / τ from a proportion event-free at time τ. Any time unit, the same for the hazard and both periods.
  • Accrual period (t_a) (accrual_duration): a number, above 0; default 24 How long recruitment lasts, with uniform entry. Any time unit, the same for the hazard and both periods.
  • Follow-up after accrual (t_f) (follow_up_duration): a number, at least 0; default 12 How long the last recruited participant is followed. Any time unit, the same for the hazard and both periods.
  • Sidedness of the equality test (tails): a choice; default two_sided Chow’s test of equality is two-sided; PASS 877 offers both. Ignored under a margin, which is one-sided by construction.
    • two_sided Two-sided: Either direction rejects.
    • one_sided One-sided: Only the anticipated direction rejects; alpha is spent on that tail.

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 treatment effect as a hazard ratio, its log reduction, two medians, or the treatment arm’s proportion event-free beside the control arm’s.

  • Hazard ratio, the form’s default: The quantity a protocol prints. (fields hazard_ratio)
  • Log hazard reduction: −ln HR, the canonical scale. (fields log_hazard_reduction)
  • Two medians: HR = M_C / M_T under proportional hazards. (fields median_control, median_treatment)
  • Treatment proportion event-free: HR = ln S_T / ln S_C; needs the control proportion from the events group. (fields survival_treatment)

Events — How many participants will have the event: as a pooled probability, the control arm’s proportion event-free, each arm’s probability, or an exponential model with accrual and follow-up.

  • Pooled event probability: Ψ directly, as Chow enters it. (fields event_probability)
  • Control proportion event-free, the form’s default: S_C at the end of the study; S_T = S_C^HR follows from the hazard ratio. (fields survival_control)
  • Event probability per arm: p_C and p_T entered separately, as PASS 730 does. (fields event_probability_control, event_probability_treatment)
  • Exponential model with accrual and follow-up: Constant hazards, uniform entry over t_a, then t_f more (Wu 2018; PASS 876 and 877). (fields hazard_control, accrual_duration, follow_up_duration)

Modifiers admitted

  • frame: Hypothesis frame
  • multiplicity: Multiplicity (a family of tests)
  • fdr: False-discovery rate (many features tested at once)
  • allocation: Allocation
  • dropout: Dropout
  • group_sequential: Group-sequential design

Published examples it reproduces (22)

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 et al. 2017, §7.3.4.1, and PASS chapter 730, Example 2 hazard ratio 2 (test therapy halves the infection hazard), 80% with the event, two-sided alpha 0.05, power 0.80 => 82 in total, 41 per arm (Chow prints 82 as ‘per treatment group’; PASS 730 shows it is the total) Sample size alpha = 0.05; event_probability = 0.8; hazard_ratio = 0.5; power_target = 0.8; events expressed as pooled participants_per_arm = 41 ± 0
Chow et al. 2017, §7.3.4.2 log hazard reduction ln 2 against a superiority margin of 0.3 on the log scale, 80% with the event, one-sided alpha 0.05, power 0.80 => 200 in total, 100 per arm Sample size alpha = 0.05; event_probability = 0.8; frame = superiority_margin; log_hazard_reduction = 0.693147; margin = 0.3; power_target = 0.8; effect expressed as log_reduction; events expressed as pooled (with frame) participants_per_arm = 100 ± 0
PASS chapter 730, Example 1 hazard ratio 0.3, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.8 => PASS total 58, 29 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.3; power_target = 0.8; events expressed as probabilities participants_per_arm = 29 ± 0
PASS chapter 730, Example 1 hazard ratio 0.4, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.8 => PASS total 100, 50 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.4; power_target = 0.8; events expressed as probabilities participants_per_arm = 50 ± 0
PASS chapter 730, Example 1 hazard ratio 0.4156, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.8 => PASS total 109, 55 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.4156; power_target = 0.8; events expressed as probabilities participants_per_arm = 55 ± 0
PASS chapter 730, Example 1 hazard ratio 0.5, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.8 => PASS total 175, 88 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.5; power_target = 0.8; events expressed as probabilities participants_per_arm = 88 ± 0
PASS chapter 730, Example 1 hazard ratio 0.6, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.8 => PASS total 322, 161 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.6; power_target = 0.8; events expressed as probabilities participants_per_arm = 161 ± 0
PASS chapter 730, Example 1 hazard ratio 0.7, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.8 => PASS total 659, 330 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.7; power_target = 0.8; events expressed as probabilities participants_per_arm = 330 ± 0
PASS chapter 730, Example 1 hazard ratio 0.3, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.9 => PASS total 78, 39 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.3; power_target = 0.9; events expressed as probabilities participants_per_arm = 39 ± 0
PASS chapter 730, Example 1 hazard ratio 0.4, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.9 => PASS total 134, 67 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.4; power_target = 0.9; events expressed as probabilities participants_per_arm = 67 ± 0
PASS chapter 730, Example 1 hazard ratio 0.4156, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.9 => PASS total 146, 73 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.4156; power_target = 0.9; events expressed as probabilities participants_per_arm = 73 ± 0
PASS chapter 730, Example 1 hazard ratio 0.5, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.9 => PASS total 234, 117 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.5; power_target = 0.9; events expressed as probabilities participants_per_arm = 117 ± 0
PASS chapter 730, Example 1 hazard ratio 0.6, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.9 => PASS total 430, 215 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.6; power_target = 0.9; events expressed as probabilities participants_per_arm = 215 ± 0
PASS chapter 730, Example 1 hazard ratio 0.7, event probabilities 0.5 and 0.25, two-sided alpha 0.05, power 0.9 => PASS total 882, 441 per arm Sample size alpha = 0.05; event_probability_control = 0.5; event_probability_treatment = 0.25; hazard_ratio = 0.7; power_target = 0.9; events expressed as probabilities participants_per_arm = 441 ± 0
PASS chapter 877, Example 1 survival 0.50 against 0.70 at two years (hazard ratio 0.51457), accrual 1, follow-up 2, two-sided alpha 0.05, power 0.90 => 102 per arm Sample size accrual_duration = 1; alpha = 0.05; follow_up_duration = 2; hazard_control = 0.346574; hazard_ratio = 0.514573; power_target = 0.9; events expressed as exponential participants_per_arm = 102 ± 0
PASS chapter 877, Example 1 survival 0.50 against 0.70 at two years (hazard ratio 0.51457), accrual 2, follow-up 2, two-sided alpha 0.05, power 0.90 => 91 per arm Sample size accrual_duration = 2; alpha = 0.05; follow_up_duration = 2; hazard_control = 0.346574; hazard_ratio = 0.514573; power_target = 0.9; events expressed as exponential participants_per_arm = 91 ± 0
PASS chapter 877, Example 1 survival 0.50 against 0.70 at two years (hazard ratio 0.51457), accrual 3, follow-up 2, two-sided alpha 0.05, power 0.90 => 84 per arm Sample size accrual_duration = 3; alpha = 0.05; follow_up_duration = 2; hazard_control = 0.346574; hazard_ratio = 0.514573; power_target = 0.9; events expressed as exponential participants_per_arm = 84 ± 0
PASS chapter 877, Example 2 (Wu 2018, p. 73) survival 0.50 against 0.60 at three years, accrual 5, follow-up 3, one-sided alpha 0.05, power 0.90 => 566 in total, 283 per arm Sample size accrual_duration = 5; alpha = 0.05; follow_up_duration = 3; hazard_control = 0.231049; hazard_ratio = 0.736966; power_target = 0.9; tails = one_sided; events expressed as exponential participants_per_arm = 283 ± 0
PASS chapter 710, Example 1 (Reboussin, DeMets, Kim & Lan 1992) survival 0.30 against 0.35, two-sided 0.05, power 0.90, four looks with O’Brien-Fleming spending => 2280 events from 3378 participants, 1689 per arm Sample size alpha = 0.05; event_probability_control = 0.7; event_probability_treatment = 0.65; hazard_ratio = 0.871965; looks = 4; power_target = 0.9; events expressed as probabilities (with group_sequential) participants_per_arm = 1689 ± 1
PASS chapter 710, Example 1 (Reboussin, DeMets, Kim & Lan 1992) survival 0.30 against 0.4, two-sided 0.05, power 0.90, four looks with O’Brien-Fleming spending => 575 events from 884 participants, 442 per arm Sample size alpha = 0.05; event_probability_control = 0.7; event_probability_treatment = 0.6; hazard_ratio = 0.761056; looks = 4; power_target = 0.9; events expressed as probabilities (with group_sequential) participants_per_arm = 442 ± 1
PASS chapter 710, Example 1 (Reboussin, DeMets, Kim & Lan 1992) survival 0.30 against 0.45, two-sided 0.05, power 0.90, four looks with O’Brien-Fleming spending => 254 events from 407 participants, 203.5 per arm Sample size alpha = 0.05; event_probability_control = 0.7; event_probability_treatment = 0.55; hazard_ratio = 0.663227; looks = 4; power_target = 0.9; events expressed as probabilities (with group_sequential) participants_per_arm = 204 ± 1
PASS chapter 710, Example 1 (Reboussin, DeMets, Kim & Lan 1992) survival 0.30 against 0.5, two-sided 0.05, power 0.90, four looks with O’Brien-Fleming spending => 140 events from 234 participants, 117 per arm Sample size alpha = 0.05; event_probability_control = 0.7; event_probability_treatment = 0.5; hazard_ratio = 0.575717; looks = 4; power_target = 0.9; events expressed as probabilities (with group_sequential) participants_per_arm = 117 ± 1

Sources

  1. Schoenfeld DA. Sample-size formula for the proportional-hazards regression model. Biometrics. 1983;39(2):499-503.
  2. Chow S-C, Shao J, Wang H, Lokhnygina Y. Sample Size Calculations in Clinical Research. 3rd ed. Boca Raton: Chapman & Hall/CRC; 2017. §7.3, Equations 7.15-7.18.
  3. Machin D, Campbell MJ, Tan SB, Tan SH. Sample Sizes for Clinical, Laboratory and Epidemiology Studies. 4th ed. Chichester: Wiley; 2018. §7.2, Equations 7.6 and 7.8, Table 7.1.
  4. NCSS. PASS Sample Size Software documentation, chapter 730: Tests for Two Survival Curves using Cox’s Proportional Hazards Model; chapter 877: Logrank Tests with Proportional Hazards (Schoenfeld and Wu). Kaysville, UT: NCSS, LLC.

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 →