[R] Difference in Kaplan-Meier estimates plus CI

Patrick Connolly p_connolly at slingshot.co.nz
Wed Mar 7 20:09:15 CET 2012


Did you try the survival package?



On Wed, 07-Mar-2012 at 10:50AM -0500, Jason Connor wrote:

|> I thought this would be trivial, but I can't find a package or function
|> that does this.
|> 
|> I'm hoping someone can guide me to one.
|> 
|> Imagine a simple case with two survival curves (e.g. treatment & control).
|> 
|> I just want to calculate the difference in KM estimates at a specific time
|> point (e.g. 1 year) plus the estimate's 95% CI.  The former is
|> straightforward, but the estimates not so much.
|> 
|> I know methods exist such as Parzen, Wei, and Ying, but was surprised not
|> to find a package that included this.
|> 
|> Before I code it up, I thought I'd ask if I was just missing it somewhere.
|> 
|> Thank you
|> Jason
|> 
|> 	[[alternative HTML version deleted]]
|> 
|> ______________________________________________
|> R-help at 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.

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list