Re: [R] What's the baseline model when using coxph with factor variables?

2011-12-02 Thread Andreas Schlicker
the baseline model when using coxph with factor variables? On Dec 1, 2011, at 12:00 PM, Andreas Schlicker wrote: Hi all, I'm trying to fit a Cox regression model with two factor variables but have some problems with the interpretation of the results. Considering the following model, where var1

[R] What's the baseline model when using coxph with factor variables?

2011-12-01 Thread Andreas Schlicker
Hi all, I'm trying to fit a Cox regression model with two factor variables but have some problems with the interpretation of the results. Considering the following model, where var1 and var2 can assume value 0 and 1: coxph(Surv(time, cens) ~ factor(var1) * factor(var2), data=temp) What is

Re: [R] What's the baseline model when using coxph with factor variables?

2011-12-01 Thread David Winsemius
On Dec 1, 2011, at 12:00 PM, Andreas Schlicker wrote: Hi all, I'm trying to fit a Cox regression model with two factor variables but have some problems with the interpretation of the results. Considering the following model, where var1 and var2 can assume value 0 and 1:

Re: [R] What's the baseline model when using coxph with factor variables?

2011-12-01 Thread William Dunlap
-help-boun...@r-project.org] On Behalf Of David Winsemius Sent: Thursday, December 01, 2011 9:36 AM To: a.schlic...@nki.nl Cc: r-help@r-project.org Subject: Re: [R] What's the baseline model when using coxph with factor variables? On Dec 1, 2011, at 12:00 PM, Andreas Schlicker wrote

Re: [R] What's the baseline model when using coxph with factor variables?

2011-12-01 Thread David Winsemius
-project.org ] On Behalf Of David Winsemius Sent: Thursday, December 01, 2011 9:36 AM To: a.schlic...@nki.nl Cc: r-help@r-project.org Subject: Re: [R] What's the baseline model when using coxph with factor variables? On Dec 1, 2011, at 12:00 PM, Andreas Schlicker wrote: Hi all, I'm trying to fit