Sample Size for Survival Analysis

 

Menu location: Analysis_Sample Size_Survival Times.

 

This function gives you the minimum number of subjects that you require to detect a true hazard ratio (hr) for experimental subjects relative to controls with power POWER and two sided type I error probability ALPHA (Dupont, 1990; Schoenfeld and Richter, 1982).

 

The method used here is suitable for calculating sample sizes for studies that will be analysed by the log-rank test.

 

Information required

  • POWER: probability of detecting a real effect.
  • ALPHA: probability of detecting a false effect (two sided: double this if you need one sided).
  • A: accrual time during which subjects are recruited to the study.
  • F: additional follow-up time after the end of recruitment.
  • *: input either (C and r) or (C and E), where r=C/E.
  • C: median survival time for control group.
  • E: median survival time for experimental group.
  • r: hazard ratio for experimental subjects relative to controls, which is C/E with exponential survival.
  • M: number of controls per experimental subject.

 

Practical issues

  • Usual values for POWER are 80%, 85% and 90%; try several in order to explore/scope.
  • 5% is the usual choice for ALPHA.
  • C is usually estimated from previous studies.
  • If possible, choose a range of hazard ratios that you want to have the statistical power to detect.

 

Technical validation

The estimated number of experimental subjects n (with mn controls) is calculated as:

- where α = alpha, β = 1 - power, m is the number of controls per experimental subject and zp is the standard normal deviate for probability p. n is rounded up to the next whole number. (1+1/m)/p is equivalent to 2/p in the first equation if the experimental and control group sizes are equal (m = 1).

 

Example

Suppose you plan a trial of a new treatment against the usual one, with death as the endpoint. From earlier studies the median survival on the usual treatment is about 12 months, and you want to be able to detect an improvement to a median of 18 months on the new treatment (a hazard ratio of 0.67), with 80% power at the 5% two sided level. You expect to recruit for 24 months and to follow the subjects for another 12 months after the last one is recruited, allocating one control per experimental subject. The figures are invented for this illustration.

 

To run this in StatsDirect select Survival Times from the Sample Size section of the Analysis menu. Enter 12 as the median survival time in the control group, choose to enter two median survival times and enter 18 for the experimental group, then 24 as the accrual time, 12 as the additional follow-up time, 1 as the number of controls per experimental subject, 80% as the power and 5% as alpha.

 

For this example:

 

Sample size for survival analysis

 

median survival time for controls = 12

median survival time for experimental subjects = 18

hazard ratio (experimental vs. control) = 0.666667

accrual time for recruitment = 24

additional follow-up time after recruitment = 12

alpha = 0.05

power = 0.8

 

Estimated minimum sample size = 147 experimental subjects and 147 controls

 

The trial would need 147 subjects in each group, 294 in all. The number depends on how many deaths the study will observe, not only on how many subjects it recruits: if instead the trial recruited for 36 months and closed as soon as recruitment ended, so that the last subjects recruited were hardly followed at all, 187 in each group would be needed for the same power.