Re: [R] Competing risks Kalbfleisch & Prentice method

2009-06-12 Thread Ravi Varadhan
Dear Terry, Eleni & Heinz, Please forgive me for imposing on your time, but since we have had similar discussions before on this topic, I thought that it would be nice to get your feedback on this problem. I have written a function to compute the cumulative incidence, for a given covariate vect

Re: [R] Competing risks Kalbfleisch & Prentice method

2009-03-27 Thread Ravi Varadhan
Hi Terry, My "this" was your (a), i.e. the smoothed hazard rate function. I apologize if I came across as being rude. I was only curious to see if you had any scientific/statistical rationale for not including the smoothed hazard option in your "survival" package, which is, by far, the most w

Re: [R] Competing risks Kalbfleisch & Prentice method

2009-03-27 Thread Eleni Rapsomaniki
Dear Prof. Therneau, Thank you for your views on this subject. I think all R users who play with survival analysis are most grateful for the functions you have already supplied us with. I'm guessing Ravi is wondering why you have not implemented the smoothing of the baseline hazard from the Cox

Re: [R] Competing risks Kalbfleisch & Prentice method

2009-03-27 Thread Terry Therneau
Ravi's last note finished with > I am wondering why Terry Therneau's "survival" package doesn't > have this option. The short answer is that there are only so many hours in a day. I've recently moved the code base from an internal Mayo repository to R-forge, one long term goal with th

Re: [R] Competing risks Kalbfleisch & Prentice method

2009-03-26 Thread Eleni Rapsomaniki
mailto:rvarad...@jhmi.edu] Sent: 26 March 2009 14:36 To: Eleni Rapsomaniki; 'Arthur Allignol' Cc: r-help@r-project.org Subject: RE: [R] Competing risks Kalbfleisch & Prentice method Hi Eleni, I would like to take a look at your R function for obtaining the cumulative incidence function (

Re: [R] Competing risks Kalbfleisch & Prentice method

2009-03-26 Thread Ravi Varadhan
eni Rapsomaniki Cc: r-help@r-project.org Subject: Re: [R] Competing risks Kalbfleisch & Prentice method I don't think there is a package to do that. But you could have a look at ?predict.crr. Best regards, Arthur Allignol Eleni Rapsomaniki wrote: > > > Dear R users > &g

Re: [R] Competing risks Kalbfleisch & Prentice method

2009-03-26 Thread Eleni Rapsomaniki
p@r-project.org Subject: Re: [R] Competing risks Kalbfleisch & Prentice method I don't think there is a package to do that. But you could have a look at ?predict.crr. Best regards, Arthur Allignol Eleni Rapsomaniki wrote: > > > Dear R users > > > > I would li

Re: [R] Competing risks Kalbfleisch & Prentice method

2009-03-26 Thread Arthur Allignol
I don't think there is a package to do that. But you could have a look at ?predict.crr. Best regards, Arthur Allignol Eleni Rapsomaniki wrote: Dear R users I would like to calculate the Cumulative incidence for an event adjusting for competing risks and adjusting for covariates. One wa

[R] Competing risks Kalbfleisch & Prentice method

2009-03-25 Thread Eleni Rapsomaniki
Dear R users I would like to calculate the Cumulative incidence for an event adjusting for competing risks and adjusting for covariates. One way to do this in R is to use the cmprsk package, function crr. This uses the Fine & Gray regression model. However, a simpler and more classical appro