Skip to content
Prev 308109 / 398503 Next

how to fit Cox model with time dependent covariates?

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?