Published: May 15, 2015
favorite1 forum0 poll263
By: Kenneth Chin, California State University-Long Beach
Using dataset “Melanoma” in library(MASS) in R. It shows 205 patients in Denmark with malignant melanoma. The variables are survival time in days(time); status(1=died melanoma, 2=alive, 3=died other causes); sex(0=female,1=male);age(in years);years of operation; thickness(tumor thickness in mm);ulcer(0=absent,1=present). Create a KM curve for all death causes(1 or 3) for the patients with ulcers vs. no ulcers. Test if there is a difference in time to mortality between the two groups. What are your conclusion?