Data for Exercises 7.34 and 7.48
A data frame/tibble with 121 observations on three variables
survival time (in days) of patients with small cell lung cancer
a factor with levels
armB indicating the
treatment a patient received
the age of the patient
Ying, Z., Jung, S., Wei, L. 1995. “Survival Analysis with Median Regression Models.” Journal of the American Statistical Association, 90, 178-184.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(survival ~ treatment, data = Censored, col = "yellow") wilcox.test(survival ~ treatment, data = Censored, alternative = "greater") #> #> Wilcoxon rank sum test with continuity correction #> #> data: survival by treatment #> W = 2459.5, p-value = 0.0005437 #> alternative hypothesis: true location shift is greater than 0 #>