Data from a randomised trial of two treatment regimens for
lung cancer. This is a standard survival analysis data set from the
classic textbook by Kalbfleisch and Prentice.
X: A design matrix with 137 observations (rows) and 9
predictor variables (columns). The columns are:
diagtime: Time from diagnosis to randomization (months)
age: Age (years)
prior: Prior therapy (0=no, 1=yes)
squamous: Indicator for whether the cancer type is squamous
cell carcinoma (0=no, 1=yes)
small: Indicator for whether the cancer type is small cell
lung cancer (0=no, 1=yes)
adeno: Indicator for whether the cancer type is
adenocarcinoma (0=no, 1=yes)
large: Indicator for whether the cancer type is large cell
carcinoma (0=no, 1=yes)
y: A two column matrix (Surv object) containing the
follow-up time (in days) and an indicator variable for whether the
patient died while on the study or not.
Usage
data(Lung)
Format
A list containing the design matrix X and response matrix
y