IDEAS home Printed from https://ideas.repec.org/p/boc/usug13/22.html

Estimating and modelling cumulative incidence functions using time-dependent weights

Author

Listed:
  • Paul C. Lambert

    (Centre for Biostatistics and Genetic Epidemiology, University of Leicester)

Abstract

Competing risks occur in survival analysis when a subject is at risk of more than one type of event. A classic example is when there is consideration of different causes of death. Interest may lie in the cause-specific hazard rates, which can be estimated using standard survival techniques by censoring competing events. An alternative measure is the cumulative incidence function (CIF) which gives an estimate of absolute or crude risk of death accounting for the possibility that individuals may die of other causes. Geskus (2011 Biometrics, 67: 39–49) has recently proposed an alternative way for the estimation and modeling of the CIF that can use weighted versions of standard estimators. I will describe a Stata command, stcrprep, that restructures survival data and calculates weights based on the censoring distribution. The command is based on the R command crprep, but I will describe a number of extensions that enable the CIF to be modeled directly using parametric models on large datasets. After restructuring the data and incorporating the weights, one can use sts graph to plot the CIF and stcox can be used to fit a Fine and Gray model for the CIF. An advantage of fitting models in this way is that it is possible to use a number of the standard features of the Cox model, for example, using Schoenfeld residuals to visualize and test the proportional subhazards assumption. I will also describe some additional options that are useful for fitting parametric models and useful for large datasets. In particular, I will describe how the flexible parametric survival models estimated with stpm2 can be used to directly model the cumulative-incidence function. An important advantage is that all the predictions built into stpm2 can be used to directly predict the CIF, subdistribution hazards, etc.

Suggested Citation

  • Paul C. Lambert, 2013. "Estimating and modelling cumulative incidence functions using time-dependent weights," United Kingdom Stata Users' Group Meetings 2013 22, Stata Users Group.
  • Handle: RePEc:boc:usug13:22
    as

    Download full text from publisher

    File URL: http://repec.org/usug2013/lambert.uk13.pdf
    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.
    Full references (including those not matched with items on IDEAS)

    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. Iulii Vasilev & Mikhail Petrovskiy & Igor Mashechkin, 2025. "Informative right censoring in nonparametric survival models," Computational Statistics, Springer, vol. 40(7), pages 3385-3397, September.
    2. Iversen, Tor & Ching-to , Albert Ma, 2020. "Technology Adoption in Primary Health Care," HERO Online Working Paper Series 2020:4, University of Oslo, Health Economics Research Programme.
    3. 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.
    4. Michael J. Crowther & Paul C. Lambert, 2012. "Simulating complex survival data," Stata Journal, StataCorp LLC, vol. 12(4), pages 674-687, December.
    5. Tanin, Tauhidul Islam & Sarker, Ashutosh & Hammoudeh, Shawkat & Batten, Jonathan A., 2024. "The determinants of corporate cost of debt during a financial crisis," The British Accounting Review, Elsevier, vol. 56(6).
    6. Paul Lambert, 2024. "Recent developments in the fitting and assessment of flexible parametric survival models," German Stata Conference 2024 01, Stata Users Group.
    7. Paul Lambert, 2018. "Standardized survival curves and related measures from flexible survival parametric models," London Stata Conference 2018 14, Stata Users Group.
    8. Eddie Gibson & Ian Koblbauer & Najida Begum & George Dranitsaris & Danny Liew & Phil McEwan & Amir Abbas Tahami Monfared & Yong Yuan & Ariadna Juarez-Garcia & David Tyas & Michael Lees, 2017. "Modelling the Survival Outcomes of Immuno-Oncology Drugs in Economic Evaluations: A Systematic Approach to Data Analysis and Extrapolation," PharmacoEconomics, Springer, vol. 35(12), pages 1257-1270, December.
    9. Zuzana Špacírová & Stephen Kaptoge & Leticia García-Mochón & Miguel Rodríguez Barranco & María José Sánchez Pérez & Nicola P. Bondonno & Anne Tjønneland & Elisabete Weiderpass & Sara Grioni & Jaime Es, 2023. "The cost-effectiveness of a uniform versus age-based threshold for one-off screening for prevention of cardiovascular disease," The European Journal of Health Economics, Springer;Deutsche Gesellschaft für Gesundheitsökonomie (DGGÖ), vol. 24(7), pages 1033-1045, September.
    10. 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.
    11. Michael J. Crowther, 2014. "Simulating simple and complex survival data," United Kingdom Stata Users' Group Meetings 2014 06, Stata Users Group.
    12. 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.
    13. 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.
    14. 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.
    15. 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.
    16. Michael J. Crowther, 2013. "Multilevel mixed-effects parametric survival analysis," United Kingdom Stata Users' Group Meetings 2013 05, Stata Users Group.
    17. Tor Iversen & Ching‐to Albert Ma, 2022. "Technology adoption by primary care physicians," Health Economics, John Wiley & Sons, Ltd., vol. 31(3), pages 443-465, March.
    18. Benoît Laplante, 2014. "Normative Groups: The Rise of the Formation of the First Union Through Cohabitation in Quebec, a Comparative Approach," Population Research and Policy Review, Springer;Southern Demographic Association (SDA), vol. 33(2), pages 257-285, April.
    19. Volker Lang & Steffen Hillmert, 2016. "Differential trends in households’ connection to the Internet: An actor-centered explanation," Rationality and Society, , vol. 28(2), pages 141-171, May.
    20. Wolfgang Frimmel & Martin Halla & Rudolf Winter-Ebmer, 2013. "Assortative mating and divorce: evidence from Austrian register data," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 176(4), pages 907-929, October.

    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:22. 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 (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.