I wonder if there is a simple way of doing this? My data is very simple, a right censored outcome (T,delta) and the predictor is simply Z*t, i.e., the cox model is like h(t)=h0(t)exp(beta*Z*t) can this be done with coxph?
how to fit Cox model with time dependent covariates?
2 messages · gallon li, David Winsemius
On Oct 16, 2012, at 10:24 AM, gallon li wrote:
I wonder if there is a simple way of doing this? My data is very simple, a right censored outcome (T,delta) and the predictor is simply Z*t, i.e., the cox model is like h(t)=h0(t)exp(beta*Z*t)
That looks more like an accelerated time model than a Cox model. Is this homework for a course? Why is the form of the model specified if you haven't done any investigation?
David Winsemius, MD Alameda, CA, USA