EconPapers    
Economics at your fingertips  
 

STJM: Stata module to fit shared parameter joint models of longitudinal and survival data

Michael J. Crowther ()
Additional contact information
Michael J. Crowther: Karolinska Institutet

Statistical Software Components from Boston College Department of Economics

Abstract: stjm fits shared parameter joint models for longitudinal and survival data using maximum likelihood. A single continuous longitudinal response and a single survival outcome are allowed. A linear mixed effects model is used for the longitudinal submodel, which lets time be modelled using fixed and/or random fractional polynomials or resticted cubic splines. Six choices are currently available for the survival submodel, including the exponential, Weibull, Gompertz, 2-component mixture Weibull-Weibull and 2-component mixture Weibull-exponential proportional hazards models. Furthermore, the flexible parametric survival model (see stpm2), modelled on the log cumulative hazard scale is also available. The association between the two processes can be induced via the default current value parameterisation, the first derivative of the longitudinal submodel (slope), and/or a random coefficient such as the intercept. Adaptive or non-adaptive Gauss-Hermite quadrature, coded in Mata, can be used to evaluate the joint likelihood. Under all survival submodels except the flexible parametric model, Gauss-Kronrod quadrature is used to evaluate the cumulative hazard. The dataset must be stset correctly into enter and exit times, using the enter option. stjm uses _t0 to denote measurement times. Delayed entry models are allowed. Users of Stata 11 should use stjm11.

Language: Stata
Requires: Stata version 12.1
Keywords: survival analysis; longitudinal data; panel data (search for similar items in EconPapers)
Date: 2012-08-14, Revised 2013-10-22
Note: This module should be installed from within Stata by typing "ssc install stjm". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/stjm.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stjm.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stjm_gaussquad.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stjm_pred.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stjm_postestimation.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lstjm.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/s/stjm_example.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/s/stjm_pbc_example_data.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/s/stjm_prothro.dta sample data file (application/x-stata)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457502

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s457502