IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v12y2012i4p674-687.html

Simulating complex survival data

Author

Listed:
  • Michael J. Crowther

    (University of Leicester)

  • Paul C. Lambert

    (University of Leicester
    Karolinska Institutet)

Abstract

Simulation studies are essential for understanding and evaluating both current and new statistical models. When simulating survival times, one often assumes an exponential or Weibull distribution for the baseline hazard function, with survival times generated using the method of Bender, Augustin, and Blettner (2005, Statistics in Medicine 24: 1713–1723). Assuming a constant or monotonic hazard can be considered too simplistic and can lack biological plausibility in many situations. We describe http://www.stata-journal.com/software/a new user-written command, survsim, which al- lows the user to simulate survival times from two-component parametric mixture models, providing much more flexibility in the underlying hazard. Standard para- metric distributions can also be used, including the exponential, Weibull, and Gompertz. Furthermore, survival times can be simulated from the all-cause dis- tribution of cause-specific hazards for competing risks by using the method of Beyersmann et al. (2009, Statistics in Medicine 24: 956–971). A multinomial dis- tribution is used to create the event indicator, whereby the probability of expe- riencing each event at a simulated time t is the cause-specific hazard divided by the all-cause hazard evaluated at time t. Baseline covariates can be included in all scenarios. We also describe http://www.stata-journal.com/software/the extension to incorporate nonproportional hazards in standard parametric and competing-risks scenarios. Copyright 2012 by StataCorp LP.

Suggested Citation

  • Michael J. Crowther & Paul C. Lambert, 2012. "Simulating complex survival data," Stata Journal, StataCorp LLC, vol. 12(4), pages 674-687, December.
  • Handle: RePEc:tsj:stataj:v:12:y:2012:i:4:p:674-687
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj12-4/st0275/
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Patrick Royston & Paul C. Lambert, 2011. "Flexible Parametric Survival Analysis Using Stata: Beyond the Cox Model," Stata Press books, StataCorp LLC, number fpsaus, March.
    2. Vincenzo Coviello & May Boggess, 2004. "Cumulative incidence estimation in the presence of competing risks," Stata Journal, StataCorp LLC, vol. 4(2), pages 103-112, June.
    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.
    2. Alessandro Gasparini & Keith R. Abrams & Jessica K. Barrett & Rupert W. Major & Michael J. Sweeting & Nigel J. Brunskill & Michael J. Crowther, 2020. "Mixed‐effects models for health care longitudinal data with an informative visiting process: A Monte Carlo simulation study," Statistica Neerlandica, Netherlands Society for Statistics and Operations Research, vol. 74(1), pages 5-23, February.

    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. William Rhodes & Gerald Gaes & William Sabol, 2025. "Studying Parole Revocation Practices: Accounting for Dependency Between Competing Events," Evaluation Review, , vol. 49(1), pages 3-35, February.
    2. Varga, Júlia, 2016. "Hova lettek az orvosok?. Az orvosok külföldre vándorlása és pályaelhagyása Magyarországon, 2003-2011 [Where have all the doctors gone?. Migration and attrition of physicians and dentists in Hungary between 2003 and 2011]," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(1), pages 1-26.
    3. Diana Hechavarría & Charles Matthews & Paul Reynolds, 2016. "Does start-up financing influence start-up speed? Evidence from the panel study of entrepreneurial dynamics," Small Business Economics, Springer, vol. 46(1), pages 137-167, January.
    4. Jackson, Christopher, 2016. "flexsurv: A Platform for Parametric Survival Modeling in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 70(i08).
    5. Rojas-Perilla, Natalia & Pannier, Sören & Schmid, Timo & Tzavidis, Nikos, 2017. "Data-driven transformations in small area estimation," Discussion Papers 2017/30, Free University Berlin, School of Business & Economics.
    6. Michael J. Crowther, 2014. "Simulating simple and complex survival data," United Kingdom Stata Users' Group Meetings 2014 06, Stata Users Group.
    7. Thomas Hone & Valeria Saraceni & Claudia Medina Coeli & Anete Trajman & Davide Rasella & Christopher Millett & Betina Durovni, 2020. "Primary healthcare expansion and mortality in Brazil’s urban poor: A cohort analysis of 1.2 million adults," PLOS Medicine, Public Library of Science, vol. 17(10), pages 1-20, October.
    8. Davis, Elizabeth E. & Krafft, Caroline & Forry, Nicole D., 2017. "Understanding churn: Predictors of reentry among families who leave the child care subsidy program in Maryland," Children and Youth Services Review, Elsevier, vol. 77(C), pages 34-45.
    9. Lucia Naldi & Massimo Baù & Helene Ahl & Magdalena Markowska, 2021. "Gender (in)equality within the household and business start-up among mothers," Small Business Economics, Springer, vol. 56(2), pages 903-918, February.
    10. Iulii Vasilev & Mikhail Petrovskiy & Igor Mashechkin, 2025. "Informative right censoring in nonparametric survival models," Computational Statistics, Springer, vol. 40(7), pages 3385-3397, September.
    11. Patrick Royston, 2012. "Tools to simulate realistic censored survival-time distributions," Stata Journal, StataCorp LLC, vol. 12(4), pages 639-654, December.
    12. Céspedes, Nikita & Gutiérrez, Ana Paola & Belapatiño, Vanessa, 2013. "Determinantes de la duración del desempleo en una economía con alta informalidad," Working Papers 2013-022, Banco Central de Reserva del Perú.
    13. Dorsett, Richard & Lucchino, Paolo, 2018. "Young people's labour market transitions: The role of early experiences," Labour Economics, Elsevier, vol. 54(C), pages 29-46.
    14. Christopher J. Boudreaux, 2021. "Employee compensation and new venture performance: does benefit type matter?," Small Business Economics, Springer, vol. 57(3), pages 1453-1477, October.
    15. Adeniyi Francis Fagbamigbe & Emma Norrman & Christina Bergh & Ulla-Britt Wennerholm & Max Petzold, 2021. "Comparison of the performances of survival analysis regression models for analysis of conception modes and risk of type-1 diabetes among 1985–2015 Swedish birth cohort," PLOS ONE, Public Library of Science, vol. 16(6), pages 1-23, June.
    16. Noori Akhtar-Danesh, 2015. "A Comparison of Modeling Scales in Flexible Parametric Models," 2015 Stata Conference 15, Stata Users Group.
    17. Dimiter Philipov & Aiva Jasilioniene, 2008. "Union formation and fertility in Bulgaria and Russia: A life table description of recent trends," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 19(62), pages 2057-2114.
    18. Enoch Yi-Tung Chen & Paul W. Dickman & Mark S. Clements, 2025. "A Multistate Model Incorporating Relative Survival Extrapolation and Mixed Time Scales for Health Technology Assessment," PharmacoEconomics, Springer, vol. 43(3), pages 297-310, March.
    19. Enoch Yi-Tung Chen & Yuliya Leontyeva & Chia-Ni Lin & Jung-Der Wang & Mark S. Clements & Paul W. Dickman, 2024. "Comparing Survival Extrapolation within All-Cause and Relative Survival Frameworks by Standard Parametric Models and Flexible Parametric Spline Models Using the Swedish Cancer Registry," Medical Decision Making, , vol. 44(3), pages 269-282, April.
    20. Benjamin Kearns & Matt D. Stevenson & Kostas Triantafyllopoulos & Andrea Manca, 2019. "Generalized Linear Models for Flexible Parametric Modeling of the Hazard Function," Medical Decision Making, , vol. 39(7), pages 867-878, October.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

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