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

Improving fitting and predictions for flexible parametric survival models

Author

Listed:
  • Paul Lambert

    (University of Leicester, UK
    Karolinska Institutet, Sweden)

Abstract

Flexible parametric survival models have been available in Stata since 2000 with Patrick Royston’s stpm command. I developed stpm2 in 2008 which added various extensions. However, the command is old and does not take advantage of some of the features Stata has added over the years. I will introduce stpm3, which has been completely rewritten adds a number of useful features including, Full support for factor variables (including for time-dependent effects). Use of extended functions within a varlist. Incorporate various functions (splines, fractional polynomial functions, etc.) directly within a varlist. These also work when including interactions and time-dependent effects. Easier and more intuitive predictions. These full synchronize with the extended functions making predictions for complex models with multiple interactions/non-linear effects incredibly simple. Make predictions for specific covariate patterns and perform various types of contrasts. 8 Directly save predictions to one or more frames. This separates the data used to analyse the data and that used for predictions. Obtain various marginal estimates using standsurv. This synchronizes with stpm3 factor variables and extended functions making marginal estimates much easier and less prone to user mistakes for complex models Model on the log(hazard) scale. vii. Do all the above for standard survival models, competing risk models, multistate models and relative survival models all within the same framework.

Suggested Citation

  • Paul Lambert, 2022. "Improving fitting and predictions for flexible parametric survival models," London Stata Conference 2022 13, Stata Users Group.
  • Handle: RePEc:boc:lsug22:13
    as

    Download full text from publisher

    File URL: http://repec.org/lsug2022/uk2022_lambert.html
    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:lsug22:13. 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.