Re: [R] [FORGED] p-value=0 running log-rank test

2017-05-19 Thread William Dunlap via R-help
This is a minor problem with the print method for "survdiff" objects. It acts like it computes the p-value with 1 - pchisq( chisq, df) instead of pchisq( chisq, df, lower.tail = FALSE) The former will give zero when the latter gives a number less than about 10^-16. Most people would

Re: [R] [FORGED] p-value=0 running log-rank test

2017-05-18 Thread Rolf Turner
This is not an R question. Your question indicates that you really need to learn some statistics. To answer the very last part: > pchisq(430,3,lower=FALSE) [1] 7.020486e-93 And if that is not 0 to all intents and purposes, then God help us all. cheers, Rolf Turner On 19/05/17 12:48, Anne