IDEAS home Printed from
   My bibliography  Save this paper

Flexible joint modeling of longitudinal and time-to-event data


  • Michael J. Crowther

    (Department of Health Sciences, University of Leicester)

  • Keith R. Abrams
  • Paul C. Lambert


The joint modeling of longitudinal and time-to-event data has exploded in the methodological literature in the past decade; however, the availability of software to implement the methods lags behind. The most common form of joint model assumes that the association between the survival and longitudinal processes are underlined by shared random effects. As a result, computationally intensive numerical integration techniques such as Gauss-Hermite quadrature are required to evaluate the likelihood. We describe a new user-written command jm, which allows the user to jointly model a continuous longitudinal response and an event of interest. We assume a linear mixed-effects model for the longitudinal submodel, thereby allowing flexibility through the use of fixed and/or random fractional polynomials of time. We also assume a flexible parametric model (stpm2) for the survival submodel. Flexible parametric models are fitted on the log cumulative hazard scale, which has direct computational benefits because it avoids the use of numerical integration to evaluate the cumulative hazard. We describe the features of jm through application to a dataset investigating the effect of serum albumin level on time to death from any cause in 252 patients suffering end-stage renal disease.

Suggested Citation

  • Michael J. Crowther & Keith R. Abrams & Paul C. Lambert, 2011. "Flexible joint modeling of longitudinal and time-to-event data," United Kingdom Stata Users' Group Meetings 2011 07, Stata Users Group.
  • Handle: RePEc:boc:usug11:07

    Download full text from publisher

    File URL:
    File Function: presentation slides
    Download Restriction: no

    References listed on IDEAS

    1. Roger Newson, 2001. "Splines with parameters that can be explained in words to non-mathematicians," United Kingdom Stata Users' Group Meetings 2001 11, Stata Users Group.
    2. Roger Newson, 2001. "B-splines and splines parameterized by their values at reference points on the x-axis," Stata Technical Bulletin, StataCorp LP, vol. 10(57).
    Full references (including those not matched with items on IDEAS)

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    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:usug11:07. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum). General contact details of provider: .

    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 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.

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

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.