Home
Home  >>  Archives  >>  Volume 2 Number 2  >>  st0013

The Stata Journal
Volume 2 Number 2: pp. 151-163



Subscribe to the Stata Journal
cover

A menu–driven facility for complex sample size calculation in randomized controlled trials with a survival or a binary outcome

Patrick Royston
MRC Clinical Trials Unit, London, UK
patrick.royston@ctu.mrc.ac.uk
Abdel Babiker
MRC Clinical Trials Unit, London, UK
abdel.babiker@ctu.mrc.ac.uk
Abstract.   We present a menu-driven Stata program for the calculation of sample size or power for complex clinical trials with a survival time or a binary outcome. The features supported include up to six treatment arms, an arbitrary time-to-event distribution, fixed or time-varying hazard ratios, unequal patient allocation, loss to follow-up, staggered patient entry, and crossover of patients from their allocated treatment to an alternative treatment. The computations of sample size and power are based on the logrank test and are done according to the asymptotic distribution of the logrank test statistic, adjusted appropriately for the design features.
Terms of use     View this article (PDF)

View all articles by these authors: Patrick Royston, Abdel Babiker

View all articles with these keywords: randomized controlled trials, survival analysis, logrank test, experimental design

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS

Contact StataCorp

Contact service@stata-journal.com if you have questions about the Stata Journal.

© Copyright 2001–2013 StataCorp LP.   Terms of use.   Privacy policy.