Hello,

I wonder when I do coxph in R:

coxph( Surv(start, stop, event) ~ x, data=test)

If x is a categorical varible (1,2,3,4,5), should I creat four dummy
varibles for it? if yes, how can I get the overall p value on x other
than for each dummy variable?

Thanks

Lisa Wang

Princess Margaret Hospital
Phone 416 946 4501

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to