Displaying 1 result from an estimated 1 matches for "timeoint".
Did you mean:
timepoint
2006 Oct 29
0
Calculating the probability of an event a timeoint "t" from a Cox model fit
I would like to determine the probability of an event at a specific
timepoint given the linear predictor of a given Cox model. For
instance, assume that I fit the following model:
data(pbc)
fit <- coxph(Surv(time, status)~ age, data=pbc)
To extract the value of the linear predictor for each patient in the
dataset:
prd <- predict(fit, newdata=pbc, type="lp")