Data for Exercises 7.34 and 7.48

Censored

Format

A data frame/tibble with 121 observations on three variables

survival

survival time (in days) of patients with small cell lung cancer

treatment

a factor with levels armA and armB indicating the treatment a patient received

age

the age of the patient

Source

Ying, Z., Jung, S., Wei, L. 1995. “Survival Analysis with Median Regression Models.” Journal of the American Statistical Association, 90, 178-184.

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


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
#>