Semi-parametric (or Cox) Regression Models for Time-to-Event Data

This is what sometimes is termed a stub; in other words, it provides only some very basic information needed for estimating elementary models.

Basic elements of the Cox model

Estimation of a Cox model requires the data to be stset. Then,

stcox status gender

will estimate a Cox model with "status", "gender" and "group" (treated as a factor variable) as covariates.


nohr can be used to obtain regression coefficients instead of hazard ratios.
estat ic will display the AIC and BIC

© W. Ludwig-Mayerhofer, Stata Guide | Last update: 25 Jun 2013