Thank you Alan again! Hope you could also share your thought on my another email about the coding of censoring before death..
Thanks again! John ----- Original Message ---- From: alanm (Alan Mitchell) <al...@crab.org> To: array chip <arrayprof...@yahoo.com>; David Winsemius <dwinsem...@comcast.net> Cc: r-help@r-project.org Sent: Tue, June 28, 2011 11:40:52 AM Subject: RE: [R] cumulative incidence plot vs survival plot >So in cuminc() function, the argument "fstatus" should be coded like: 0=censored, 1=event of interest, 2=event of competing risk. Then the function will calculate CI for each of the 2 types of events >(event of interest and event of competing risk), am I correct? Correct. >What about running regular Cox regression for recurrence? any problem there? for example, need to take into competing risk as well or regular Cox regression is still fine? This is a little trickier. I would strongly suggest reading up on this before doing any analyses. There are a couple of different ways to do this, but the crr function in cmprsk will perform a competing risks regression. Alan Mitchell, MSc Ph: (206) 839-1708 al...@crab.org ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.