Skip to content
Back to formatted view

Raw Message

Message-ID: <4ED7B2A9.1090607@nki.nl>
Date: 2011-12-01T17:00:25Z
From: Andreas Schlicker
Subject: What's the baseline model when using coxph with factor variables?

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 the baseline model? Is that considering the whole population or 
the case when both var1 and var2 = 0?

Kind regards,
andi