Re: [R] how to calculate predicted probability of Cox model

2012-03-30 Thread JiangGZ
Thanks for your reply. I'm trying to use "predictProb.coxph()" function in "peperr" package to calculate the predicted probability. Here the particular time, do you mean the total follow-up time for each subject? Because the predict.coxph() function didn't provide a time parameter to inp

Re: [R] how to calculate predicted probability of Cox model

2012-03-30 Thread Terry Therneau
-- begin included message --- Because Cox proportional hazards model didn't give the baseline hazard function, how to calculate the predictive probability for each test sample at a special time point,such as 5-year or 10-year ? In survival package, predict.coxph() function gives three different

[R] how to calculate predicted probability of Cox model

2012-03-29 Thread JiangGZ
Dear List, Because Cox proportional hazards model didn't give the baseline hazard function, how to calculate the predictive probability for each test sample at a special time point,such as 5-year or 10-year ? In survival package, predict.coxph() function gives three different type of predict