Stata Capabilities - Survival Analysis

Cox proportional hazards
  • Exponential
  • Weibull
  • Gompertz
  • Lognormal
  • Log-logistic
  • Generalized log-gamma
  • Martingale-like, score, Cox–Snell, Schoenfeld, and deviance residuals
  • Plots of predicted survival, hazard, and cumulative hazard functions
  • Individual-level frailty
  • Group-level or shared frailty
  • Stratified models
  • Linear constraints

Parametric survival models

  • exponential
  • Weibull
  • Gompertz
  • lognormal
  • log-logistic
  • generalized log-gamma
  • martingale-like, score, Cox–Snell, Schoenfeld, and deviance residuals
  • plots of predicted survival, hazard, and cumulative hazard functions
  • individual-level frailty
  • group-level or shared frailty
  • stratified models
  • linear constraints

Features of survival models

  • Single- or multiple-failure data
  • Left truncation
  • Right-censoring
  • Time-varying regressors
  • Gaps
  • Recurring events
  • Start–stop format
  • Different types of failure events
  • Multiple time scales allowed
  • Conventional or robust estimates of variance


Kaplan–Meier and Nelson–Aalen
  • Graph estimates and confidence intervals
  • List estimates and confidence intervals
  • Test (log-rank, Mantel–Haenszel, Wilcoxon–Breslow, Tarone–Ware, Fleming–Harrington, Peto–Peto–Prentice)
  • Test for trend
  • Calculate level and confidence interval of survivor function
  • Report mean survival time and confidence interval
  • Cox regression-adjusted estimates

Summary tables

  • Time at risk, incidence rate, number of subjects, 25th, 50th, and 75th percentiles of survival time
  • Incidence rate ratio and difference
  • Life tables
  • Rates and SMRs by one or more categorical variables
  • Stratified rate ratios

Utilities

  • Create nested case–control datasets
  • Split and join time records
  • Convert snapshot data into time-span data
  • Calculate person-time (person-years), incidence rates, and standardized mortality/morbidity ratios (SMR)

Predictions

  • Mean or median time to failure
  • Mean or median log time
  • Hazard
  • Hazard ratios
  • Survival probabilities

Marginal effects

  • Marginal effects and elasticities
  • Standard errors and confidence intervals
  • At means or specified covariate values
  • For any predicted statistic

Back to Stata homepage
Back to Timberlake Consultants

©Timberlake Consultants Limited
Last revised:18/06/2007