Displaying 1 result from an estimated 1 matches for "diff4".
Did you mean:
diff
2011 Jul 21
0
Survdiff for multiple comparisons
...doing a survival analysis for two species of invasive plants I
outplanted to edges and interiors of island and mainland sites in a local
reservoir. I am using the KM estimate and had no problem doing survdiff for
my data using the following code:
S4<-Surv(outplant$SurvTime, outplant$StatusD6)
diff4=survdiff(S4 ~ outplant$Species+outplant$SiteType+outplant$EdgInt)
diff4
Species = ALBIJU or LONIJA
SiteType = Island or Mainland
EdgInt = Edge or Interior
The overall test for difference among the 8 curves is highly significant
(p<0.001), but what I would like to know is how I would go about t...