The best place to start is
> help(survdiff)
That's right -- read the documentation!
This tells you what is contained in the output to survdiff, namely objects
n, obs, exp, chisq, and var, including descriptions of each.
The number of degrees of freedom for the chisquare test is (#groups -1
On Wed, 2007-05-16 at 11:54 +1000, Murray Pung wrote:
> How can I get the Log - Rank p value to be output?
>
> The chi square value can be output, so I was thinking if I can also have the
> degrees of freedom output I could generate the p value, but can't see how to
> find df either.
>
> > (survt
How can I get the Log - Rank p value to be output?
The chi square value can be output, so I was thinking if I can also have the
degrees of freedom output I could generate the p value, but can't see how to
find df either.
> (survtest <- survdiff(Surv(time, cens) ~ group, data = surv,rho=0))
Call: