s-news
[Top] [All Lists]

p-value of survdiff

To: s-news@lists.biostat.wustl.edu
Subject: p-value of survdiff
From: carol white <wht_crl@yahoo.com>
Date: Fri, 9 Mar 2007 14:07:41 -0800 (PST)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=SlshMm0BaQUDrWucgpgHSjOqEdb2+ddxZCCRdy+7MIge4XKtQIU3+URbQXhEBFvqBKR+AV+omzr7Pi1DFxhksETqvVQSMZz1ong7VphUmoaojo75u+iHxyuj9DRh6UeePD0UO34jX6CXF1SEqc0YneiBBIuQ5N7gsoIPgktgQv8=;
Dear All,
It seems that p-value generated by survdiff is too low for my plot. for such KM curves that cross each other (see attached), I didn't expect to get p-val = 0.03 (see result of survdiff below). Could you see where the discrepancy comes from?

thanks
----------------------------------------------------------------------------------------------------------
>  metInd = which (ds[,3] == 0)
> print (survdiff(Surv (dsSurv[metInd], ds[metInd,4])~ifelse(pred.ds[metInd] < 0, 0, 1)))
Call:
survdiff(formula = Surv(dsSurv[metInd], ds[metInd, 4]) ~
    ifelse(pred.ds[metInd] < 0, 0, 1))

                                          N Observed Expected (O-E)^2/E
ifelse(pred.ds[metInd] < 0, 0, 1)=0 125        1     3.22      1.53
ifelse(pred.ds[metInd] < 0, 0, 1)=1  69        4     1.78      2.78
                                        (O-E)^2/V
ifelse(pred.ds[metInd] < 0, 0, 1)=0      4.31
ifelse(pred.ds[metInd] < 0, 0, 1)=1      4.31

 Chisq= 4.3  on 1 degrees of freedom, p= 0.0379
> plot (survfit(Surv (dsSurv[metInd], ds[metInd,4])~ifelse(pred.ds[metInd] < 0, 0, 1)))


Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.

JPEG image

<Prev in Thread] Current Thread [Next in Thread>