STPM2: Stata module to estimate flexible parametric survival models
Paul Lambert ()
Additional contact information
Paul Lambert: University of Leicester
Statistical Software Components from Boston College Department of Economics
stpm2 fits flexible parametric survival models (Royston-Parmar models). stpm2 can be used with single- or multiple-record or single- or multiple-failure st data. Survival models can be fitted on the log cumulative hazard scale, the log cumulative odds scale, the standard normal deviate (probit) scale, or on a scale defined by the value of theta using the Aranda-Ordaz family of link functions. stpm2 can fit the same models as stpm, but is more flexible in that it does not force the knots for time-dependent effects to be the same as those used for the baseline distribution function. In addition, stpm2 can fit relative survival models by use of the bhazard() option. Post-estimation commands have been extended over what is available in stpm. stpm2 is noticeably faster than stpm. This is an updated version of stpm2 from that published in Stata Journal, 9:2, 2009.
Requires: Stata version 11
Keywords: survival; parametric; flexible; Royston-Parmar; single-failure; multiple-failure (search for similar items in EconPapers)
Date: 2010-02-23, Revised 2020-05-17
Note: This module should be installed from within Stata by typing "ssc install stpm2". 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: Track citations by RSS feed
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/stpm2.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_centpred.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_hazard_rs.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_hazard.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_lf_hazard_rs.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_lf_hazard.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_lf_log.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_lf_normal_rs.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_lf_theta_rs.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_lf_theta.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_normal.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_odds_rs.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_ml_odds.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_pred.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stpm2_postestimation.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/b/build_stpm2_mlib.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lstpm2.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/s/stpm2_matacode.mata Mata code file (text/plain)
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457128
Ordering information: This software item can be ordered from
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 ().