Hi all.

If I run the simple regression when x is a categorical variable ( x <-
factor(x) ):

> MyFit <-coxph( Surv(start, stop, event) ~ x )

How can I get the overall p-value on x other than for each dummy
variable?

> anova(MyFit)

does NOT provide that information as previously suggested on the list.

All the best,
Kare

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to