[R] how to fit Cox model with time dependent covariates?

2012-10-16 Thread gallon li
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? __ R-help@r-project.org

Re: [R] how to fit Cox model with time dependent covariates?

2012-10-16 Thread 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