Re: [R] Two ways to deal with age in Cox model

2007-02-05 Thread Thomas Lumley
On Mon, 5 Feb 2007, John Sorkin wrote: > When running a cox proportional hazards model ,there are two ways to > deal with age, > including age as a covariate, or to include age as part of the > follow-up time, viz, > I would appreciate any thoughts about the differences in the > interpretation of

Re: [R] Two ways to deal with age in Cox model

2007-02-05 Thread Peter Dalgaard
John Sorkin wrote: > Peter, > Many thanks for your prompt reply. > > I think you may have been too quick to dismiss model2; there is no need for > time to be negative. The time parameter is Surv represents survival, i.e. > follow-up time. We usually start the follow-up clock at the time a subject

Re: [R] Two ways to deal with age in Cox model

2007-02-05 Thread John Sorkin
Peter, Many thanks for your prompt reply. I think you may have been too quick to dismiss model2; there is no need for time to be negative. The time parameter is Surv represents survival, i.e. follow-up time. We usually start the follow-up clock at the time a subject is enrolled into a study, bu

Re: [R] Two ways to deal with age in Cox model

2007-02-05 Thread Peter Dalgaard
John Sorkin wrote: > I hope one and all will allow a stats question: > > When running a cox proportional hazards model ,there are two ways to > deal with age, > including age as a covariate, or to include age as part of the > follow-up time, viz, > > Age as a covariate: > > tetest1 <- list(time=

[R] Two ways to deal with age in Cox model

2007-02-05 Thread John Sorkin
I hope one and all will allow a stats question: When running a cox proportional hazards model ,there are two ways to deal with age, including age as a covariate, or to include age as part of the follow-up time, viz, Age as a covariate: tetest1 <- list(time= c(4, 3,1,1,2,2,3),