IDEAS home Printed from https://ideas.repec.org/p/boc/usug13/11.html
   My bibliography  Save this paper

Sample size by simulation for clinical trials with survival outcomes: The simsam package in action

Author

Listed:
  • Richard Hooper

    (Barts and The London School of Medicine & Dentistry, QMUL)

Abstract

The simsam package, released earlier this year, allows versatile sample-size calculation (calculating sample size required to achieve given statistical power) using simulation for any method of analysis under any statistical model that can be programmed in Stata. Simulation is particularly helpful in situations where formulae for sample size are approximate or unavailable. The usefulness of the simsam package will depend in part, however, on the quality and variety of simsam applications developed by Stata users. I will discuss simsam applications for clinical trials with time-to-event or survival outcomes. Here sample size formulas are the subject of ongoing research (available methods for cluster-randomized trials with variable cluster size, for example, are only approximate). Using such examples, I will illustrate general simsam programming considerations such as dealing with analyses that fail, and the advantages of modular programming. Simulation forces us to think carefully about trial definitions—for example, whether recruitment ends after a fixed time or a fixed number of recruits—and to relate the sample-size calculation to a detailed or contingent analysis plan. Such careful attention to detail may be lost in a formulaic approach to sample-size calculation. Simulation also allows us to check for bias in a test as well as power. But simulation is not without problems: while a rare (say, one in a million) failure of an analysis in Stata may not worry the pragmatic statistician, a simsam application must anticipate this failure or risk stumbling on it in the course of many simulations.

Suggested Citation

  • Richard Hooper, 2013. "Sample size by simulation for clinical trials with survival outcomes: The simsam package in action," United Kingdom Stata Users' Group Meetings 2013 11, Stata Users Group.
  • Handle: RePEc:boc:usug13:11
    as

    Download full text from publisher

    File URL: http://repec.org/usug2013/hooper.uk13.pdf
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug13:11. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.