Re: [R] Overall p-value from a factor in a coxph fit

2008-04-23 Thread David Winsemius
Kåre Edvardsen <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Prof. Paul, Prof. Frank. > > Thank you very much for helping me out. The Design package did the > trick. > > Here is how the anova table looks like without using the Design > package: > >> anova(Fit1) > Analysis of Devianc

Re: [R] Overall p-value from a factor in a coxph fit

2008-04-21 Thread Kåre Edvardsen
Prof. Paul, Prof. Frank. Thank you very much for helping me out. The Design package did the trick. Here is how the anova table looks like without using the Design package: > anova(Fit1) Analysis of Deviance Table Cox model: response is Surv(Time, cancer) Terms added sequentially (first to last)

Re: [R] Overall p-value from a factor in a coxph fit

2008-04-18 Thread Frank E Harrell Jr
Paul Johnson wrote: > On Fri, Apr 18, 2008 at 3:06 AM, Kåre Edvardsen <[EMAIL PROTECTED]> wrote: >> 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

Re: [R] Overall p-value from a factor in a coxph fit

2008-04-18 Thread Paul Johnson
On Fri, Apr 18, 2008 at 3:06 AM, Kåre Edvardsen <[EMAIL PROTECTED]> wrote: > 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