TriaLab Power Studio · Method
Survival at a milestone (Klein et al.)
Sizes a two-arm time-to-event trial on the difference in survival at a fixed time — two-year survival, say — by the Wald test on the Kaplan–Meier estimates: on their difference, as the published designs do, or on the complementary log-log scale Klein, Logan, Harhoff & Andersen recommend, or the log, arcsine or logit scale. Piecewise hazards, any effect pattern, staggered entry and losses, with Greenwood’s variance in its large-sample form.
Also known as: milestone, landmark, landmark survival, survival at a fixed time, two-year survival, five-year survival, Kaplan-Meier, Klein, cloglog, non-proportional hazards.
Maturity
Beta: 4 published examples from Zhao, Zhang, Leon & Anderson 2025 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 — The sources size the milestone comparison to a power; a confidence interval for the difference is well defined, but no source on disk sizes one, 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 — The study’s length is the number of whole periods of the form; lengthen it there, one period at a time.
Size axes:
- Participants (both arms) (
participants_total), 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
- Study length, in whole time periods (K) (
periods): a whole number, at least 1 and at most 64; default 3 Accrual plus follow-up, in the unit every rate below is per — years for yearly hazards and yearly losses, months for monthly. Every list below has one entry per period. - Entry (
entry): a choice; defaultstaggeredWhether participants enter over an accrual period, or all at once at the start.staggeredStaggered over the accrual periods: Entry over the first periods at the pattern’s relative rates; everyone is followed to the study’s end.simultaneousEveryone at once: All enter at time zero and are followed for the whole study; the accrual periods and pattern are not used.
- Accrual, in whole periods (
accrual_periods): a whole number, at least 1 and at most 64; default 1 How many of the study’s first periods participants enter during; the rest is follow-up. Not used when everyone enters at once. - Relative entry rate in each accrual period (
accrual_pattern): one number per element, as many asaccrual_periods; default (1) How fast participants enter in each accrual period, as relative rates: all ones is uniform entry; 1, 2, 2 puts twice the rate in the second and third periods. Within a period entry is uniform. - Control hazard in each period (
hazard_control): one number per element, as many asperiods; default (0.5, 0.5, 0.5) The control arm’s hazard rate, per unit time, in each period of the study — a constant for exponential survival, or a different rate per period. From a survival proportion S over a period, the hazard is −ln S; from a median M, ln 2 / M. - Hazard ratio to detect (λ_T / λ_C), where the effect is in force (
hazard_ratio): a number, above 0; default 0.6 Treatment hazard over control hazard in a period where the onset fraction below is 1; below 1 favours the treatment. - Log hazard reduction, ln(λ_C / λ_T) = −ln HR (
log_hazard_reduction): a number, any finite number; default 0.510826 Positive favours the treatment; the scale the test lives on. - Fraction of the effect in force in each period (
effect_onset): one number per element, as many asperiods; default (1, 1, 1) 1 in every period is proportional hazards; 0, 1, 1, … a delayed onset; 0.25, 0.5, 0.75, 1 a gradual one; any hazard ratio HR_k at all as ln HR_k / ln HR, including values above 1 for a period where the treatment does worse. - Control proportion lost to follow-up in each period (
loss_control): one number per element, as many asperiods; default (0, 0, 0); entered as proportion (0-1) or percent Of those still in the study at the start of a period, the fraction lost during it; losses are exponential within a period. - Treatment proportion lost to follow-up in each period (
loss_treatment): one number per element, as many asperiods; default (0, 0, 0); entered as proportion (0-1) or percent As for the control arm. - Milestone (t) at which survival is compared (
milestone): a number, above 0; default 2 The time, in the same periods, at which the two Kaplan–Meier estimates are compared; it must be reached by some participants under observation, so it lies within the study’s length. Prespecify it — a milestone chosen on the data is not a test. - Scale of the test (
transformation): a choice; defaultdifferenceThe difference is the scale the published designs size on (Zhao et al. 2025; Yung & Liu 2020). Klein et al. (2007) find the naive test on the difference rejects too often in small samples and the transformed tests hold their level, the complementary log-log best; the power differs little between them.differenceDifference of survival proportions: The naive test, S_T − S_C; the scale of the published designs.cloglogComplementary log-log: ln(−ln S); Klein’s recommendation.logLog survival: ln S; the Nelson–Aalen scale.arcsineArcsine square root: asin √S, variance-stabilising.logitLogit: ln(S/(1 − S)).
- Sidedness of the equality test (
tails): a choice; defaulttwo_sidedKlein’s chi-square tests are two-sided; Zhao et al. test one-sided at 0.025.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
- Participants (both arms) (
participants_total): a whole number, at least 1 Participants (both arms). 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 or its log reduction; the list below says how much of it is in force in each period.
- 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)
Modifiers admitted
allocation: Allocationdropout: Dropout
Published examples it reproduces (4)
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 |
|---|---|---|---|---|
| Zhao, Zhang, Leon & Anderson 2025, arXiv 2312.01723, Table 1 (milestone at month 24) | Control median 12 months, 35% against 25% surviving at two years under proportional hazards, twelve months’ enrolment, three-year study, dropout 0.001, 698 participants, one-sided 0.025, the difference scale => power 0.821 | Power | accrual_pattern = (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); accrual_periods = 12; alpha = 0.025; effect_onset = (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); entry = staggered; hazard_control = (0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254); hazard_ratio = 0.757287; loss_control = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); loss_treatment = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); milestone = 24; participants_total = 698; periods = 36; tails = one_sided; transformation = difference |
power = 0.821 ± 0.0005 |
| Zhao, Zhang, Leon & Anderson 2025, arXiv 2312.01723, Table 1 (milestone at month 24) | Control median 12 months, 35% against 25% surviving at two years under a three-month delay, twelve months’ enrolment, three-year study, dropout 0.001, 698 participants, one-sided 0.025, the difference scale => power 0.821 | Power | accrual_pattern = (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); accrual_periods = 12; alpha = 0.025; effect_onset = (0, 0, 0, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1.16858, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); entry = staggered; hazard_control = (0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254); hazard_ratio = 0.757287; loss_control = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); loss_treatment = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); milestone = 24; participants_total = 698; periods = 36; tails = one_sided; transformation = difference |
power = 0.821 ± 0.0005 |
| Zhao, Zhang, Leon & Anderson 2025, arXiv 2312.01723, Table 1 (milestone at month 24) | Control median 12 months, 35% against 25% surviving at two years under a six-month delay, twelve months’ enrolment, three-year study, dropout 0.001, 698 participants, one-sided 0.025, the difference scale => power 0.821 | Power | accrual_pattern = (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); accrual_periods = 12; alpha = 0.025; effect_onset = (0, 0, 0, 0, 0, 0, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1.406396, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); entry = staggered; hazard_control = (0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254); hazard_ratio = 0.757287; loss_control = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); loss_treatment = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); milestone = 24; participants_total = 698; periods = 36; tails = one_sided; transformation = difference |
power = 0.821 ± 0.0005 |
| Zhao, Zhang, Leon & Anderson 2025, arXiv 2312.01723, Table 1 (milestone at month 24) | Control median 12 months, 35% against 25% surviving at two years under crossing hazards (1.3 for three months), twelve months’ enrolment, three-year study, dropout 0.001, 698 participants, one-sided 0.025, the difference scale => power 0.821 | Power | accrual_pattern = (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); accrual_periods = 12; alpha = 0.025; effect_onset = (-0.94371, -0.94371, -0.94371, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1.388498, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); entry = staggered; hazard_control = (0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.057762, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254, 0.019254); hazard_ratio = 0.757287; loss_control = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); loss_treatment = (0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001); milestone = 24; participants_total = 698; periods = 36; tails = one_sided; transformation = difference |
power = 0.821 ± 0.0005 |
Sources
- Klein JP, Logan B, Harhoff M, Andersen PK. Analyzing survival curves at a fixed point in time. Stat Med. 2007;26(24):4505-4519.
- Yung G, Liu Y. Sample size and power for the weighted log-rank test and Kaplan-Meier based tests with allowance for nonproportional hazards. Biometrics. 2020;76(3):939-950.
- Zhao Y, Zhang Y, Leon L, Anderson K. Group sequential design for non-proportional hazards: logrank, weighted logrank, and MaxCombo methods. arXiv:2312.01723v2; 2025.
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 →