The lung
data frame has 715 rows and 13 columns.
data(lung)
A balanced data set with respect to the times at which observations recorded. The data consists of the following variables on each patient:
ID
patient identifier.
FVC
forced vital capacity (%) determined at 3-month intervals from the baseline.
time_RE
time at visit at 3-month intervals.
intercept
column of 1's for model setup.
time
time at visit at 3-month intervals. Same as time_RE
.
FVC0
forced vital capacity (%) at baseline.
FIB0
baseline lung fibrosis.
CYC
treatment allocation. Coded as 1
= oral cyclophosphamide; 0
= placebo.
FVC0.CYC
interaction term between FVC0
and CYC
.
FIB0.CYC
interaction term between FIB0
and CYC
.
time.CYC
interaction term between time
and CYC
.
time.CYC
interaction term between time
and CYC
.
surv
time to treatment failure or death.
failure_type
treatment failure/death indicator. Coded as 0
= censored; 1
= death;
2
= treatment failure.
Elashoff, Robert M., Gang Li, and Ning Li. "A joint model for longitudinal measurements and survival data in the presence of multiple failure types." Biometrics 64.3 (2008): 762-771.