IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v12y2012i4p639-654.html
   My bibliography  Save this article

Tools to simulate realistic censored survival-time distributions

Author

Listed:
  • Patrick Royston

    (MRC Clinical Trials Unit)

Abstract

Simulation of realistic censored survival times is challenging. Most research studies use highly simplified models, such as the exponential, that do not adequately reflect the patterns of time to event and censoring seen in real datasets. In this article, I present a general method of simulating such data based on flexible parametric survival models (Royston and Parmar, 2002, Statistics in Medicine 21: 2175–2197). A key component of the approach is modeling not only the time to event but also the time to censoring. I illustrate the methods in data from clinical trials and from a prognostic study. I also describe http://www.stata-journal.com/software/a new Stata program, stsurvsim, that does the necessary calculations. Copyright 2012 by StataCorp LP.

Suggested Citation

  • Patrick Royston, 2012. "Tools to simulate realistic censored survival-time distributions," Stata Journal, StataCorp LP, vol. 12(4), pages 639-654, December.
  • Handle: RePEc:tsj:stataj:v:12:y:2012:i:4:p:639-654
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj12-4/st0274/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0274
    File Function: link to article download
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. W. Sauerbrei & P. Royston, 1999. "Building multivariable prognostic and diagnostic models: transformation of the predictors by using fractional polynomials," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 162(1), pages 71-94.
    2. Patrick Royston & Paul C. Lambert, 2011. "Flexible Parametric Survival Analysis Using Stata: Beyond the Cox Model," Stata Press books, StataCorp LP, number fpsaus, March.
    3. Paul C. Lambert & Patrick Royston, 2009. "Further development of flexible parametric models for survival analysis," Stata Journal, StataCorp LP, vol. 9(2), pages 265-290, June.
    4. Patrick Royston & Gareth Ambler, 1999. "Multivariable fractional polynomials," Stata Technical Bulletin, StataCorp LP, vol. 8(43).
    5. Patrick Royston & Willi Sauerbrei, 2009. "Bootstrap assessment of the stability of multivariable models," Stata Journal, StataCorp LP, vol. 9(4), pages 547-570, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Michael J. Crowther, 2014. "Simulating simple and complex survival data," United Kingdom Stata Users' Group Meetings 2014 06, Stata Users Group.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Marco Caliendo & Stefan Tübbicke, 2020. "New evidence on long-term effects of start-up subsidies: matching estimates and their robustness," Empirical Economics, Springer, vol. 59(4), pages 1605-1631, October.
    2. Jackson, Christopher, 2016. "flexsurv: A Platform for Parametric Survival Modeling in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 70(i08).
    3. Annalisa Orenti & Patrizia Boracchi & Giuseppe Marano & Elia Biganzoli & Federico Ambrogi, 2022. "A pseudo-values regression model for non-fatal event free survival in the presence of semi-competing risks," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 31(3), pages 709-727, September.
    4. Strasak, Alexander M. & Umlauf, Nikolaus & Pfeiffer, Ruth M. & Lang, Stefan, 2011. "Comparing penalized splines and fractional polynomials for flexible modelling of the effects of continuous predictor variables," Computational Statistics & Data Analysis, Elsevier, vol. 55(4), pages 1540-1551, April.
    5. Stefanie Hieke & Harald Binder & Alexandra Nieters & Martin Schumacher, 2014. "minPtest: a resampling based gene region-level testing procedure for genetic case-control studies," Computational Statistics, Springer, vol. 29(1), pages 51-63, February.
    6. Marisa Rifada & Vita Ratnasari & Purhadi Purhadi, 2023. "Parameter Estimation and Hypothesis Testing of The Bivariate Polynomial Ordinal Logistic Regression Model," Mathematics, MDPI, vol. 11(3), pages 1-12, January.
    7. Schäfer, Dorothea & Werwatz, Axel & Zimmermann, Volker, 2004. "The Determinants of Debt and (Private) Equity Financing : The Case of Young, Innovative SMEs from Germany," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 11(3), pages 225-248.
    8. Noori Akhtar-Danesh, 2015. "A Comparison of Modeling Scales in Flexible Parametric Models," 2015 Stata Conference 15, Stata Users Group.
    9. Sauerbrei, W. & Meier-Hirmer, C. & Benner, A. & Royston, P., 2006. "Multivariable regression model building by using fractional polynomials: Description of SAS, STATA and R programs," Computational Statistics & Data Analysis, Elsevier, vol. 50(12), pages 3464-3485, August.
    10. Sauerbrei, Willi & Royston, Patrick & Zapien, Karina, 2007. "Detecting an interaction between treatment and a continuous covariate: A comparison of two approaches," Computational Statistics & Data Analysis, Elsevier, vol. 51(8), pages 4054-4063, May.
    11. William D. Dupont, 2010. "Review of Multivariable Model-building: A Pragmatic Approach to Regression Analysis Based on Fractional Polynomials for Modeling Continuous Variables, by Royston and Sauerbrei," Stata Journal, StataCorp LP, vol. 10(2), pages 297-302, June.
    12. Suvra Pal & Hongbo Yu & Zachary D. Loucks & Ian M. Harris, 2020. "Illustration of the Flexibility of Generalized Gamma Distribution in Modeling Right Censored Survival Data: Analysis of Two Cancer Datasets," Annals of Data Science, Springer, vol. 7(1), pages 77-90, March.
    13. Patrick Royston, 2007. "Profile likelihood for estimation and confidence intervals," Stata Journal, StataCorp LP, vol. 7(3), pages 376-387, September.
    14. Patrick Royston, 2004. "Multiple imputation of missing values," Stata Journal, StataCorp LP, vol. 4(3), pages 227-241, September.
    15. Herrera Dappe,Matias & Melecky,Martin & Turkgulu,Burak, 2022. "Fiscal Risks from Early Termination of Public-Private Partnerships in Infrastructure," Policy Research Working Paper Series 9972, The World Bank.
    16. Stefanie Hieke & Axel Benner & Richard F Schlenk & Martin Schumacher & Lars Bullinger & Harald Binder, 2016. "Identifying Prognostic SNPs in Clinical Cohorts: Complementing Univariate Analyses by Resampling and Multivariable Modeling," PLOS ONE, Public Library of Science, vol. 11(5), pages 1-18, May.
    17. Mike G. Tsionas, 2017. "“When, Where, and How” of Efficiency Estimation: Improved Procedures for Stochastic Frontier Modeling," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 112(519), pages 948-965, July.
    18. H. Joseph Newton & Nicholas J. Cox, 2016. "The Stata Journal Editors' Prize 2016: Patrick Royston," Stata Journal, StataCorp LP, vol. 16(4), pages 815-825, December.
    19. Royston, P. & Sauerbrei, W., 2007. "Improving the robustness of fractional polynomial models by preliminary covariate transformation: A pragmatic approach," Computational Statistics & Data Analysis, Elsevier, vol. 51(9), pages 4240-4253, May.
    20. Hoora Moradian & Denis Larocque & François Bellavance, 2017. "$$L_1$$ L 1 splitting rules in survival forests," Lifetime Data Analysis: An International Journal Devoted to Statistical Methods and Applications for Time-to-Event Data, Springer, vol. 23(4), pages 671-691, October.

    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:tsj:stataj:v:12:y:2012:i:4:p:639-654. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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 or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    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.