| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | S+ function survmean |
| From: | "Data Analytics Corp." <dataanalytics@earthlink.net> |
| Date: | Sun, 18 Nov 2007 17:23:52 -0500 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=W8JnF27pkelr3JKcGwlvU/alAFJNGV3Q4w47SI0IvhgCwpXUuIpL4l5+4eU3YcpR; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; |
| User-agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
Hi,
I ran a simple survival analysis in S+8.0 using
p <- survfit(Surv(tenure, expired), data = x)
and returned the object p. When I look at p, I see
Call: survfit(formula = Surv(tenure, expired), data = x)
n.obs n.max n.first events mean se(mean) median 0.95LCL 0.95UCL
23163 23163 23163 3497 44.2 0.45 NA NA NA
First, I'm puzzled by the NAs. But my first question is what is the
median that this returns? Is it the median length of time till death?
When I use survmean(p), I get these numbers, but survmean is
undocumented as far as I can tell. Any ideas?
Thanks, Walt Paczkowski |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Adding to a data frame, Kim Elmore |
|---|---|
| Next by Date: | Re: S+ function survmean, Terry Therneau |
| Previous by Thread: | Insightful Training Update, Kellie Wills |
| Next by Thread: | Re: S+ function survmean, Terry Therneau |
| Indexes: | [Date] [Thread] [Top] [All Lists] |