A randomized trial of two treatment regimens for lung cancer, in 137 patients.
Format
A data frame with 137 rows and 8 columns:
- trt
Treatment: 1 is standard, 2 is test.
- celltype
Cell type, a factor with levels
squamous,smallcell,adeno, andlarge.- time
Survival time in days.
- status
Censoring status: 0 is censored, 1 is dead.
- karno
Karnofsky performance score (100 is good).
- diagtime
Months from diagnosis to randomization.
- age
Age in years.
- prior
Prior therapy: 0 is no, 10 is yes.
Source
Kalbfleisch JD and Prentice RL (1980). The Statistical Analysis of Failure Time Data. Wiley, New York.
Examples
cox_ph(Surv(time, status) ~ trt + celltype + karno, data = veteran)
#> <cox_ph> Surv(time, status) ~ trt + celltype + karno
#> Efron ties. n = 137, events = 128
#>
#> estimate hazard_ratio std_error statistic p_value
#> trt 0.26174 1.2992 0.200923 1.303 1.927e-01
#> celltypesmallcell 0.82498 2.2818 0.268911 3.068 2.156e-03
#> celltypeadeno 1.15399 3.1708 0.295038 3.911 9.178e-05
#> celltypelarge 0.39463 1.4838 0.282243 1.398 1.621e-01
#> karno -0.03127 0.9692 0.005165 -6.054 1.410e-09
#>
#> Likelihood ratio test: 61.1 on 5 df, p = 7.31e-12
#> Wald test: 63.4 on 5 df, p = 2.4e-12
#> Score test: 66.5 on 5 df, p = 5.35e-13
#> Concordance: 0.737 (std. error 0.0216)