Re: [R] Difference in Kaplan-Meier estimates plus CI

2012-04-05 Thread array chip
= 0.0438 and SD_2 = 0.0285, and then the 95% CI for the difference? Thanks John From: Thomas Lumley To: Jason Connor Cc: r-help@r-project.org Sent: Wednesday, March 7, 2012 10:58 AM Subject: Re: [R] Difference in Kaplan-Meier estimates plus CI On Thu, Mar 8

Re: [R] Difference in Kaplan-Meier estimates plus CI

2012-03-08 Thread Thomas Lumley
On Fri, Mar 9, 2012 at 3:08 AM, Terry Therneau wrote: > A note on standard errors:  S(t) +- std is a terrible confidence > interval.  You will be much more accurate if you use log scale.  (Some > argue for logit or log-log, in truth they work well.)   If n is large > enough, however, you should b

Re: [R] Difference in Kaplan-Meier estimates plus CI

2012-03-08 Thread Terry Therneau
--begin included message -- 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 spec

Re: [R] Difference in Kaplan-Meier estimates plus CI

2012-03-07 Thread Patrick Connolly
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. tr

Re: [R] Difference in Kaplan-Meier estimates plus CI

2012-03-07 Thread Thomas Lumley
On Thu, Mar 8, 2012 at 4:50 AM, 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 th

[R] Difference in Kaplan-Meier estimates plus CI

2012-03-07 Thread Jason Connor
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