Re: [R] log rank test p value

From: Terry Therneau <therneau_at_mayo.edu>
Date: Wed, 16 May 2007 08:09:36 -0500 (CDT)


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); both the obs and exp objects have one element per group.

        Terry Therneau



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 16 May 2007 - 13:27:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 May 2007 - 13:31:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.